Use the below endpoint to send OTP.

Request Parameters:

Attribute

Type

Details

customer_token*

string

vaild Token to be set for the customer.

Request Query Param:

customer_token=ZFhzD5JEumvXURWWNCEJBQ==

Response Payload:

{
  "otp_token": "hB76D6sIDlZ8JIchzezQcA==",
  "otp_timer_in_seconds": 360
}
{
  "error_code": "16050",
  "error_message": "CUSTOMER_NOT_FOUND"
}
{
  "error_code": "16070",
  "error_message": "FAILURE_IN_SENDING_SMS"
}
{
  "error_code": "16010",
  "error_message": "Oops, something went wrong!"
}
Language
Click Try It! to start a request and see the response here!