Verify OTP
Last updated
Last updated
POST
https://api.oneroute.io/api/oneotp/verify
Use this endpoint to verify that the customer entered the same OTP that was sent with the Send OTP endpoint.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
When you include USSD as one of your preferred OneOTP channels, your customers can verify their OTP by dialing your USSD code which you can find on your Account Settings Page.
Once verification is complete, a notification will be sent to the webhook url
configured on your Account Settings Page to notify you that the OTP has been verified successfully.
apikey
string
API key, for Authentication.
key
string
Verification Key, from the Send OTP request.
otp
string
OTP to verify
identifier
string
email or phone number the OTP was sent to