Verify OTP
This API verify user that sent OTP. Time out is 3 minutes, trying limit is 3.
API Information
URL |
/verifyOTP |
Method |
POST |
Version |
1.0 |
Scope |
oob |
Authorization Flow |
Client Credentials |
Input Information
| Name | Format | Description | Required/Optional |
OTPCode |
String | One time password | Required |
OTPTransactionId |
Integer | OTP transaction id | Required |
Output Information
Result
| Name | Format | Description |
Success |
Boolean | true: User verified |
Message Codes
| Message Code | Description |
ACBH000047 |
OTP code cannot be empty. |
ACBH000124 |
OTP trasaction referance id had been used before. |
ACBH000127 |
OTP transaction referance id is not found. |
ACBH000301 |
OTP is incorrect. |
ACBH000302 |
The OTP code has expired. |
ACBH000303 |
The number of attempts of the OTP code has been exceeded. |
Example
Request:
{
"OTPCode": "MK7F3V",
"OTPTransactionId": 268888
}
Response:
{
"Header": {
"StatusCode": "APIGW000000",
"StatusDescription": "Tamamlandı",
"StatusDescriptionEn": "Completed",
"ObjectID": "182f5965-53f4-41f2-b8bc-846feea53492"
},
"Data": {
"Result": {
"Success": true
}
}
}