Use the below endpoint to Validate OTP.

Request Parameters:

Attribute

Type

Details

otp_token*

string

vaild Token to be set for the customer.

otp*

string

vaild otp to be set for the url.

Request Query Param:

otp_token=xxxx&otp=xxx

Response Payload:

true
{
  "error_code": "16260",
  "error_message": "INVALID_OTP_TOKEN"
}

{
  "error_code": "16080",
  "error_message": "OTP_EXPIRED"
}

{
  "error_code": "16090",
  "error_message": "MAX_OTP_ATTEMPTED_REACHED"
}
{
  "error_code": "16010",
  "error_message": "Oops, something went wrong!"
}
Language
Click Try It! to start a request and see the response here!