Developers / API / Mass Transfer Funds
Mass transfer funds

Mass Transfer Funds

Mass Transfer Funds

Field Name Len Type Req Ver Comments
method N/A Alp-Num Yes 1.0 massTransferFunds
fromEmail N/A Alp-Num Yes 1.0 The email associated with the account from which the amount is deducted
fromAccountId N/A Alp-Num Yes 1.0 The ID of the account from where the funds are debited from
data N/A Alp-Num Yes 1.0 List of accounts to be paid. One account should be like this:
email,amount,currency,description,referenceNumber\n
email,amount,currency,description,referenceNumber\n
...
key N/A Alp-Num Yes 1.0 MD5(sharedSecret + data + fromAccountId)

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.0 The response code; 00 = Success;
ResponseDescription N/A Alp-Num Yes 1.0 Human readable response
Fee N/A Real Yes 1.0 Fee for the current transaction

Request Sample:

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

POST

method=massTransferFunds&fromEmail=payer@domain.com&data=payee1@domain.com,10.00,USD,description1,12345\npayee2@domain.com,15.00,USD,description2,12346\n payee3@domain.com,7.00,USD,description3\n&fromAccountId=13466&key=1060b7b46a3bd36b3a0d66e0127d0517

Response Sample:

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

Working Sample(s):

massTransferFunds.php