Bank Account Inquiry
Bank Account Inquiry
Field Name | Len | Type | Req | Ver | Comments |
method | N/A | Alp | Yes | 1.1 | bankAccountInquiry |
fromEmail | N/A | Alp-Num | Yes | 1.1 | The email associated with the account from which the amount is deducted |
bankAccountId | N/A | Num | -- | 1.1 | The ID of the Bank Account (optional), otherwise all the bank accounts are returned |
key | N/A | Alp-Num | Yes | 1.1 | MD5(sharedSecret + bankAccountId) |
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 | 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 |
BankAccounts/ BankAccount/ BankAccountId | N/A | Num | Yes | 1.1 | The Bank Account ID |
BankAccounts/ BankAccount/ BankAccountNumber | 4 | Num | Yes | 1.1 | The last 4 numbers of the Bank Account |
BankAccounts/ BankAccount/ BankAccountType | 1 | Num | Yes | 1.1 | The Bank Account type
1 = checking 2 = savings |
BankAccounts/ BankAccount/ BankAccountCurrency | 3 | Alp | Yes | 1.1 | The Bank Account currency |
BankAccounts/ BankAccount/ BankAccountStatusId | 1 | Num | Yes | 1.1 | 1 = primary
2 = secondary |
BankAccounts/ BankAccount/ Confirmed | 1 | Num | Yes | 1.1 | 0 = not confirmed
1 = confirmed |
Request Sample:
https://secure.paxum.com/payment/api/paymentAPI.php POST method=bankAccountInquiry&fromEmail=payee@domain.com&bankAccountId=&key=ecb2111f1b36b39e31f30115e00d13f4f
Response Sample
<?xml version="1.0"?> <Response> <Environment>PRODUCTION</Environment> <Method>bankAccountInquiry</Method> <ResponseCode>00</ResponseCode> <ResponseDescription>Approved or Completed Successfully</ResponseDescription > <Fee>0.00</Fee> <BankAccounts> <BankAccount> <BankAccountId>123456</BankAccountId> <BankAccountNumber>1234</BankAccountNumber> <BankAccountType>1</BankAccountType> <BankAccountCurrency>USD</BankAccountCurrency> <BankAccountStatusId>2</BankAccountStatusId> <Confirmed>0</Confirmed> </BankAccount> ... </BankAccounts> </Response>
Working Sample(s):
bankAccountInquiry.php