Loading...

Knowledge Base

Create a Sub-Reseller Account Using the API

When you want to create a sub-reseller account using the API. This article explains required account details, activation options, supported parameters, consent requirements, and response details for reseller account creation.

Signing Up

Description

Creates a Sub-Reseller Account using the details provided.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
usernameStringRequiredUsername for the Sub-Reseller account. Username should be an email address.
passwdStringRequired

Password for the Sub-Reseller account.

 
nameStringRequiredName of the Sub-Reseller
companyStringRequiredCompany Name of the Sub-Reseller
address-line-1StringRequiredAddress line 1 of the Sub-Reseller's address
cityStringRequiredCity
stateStringRequiredState
countryStringRequiredCountry Code as per ISO 3166-1 alpha-2
zipcodeStringRequiredZIP code
phone-ccStringRequiredPhone number Country Code
phoneStringRequiredPhone number
lang-prefStringRequiredLanguage Code as per ISO
accounting-currency-symbolStringRequiredAccounting Currency Symbol of Sub-Reseller
selling-currency-symbolStringRequiredSelling Currency Symbol of Sub-Reseller
sales-contact-idIntegerOptionalSales User Id of Parent Sub-Reseller
address-line-2StringOptionalAddress line 2 of the Sub-Reseller's address
address-line-3StringOptionalAddress line 3 of the Sub-Reseller's address
alt-phone-ccStringOptionalAlternate phone country code
alt-phoneStringOptionalAlternate phone number
fax-ccStringOptionalFax number country code
faxStringOptionalFax number
mobile-ccStringOptionalMobile number Country Code
mobileStringOptionalMobile number
sms-consentBooleanOptionalIncase of a US based sub-reseller, consent is required to receive SMSes for low fund or loss alerts
vat-idStringOptionalVAT ID for EU VAT
auto-activateBooleanOptionalPass true if the reseller account should be activated immediately
accept-policyBooleanOptionalAccept Terms and Conditions and Privacy Policy to create an account
marketing-email-consentBooleanOptionalIn case of EEA (European Economic Area) countries capture consent to receive marketing emails

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/resellers/v2/signup.xml?auth-userid=0&api-key=key&username=email@email.com&passwd=password9&name=name &company=company&address-line-1=address-line-1&city=city&state=state&country=US&zipcode=0000&phone-cc=0&phone=000000&sales-contact-id=0&accounting-currency-symbol=USD&selling-currency-symbol=USD&lang-pref=en

Response

Creates a Sub-Reseller Account and returns below details of the newly added Sub-Reseller. The response data varies based on the Sub-Reseller Signup option set by you within your Reseller Account:

Sub-Reseller Signup OptionResponse Data
Manual Activation
  • Sub-Reseller Signup Option (activationstatus)

  • Sub-Reseller Account Creation Action Id (eaqid)

  • Sub-Reseller Account Creation Action Status (status)

  • Reseller ID (resellerid)

  • Minimum Total Receipts required for Activation (minreceiptrequired)

Activation on Total Receipts
  • Sub-Reseller Signup Option (activationstatus)

  • Sub-Reseller Account Creation Action Id (eaqid)

  • Sub-Reseller Account Creation Action Status (status)

  • Reseller ID (resellerid)

  • Minimum Total Receipts required for Activation (minreceiptrequired)

Direct Activation
  • Sub-Reseller Account Creation Action Status (status)

  • Reseller ID (resellerid)

Note

If auto-activate is passed as true, the reseller account will be activated immediately.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.

 
 

Loading...