Generate OTP
Loading...
When you want to generate a one-time password for a sub-reseller using the API. This article explains the required authentication parameters, reseller ID input, OTP generation request, and API response behavior.
Generates an OTP token for the Sub-Reseller.
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Your Live Account Reseller Id |
| api-key | String | Required | An alphanumeric code that can be used to authenticate your API calls |
| resellerid | Integer | Required | Reseller ID of the Sub-Reseller |
GET
https://test.httpapi.com/api/resellers/authenticate/generate-otp.json?auth-userid=0&api-key=key&resellerid=0
Returns true (Boolean), if the OTP token is generated.
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.