Includes API calls for securing monetrary transactions, implementing a 2FA mechanism using sms and/or token devices.
Base Gateway API Endpoint
Paths
/{TokenType}/generate
Generate {TokenType} second factor pin
Use /{TokenType}/generate to generate a temporary pin to be used as a second factor authentication in monetary and other information sensitive transactions.
Resource Owner Implicit Grant Type
This header should be in the form "Bearer Token", where Token is returned from the call to OAuth2
lisa.pavlidi@gr.ey.com
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Login Time-Out
Not Implemented
/{TokenType}/generate/force
Generate {TokenType} second factor pin
Use /{TokenType}/generate/force to generate again temporary pin to be used as a second factor authentication in monetary and other information sensitive transactions. This is usefull in case the first pin, never reached the client.
Resource Owner Implicit Grant Type
This header should be in the form "Bearer Token", where Token is returned from the call to OAuth2
lisa.pavlidi@gr.ey.com
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Login Time-Out
Not Implemented
/token/validate/{TokenValue}
validate received temporary pin
Use /token/validate/{TokenValue} to validate the received pin {TokenValue}, as part of second factor authentication procedure, letting the system understand its type.
Resource Owner Implicit Grant Type
This header should be in the form "Bearer Token", where Token is returned from the call to OAuth2
lisa.pavlidi@gr.ey.com
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Login Time-Out
Not Implemented
/{TokenType}/validate/{TokenValue}
Validate received temporary pin, of type {TokenType}
Use /{TokenType}/validate/{TokenValue} to validate the received pin {TokenValue}, as part of second factor authentication procedure, providing its type as {TokenType}
Resource Owner Implicit Grant Type
This header should be in the form "Bearer Token", where Token is returned from the call to OAuth2
lisa.pavlidi@gr.ey.com
Bad Request
Unauthorized
Forbidden
Not Found
Precondition Failed
Login Time-Out
Not Implemented
Definitions
{
"type": "object",
"properties": {
"Success": {
"type": "boolean"
},
"Recipient": {
"type": "string"
}
},
"example": " {\n \"Success\": true,\n \"Recipient\": \"sample string\"\n }"
}
{
"type": "object",
"properties": {
"Valid": {
"type": "boolean"
},
"tokenType": {
"type": "string"
}
},
"example": "{\n\t\"Valid\": true,\n\t\"tokenType\": \"extrapin\"\n}"
}
{
"type": "object",
"properties": {
"httpCode": {
"type": "string"
},
"httpMessage": {
"type": "string"
},
"errorCode": {
"type": "string"
},
"errorMessage": {
"type": "string"
}
},
"example": "{\n\t\"httpCode\": \"412\",\n\t\"httpMessage\": \"Precondition Failed\",\n\t\"errorCode\": \"API-987\",\n\t\"errorMessage\": \"sample error message\"\n}"
}

