Transaction Query
The endpoints below provides you the ability to confirm the status of a completed transaction from Interswitch.
You should make provision to query transactions.
This function queries a transaction, to get its status.
1 |
GET /collections/api/v1/gettransaction.json |
Request Parameters
Amount should be in minor format
Sample Response (Success)
1 2 3 4 5 6 7 8 9 10 11 12 |
{ "Amount": 33322, // amount in minor format "CardNumber": "", "MerchantReference": "AVA-1607946716-NoOTP", "PaymentReference": "IBTC|API|MX187|14-12-2020|949942|116901", "RetrievalReferenceNumber": "000959909142", "SplitAccounts": [], "TransactionDate": "2020-12-14T12:51:39", "ResponseCode": "00", "ResponseDescription": "Approved by Financial Institution", "BankCode": "221" } |