This is the first step in enrolling the logged-in user's mobile device, where a one-time password is sent to the device.
Note that on the Sandbox Environment, text messages are not sent and the one-time-password is always "123456".
Success - No Content.
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Conflict
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "message": "string",
- "syntaxErrors": {
- "invalidFields": [
- {
- "params": [
- "string"
], - "fieldName": "string",
- "error": "REQUIRED"
}
]
}
}
The second step in enrolling the logged-in user (root or authorised user) to use one-time-passwords to enable verification of transactions.
Note that on the Sandbox Environment, text messages are not sent and the verificationCode
is always set to "123456".
Success - No Content.
Bad Request Error - Your request is invalid.
Unauthorized - Your credentials or access token are invalid.
Forbidden - Access to the requested resource or action is forbidden.
Not found - The requested resource couldn't be found.
Conflict
Too many requests.
Internal Server Error - There is a problem with the server. Please try again later.
Service Unavailable - We're temporarily offline for maintenance. Please try again later.
Error
{- "verificationCode": "string"
}
{- "message": "string",
- "syntaxErrors": {
- "invalidFields": [
- {
- "params": [
- "string"
], - "fieldName": "string",
- "error": "REQUIRED"
}
]
}
}