Lucky-Hosting.Com

Getting a Sub-Reseller's Available Balance

Description

Gets the Available Balance of the specified Sub-Reseller.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
reseller-id Integer Required Reseller Id of the Sub-Reseller whose Available Balance is to be fetched

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/billing/reseller-balance.json?auth-userid=0&api-key=key&reseller-id=0

Response

Returns a hash map of the Sub-Reseller's Available Balance containing the below details:

  • Selling Currency Symbol of the Parent Reseller (sellingcurrencysymbol)

  • Available Balance Amount in the Selling Currency (sellingcurrencybalance)

  • Locked Amount in the Selling Currency (sellingcurrencylockedbalance)

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