RESELLER.ACCOUNT.TRANSACTION.ADD - API REQUEST
|
|
|
RESELLER.ACCOUNT.TRANSACTION.ADD - add transaction to a customer.
|
|
Description
|
|
RESELLER.ACCOUNT.TRANSACTION.ADD API Action is used to add transaction (credit or debit) for a given account.
|
|
Arguments
|
|
ACCOUNT_NUMBER
Required. Account number for your customer.
|
|
AMOUNT
Required. Transaction Amount to be added. Amount can be positive or negative. When amount is negative then the amount will be deducted from the customer's account balance.
|
|
NOTES
Optional. Transaction Notes for the customer to see.
|
|
|
Example:
<PARAMETER NAME="ACCOUNT_NUMBER">1234567890</PARAMETER>
<PARAMETER NAME="SIGNATURE">8046f1ffee1a63ca98bf14d4280c73a2bbd30625</PARAMETER>
<PARAMETER NAME="AMOUNT">5</PARAMETER>
<PARAMETER NAME="NOTES">Bonus</PARAMETER>
|
|
Example:
param[ACCOUNT_NUMBER]=1234567890¶m[SIGNATURE]=8046f1ffee1a63ca98bf14d4280c73a2bbd30625¶m[AMOUNT]=5¶m[NOTES]=Bonus
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response
|
|
RESULT XML node will contain SUCCESS if action is successful.
|
|
API Request Example
|
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>df141891e2e883904b0b294dc5bq79c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="RESELLER.ACCOUNT.TRANSACTION.ADD">
<PARAMETER NAME="ACCOUNT_NUMBER">1234567890</PARAMETER>
<PARAMETER NAME="SIGNATURE">8046f1ffee1a63ca98bf14d4280c73a2bbd30625</PARAMETER>
<PARAMETER NAME="AMOUNT">5</PARAMETER>
<PARAMETER NAME="NOTES">Bonus</PARAMETER>
</ACTION>
</REQUEST>
|
|
https://www.anveo.com/api/v2.asp?userkey=YOURAPIKEY&action=RESELLER.ACCOUNT.TRANSACTION.ADD¶m[ACCOUNT_NUMBER]=1234567890¶m[SIGNATURE]=8046f1ffee1a63ca98bf14d4280c73a2bbd30625¶m[AMOUNT]=5¶m[NOTES]=Bonus
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>SUCCESS</RESULT>
</RESPONSE>
|
|
|