Mass Transfer Funds

Mass Transfer Funds

Field NameLenTypeReqVerComments
methodN/AAlp-NumYes1.0massTransferFunds
fromEmailN/AAlp-NumYes1.0The email associated with the account from which the amount is deducted
fromAccountIdN/AAlp-NumYes1.0The ID of the account from where the funds are debited from
dataN/AAlp-NumYes1.0List of accounts to be paid. One account should be like this:
email,amount,currency,description,referenceNumber\n
email,amount,currency,description,referenceNumber\n
...
keyN/AAlp-NumYes1.0MD5(sharedSecret + data + fromAccountId)

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

Field NameLenTypeMdtVerComments
ResponseCodeN/AAlp-NumYes1.0The response code; 00 = Success;
ResponseDescriptionN/AAlp-NumYes1.0Human readable response
FeeN/ARealYes1.0Fee for the current transaction

Request Sample:

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

POST

method=massTransferFunds&fromEmail=[email protected]&data=[email protected],10.00,USD,description1,12345\n[email protected],15.00,USD,description2,12346\n [email protected],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