post https://api-staging.pluralonline.com/api/v1/customer/send_otp?customer_token=jlscAygYMm37XH4nZ1PCk7
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!"
}