
Here you can withdraw funds to an external Bank Account
| Field Name | Len | Type | Req | Ver | label.commentsTab |
|---|---|---|---|---|---|
| method | N/A | Alp-Num | Yes | 1.1 | withdrawFundsToBank |
| 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 withdrawn |
| toBankAccount | N/A | Num | Yes | 1.1 | The ID of the external bank account to wich the funds are withdrawn to |
| amount | N/A | Real | Yes | 1.1 | Amount to be transfered |
| currency | 3 | Alp | Yes | 1.1 | The currency code (e.g USD) |
| transferType | 1 | Num | Yes | 1.1 | The type of the transfer: 1 - Withdraw funds by EFT, 2 - Withdraw Funds by WIRE Transfer , 3 - Withdraw Funds by Payment Order |
| key | N/A | Alp-Num | Yes | 1.1 | MD5(sharedSecret + fromAccount + toBankAccount + amount + currency) |
This request is responded by a message with the following content:
| Field Name | Len | Type | Mdt | Ver | label.commentsTab |
|---|---|---|---|---|---|
| ResponseCode | N/A | Alp-Num | Yes | 1.1 | The response code; 00 = Success; |
| ResponseDescription | N/A | Alp-Num | Yes | 1.1 | Human readable response |
| Fee | N/A | Real | Yes | 1.1 | Fee for the current transaction |
| TransactionId | N/A | Num | Yes | 1.1 | The transaction ID if successfully, otherwise not specified |
Request Sample:
https://secure.paxum.com/payment/api/paymentAPI.php
POST
method=withdrawFundsToBank&fromEmail=[email protected]&fromAccountId=123456&amount=10¤cy=USD&creditCardId=123456&key=361a4499be18f4f68c62e1ddd1ad928f
Response Sample
<?xml version="1.0"?>
<Response>
<Environment>PRODUCTION</Environment>
<Method>withdrawFundsToBank</Method>
<ResponseCode>00</ResponseCode>
<ResponseDescription>Approved or Completed Successfully</ResponseDescription >
<Fee>0.00</Fee>
<TransactionId>23646236</TransactionId>
</Response>
Working Sample(s):
withdrawFundsToBank.php