Loading...

Knowledge Base

Generate OTP for a Sub-Reseller Using the API

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.

Generate OTP

 

Description

Generates an OTP token for the Sub-Reseller.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredYour Live Account Reseller Id
api-keyStringRequiredAn alphanumeric code that can be used to authenticate your API calls
reselleridIntegerRequiredReseller ID of the Sub-Reseller

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/resellers/authenticate/generate-otp.json?auth-userid=0&api-key=key&resellerid=0

Response

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.