Adding Funds in a Sub-Reseller Account

Adding Funds in a Sub-Reseller Account

Description

Adds funds in a Sub-Reseller's account.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key or auth-password String Required Authentication Parameter
reseller-id Integer Required Reseller Id of the Sub-Reseller in whose Debit Account these funds are to be added
amount Float Required Amount to be added
description String Required Description for the Transaction
transaction-type Array of Strings Required Type of Transactions. Possible values can be credit or debit.
transaction-key String Required A unique Transaction key
update-total-receipt Boolean Required Possible values are true or false. Pass true if this amount needs to be added to the Total Receipts figure of the Sub-Reseller.

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/billing/add-reseller-fund.json?auth-userid=0&api-key;=key&reseller-id;=0&amount;=0&description;=description-text&transaction-type;=credit&transaction-key;=transaction-key-text&update-total-receipt;=true

Response

Returns a Transaction Id (Integer) if funds are added successfully in the specified Sub-Reseller's Account.

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