Resend a User OTP [v1]
This API helps you resend the OTP to a user
Request Body required
This is the mobile number of the user.
The user_agent is a characteristic string that lets servers and network peers identify the application, operating system, vendor, and/or version of the requesting user agent.
A unique numerical identifier for every device or network that connects to the internet. Typically assigned by an internet service provider (ISP), an IP address is an online device address used for communicating across the internet
This is a unique device id generated by the client using a standard library such as fingerprint.js
- 200
- 4XX
- 5XX
When the OTP sending is successful, the response will be as below
Schema
Possible values: [true
]
This key will always be true
for a successful response
{
"success": true
}
When the OTP sending is not successful, the response will be as below
Schema
The HTTP error status
The message from the server explaining the error
error object
The HTTP error status
The message from the server explaining the error
This is the http status code
The transaction status
error object
The transaction status
The message from the server explaining the error
{}
When there is a problem on the server, the response will be as below
Schema
The HTTP error status
The message from the server explaining the error
{
"status": 500,
"error": "HTTP 500: Internal Server Error"
}