Validate OTP
Header Parameters
Bearer token
StoreId API key provided by Tuned Global to authenticate and authorize access to the service
Query Parameters
The mobile phone number to which the OTP was sent. Required if email is not provided.
The one-time password entered by the user for verification.
The email address to which the OTP was sent. Required if msisdn is not provided.
Response
OK
Response Attributes
Indicates the type of error encountered during the OTP validation process, if any.
A detailed message explaining the reason for the error, if the OTP validation fails.
Bad Request
Forbidden
Not Found
Server Error
Response
Status Codes
200
OK
Success - OTP validated successfully.
400
Bad request
The request was unacceptable, often due to missing a required parameter.
401
Unauthorized
The request was unacceptable, often due to missing a required parameter.
402
Request Failed
The parameters were valid but the request failed.
403
Forbidden
The API key doesnt have permissions to perform the request.
404
Not Found
The requested resource does not exist.
409
Conflict
OTP is validated successfully and user already exists.
Error Codes
400
otp validation failed
401
maximum attempts reached.
601
msisdn, email or otp not supplied.
603
msisdn not valid.
610
otp validation successful and user already exists