Number Verify success response
Key | Description | Format |
status | "success": indicates the correct recovery of information | STRING |
scope | Contains the scope previously sent | STRING |
numVerify | True if it is ok | STRING |
Example:
{
"status": "success",
"scope": "numVerify",
"numVerify": true
}
Number Verify pending response
Key | Description | Format |
status | "pending" : indicates that we are waiting for the operator | STRING |
scope | Contains formfilling and/or matching | STRING |
Example:
{
"status": "pending",
"scope": "numVerify",
}
Number Verify error response
Key | Description | Format |
status | "error": indicates that the request has failed | STRING |
error_type | Error label detailed in the following table | STRING |
error_id | Error code detailed in the following table | STRING(2) |
Error codes details (error_id) :
error_id | error_type | Description |
01 | invalid request | the request is not valid |
02 | invalid licence key | the license is not valid |
04 | invalid scope | Invalid scope |
18 | failed to retrieve data from operator | No data received after OTP validation |
20 | Not the same phone number between the phone in the request | OTP validation has not been completed |
21 | access denied | OTP validation declined |
30 | invalid or expired token | the token has expired |
99 | internal server error | Server error |
Example:
{
"status": "error",
"error_id": "20",
"error_type": "OTP process failed"
}
Related to