ACCOUNT.MOVEFUNDS - API CALL
|
|
|
ACCOUNT.MOVEFUNDS - Move funds between accounts.
|
|
Description
|
|
ACCOUNT.MOVEFUNDS is used to move funds from one account to another.
|
|
Arguments
|
|
FROM.ACCOUNT.NUMBER
Required. Account number from which funds should be deducted.
TO.ACCOUNT.NUMBER
Required. Account number to be credited.
AMOUNT
Required. The amount to be moved.
MEMO
Optional. Text memo for the account transaction. This text will be visible to the destination account holder via 'Account Transactions' report.
|
|
|
Example:
<PARAMETER NAME="FROM.ACCOUNT.NUMBER">123456789</PARAMETER>
<PARAMETER NAME="TO.ACCOUNT.NUMBER">123456789</PARAMETER>
<PARAMETER NAME="AMOUNT">10.5</PARAMETER>
<PARAMETER NAME="MEMO">Payment Processed</PARAMETER>
|
|
Example:
param[FROM.ACCOUNT.NUMBER]=123456789
param[TO.ACCOUNT.NUMBER]=123456789
param[AMOUNT]=10.5
param[MEMO]=Some%notes
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response
|
|
SUCCESS when transaction was processed without any errors.
|
|
API Request Example
|
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>YOURUSERKEY1891e2e883904b0b894dc5b679c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="ACCOUNT.MOVEFUNDS">
<PARAMETER NAME="FROM.ACCOUNT.NUMBER">123456789</PARAMETER>
<PARAMETER NAME="TO.ACCOUNT.NUMBER">123456789</PARAMETER>
<PARAMETER NAME="AMOUNT">12</PARAMETER>
<PARAMETER NAME="MEMO">PAYMENT PROCESSED</PARAMETER>
</ACTION>
</REQUEST>
|
|
https://www.anveo.com/api/v2.asp?userkey=YOURAPIKEY&action=ACCOUNT.MOVEFUNDS¶m[FROM.ACCOUNT.NUMBER]=123456789¶m[TO.ACCOUNT.NUMBER]=123456789¶m[AMOUNT]=10.5¶m[MEMO]=Some%notes
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>SUCCESS</RESULT>
</RESPONSE>
|
|
Please remember that XML is CASE SENSITIVE. All ANVEO API XML tags and attributes should be in upper case.
|
|