Developers / API / Transfer Funds Between Accounts
Transfer Between Accounts

Transfer Funds Between Accounts

Here you can transfer funds between your accounts

Field Name Len Type Req Ver Comments
method N/A Alp-Num Yes 1.1 transferFundsBetweenAccounts
fromEmail N/A Alp-Num Yes 1.1 The email associated with the account from which the amount is deducted
fromAccount N/A Num Yes 1.1 The ID of the account from where the funds are taken
toAccount N/A Num Yes 1.1 The ID of the account where the funds are transfered to
amount N/A Real Yes 1.1 Amount to be transfered
currency 3 Alp Yes 1.1 The currency code (e.g USD)
subscriptionFrequency 1 Num -- 1.1 The frequency of periodical transfer
1 = Every Week
2 = Every TwoWeeks
3 = Every Month
4 = Every Three Months
5 = Every Six Months
6 = Annualy
subscriptionEndDate N/A Alp-Num -- 1.1 A date or null
subscriptionUserCancel N/A Alp-Num -- 1.1 1 = user cancel this subscription, or null
subscriptionTransactions N/A Alp-Num -- 1.1 Number = the subscription will end after the transactions, or null
key N/A Alp-Num Yes 1.1 MD5(sharedSecret + fromAccount + toAccount + amount + currency)

This request is responded by a message with the following content:

Field Name Len Type Mdt Ver Comments
ResponseCode N/A Alp-Num Yes 1.1 label.field.responseCode
ResponseDescription N/A Alp-Num Yes 1.1 label.field.responseDescription
Fee N/A Real Yes 1.1 label.field.fee
TransactionId N/A Num Yes 1.1 label.field.transactionId

Request Sample:

https://www.paxum.com/payment/api/paymentAPI.php

POST

method=transferFundsBetweenAccounts&fromEmail=payee@domain.com&fromAccount=123456&toAccount=123456&amount=10&currency=USD&key=361a4499be18f4f68c62e1ddd1ad928f

Response Sample:

<?xml version="1.0"?>
<Response>
    <Environment>PRODUCTION</Environment>
	<Method>transferFundsBetweenAccounts</Method>
	<ResponseCode>00</ResponseCode>
	<ResponseDescription>Approved or Completed Successfully</ResponseDescription >
	<Fee>0.00</Fee>
	<TransactionId>23646236</TransactionId>
</Response>

Working Sample(s):

transferFundsBetweenAccounts.php