CreditToAccount.wr

04-24-2017

This method allows you to apply a credit to one of your reseller/subclient accounts. You must credit the reseller account from the context of their parent account ID. This means that you cannot credit an account that is not directly below you. Currency amounts are all in US dollars.

Parameters

  • Number : amount - (required) A numeric amount of money to credit to the receiving client's account. Must be greater than 0.01/one cent.
  • Number : clientid - (required) This is the ID of the client account that is receiving the credit.
  • String : notes - (optional) These are notes that will be visible that describes this transaction.
  • Number : sellerid - (required) This is the ID of the client account that is giving the credit.

Useage

Example Request

POST /creditToAccount.wr HTTP/1.1
Host: api.voicebroadcasting.com
Content-Type: application/x-www-form-urlencoded

sidtoken=000000000000000000000000000&sellerid=12345&clientid=67890&amount=3.14

Example Response

{"apirid":"","result":{"amount":3.14,"from":12345,"status":"ok","to":67890,"transid":"11045120"}}