Description
Authenticates token generated by the Generate Token method & returns the Sub-Reseller details, if authenticated.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| token | String | Required | Authentication Token |
HTTP Method
GET
Example Test URL Request
https://test.httpapi.com/api/resellers/authenticate-token.json?auth-userid=0&api-key=key&token=generatedtoken
Response
Returns a hash map containing the below details if the token is authenticated:
-
-
Company (company)
-
Name (name)
-
Brand Name (brandname)
-
Reseller Id (resellerid)
-
Parent Id (parentid)
-
Sub-Reseller Status (resellerstatus)
-
Creation Date (creationdt)
-
Total Receipts (totalreceipts)
-
Address (address1)
-
City (city)
-
State (state)
-
Other State (other_state)
-
ZIP (zip)
-
Country (country)
-
Telephone Number Country Code (telnocc)
-
Telephone Number (telno)
-
Username (username)
-
Password (password)
-
Personal Identification Number (pin)
-
Language Preference (langpref)
-
Selling Currency Symbol (sellingcurrencysymbol)
-
Accounting Currency Symbol (accountingcurrencysymbol)
-
Sales Contact Id (salescontactid)
-
Billing Contact From Name (billingfromname)
-
Billing Contact Telephone Number Country Code (billingtelnocc)
-
Billing Contact Telephone Number (billingtelno)
-
Billing Contact Email Address (billingemailaddr)
-
Sales Contact From Name (salesfromname)
-
Sales Contact Telephone Number Country Code (salestelnocc)
-
Sales Contact Telephone Number (salestelno)
-
Sales Contact Email Address (salesemailaddr)
-
Sales Contact Signature (salessignature)
-
Technical Support Contact Telephone Number Country Code (technicalsupporttelnocc)
-
Technical Support Contact Telephone Number (technicalsupporttelno)
-
Technical Support Contact Email Address (technicalsupportmailaddr)
-
Abuse Desk Contact From Name (abusefromname)
-
Abuse Desk Contact Email Address (abuseemailaddr)
-
Abuse Desk Contact Signature (abusesignature)
-
Selling Currency Symbol of the Parent Reseller (parentsellingcurrencysymbol)
-
Funds Threshold Level (fundthreshold)
-
Minimum Total Receipts Required for Sub-Reseller Activation (minreceiptrequire)
-
Minimum Transaction Amount for making Payments Online (minimumbillingamount)
-
Minimum Transaction Amount for Adding Funds Online (minimumaddfundamount)
-
Offline Payment Details for Customers (directpaymentdetails_customer)
-
Offline Payment Details for Resellers (directpaymentdetails_reseller)
-
Whether Offline Payment Details Displayed to Customers (showdirectPayment_customer)
-
Whether Offline Payment Details Displayed to Resellers (showdirectpayment_reseller)
-
Conversion Rate (conversionrate)
-
Whether using System Conversion Rate (usesystemconversionrate)
-
Whether Generation of Risk Assessment Reports Enabled (sendriskreportmail)
-
Whether Sub-Reseller Signup is Restricted (isresellerrestricted)
-
Whether Automatic Signup for New Products Enabled (futureProductSignup)
-
Branding URL of the Parent Reseller (parentbrandingurl)
-
Partially Branded SuperSite 2 URL (partialsupersite2url)
-
Partially Branded PartnerSite URL (partialpartnersiteurl)
-
Partially Branded Control Panel URL (brandingurl)
-
Fully Branded SuperSite 2 URL (supersite2url)
-
Fully Branded SuperSite URL (supersiteurl)
-
Fully Branded PartnerSite URL (partnersiteurl)
-
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.
Get web hosting in INR 1000 yearly with cpanel, SSL and free business email accounts. Call Us or WhatsApp +91 9878357855