Verify OTP
Loading...
When you want to authenticate a Sub-Reseller OTP using the API. This article explains supported OTP verification types, required parameters, and response details for SMS and Google Authenticator-based authentication.
Authenticates the Sub-Reseller OTP token.
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| resellerid | Integer | Required | Reseller ID of the Sub-Reseller |
| otp | String | Required | OTP sent to the Sub-Reseller |
| type | String | Optional | The type of authentication
If no value is passed type=sms by default. |
GET
https://test.httpapi.com/api/resellers/authenticate/verify-otp.json?auth-userid=0&api-key=key&resellerid=0&otp=987654&type=gauth
Returns true (Boolean), if the OTP token is authenticated.
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.