This method is used to retrieve the status of a transaction
HTTP Method: GET
Resource Url
Example:
https://sandbox.interswitchng.com/api/v2/quickteller/transactions?requestreference=119420151169 (where 119420151169 is a sample requestReference)
Headers
Please refer to attached document to learn how to compute the required headers for authentication.
ISA01000I Interswitch Services API Specification
Authentication Headers
Content Type:application/json Authorization:InterswitchAuth SUifhfjdbxbkfhj132hdfhjshfjhsv Signature: kuTwggg/3gdgdghs= Timestamp: 1434455667788 Nonce:7333394444423754333 SignatureMethod:SHA1 TerminalID: 3DMO0001 |
Field | M/O | Length | Format | Description |
RequestReference | M | 20 | Alphanumeric | The request reference passed in the ‘SendBillPaymentAdvice’ method or the transfer code passed in the ‘DoTransfer’ method |
Terminal ID | O | 8 | Alphanumeric | Terminal ID provided by Interswitch |
QueryTransaction Response
A HTTP response code 200 is sent back for a success
Response Parameters
Field | Description |
ResponseCode | Response Code |
TransactionResponseCode | TransactionResponseCode confirms the status of the queried transaction |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
{ "billPayment": { "biller": "MCN", "customerId1": "000000001", "customerId2": null, "paymentTypeName": "Family", "paymentTypeCode": "COFAMW4", "billerId": "104" }, "amount": "2000", "currencyCode": "566", "customer": "000000001", "customerEmail": "test@interswitchng.com", "customerMobile": "08065186175", "paymentDate": "7/18/2016 8:53:39 AM", "requestReference": "119420151169", "serviceCode": "COFAMW4", "serviceName": "Family", "serviceProviderId": "104", "status": "Completed", "surcharge": "100", "transactionRef": "FTH|Web|3FTH0001|MCN|180716085339|00000002", "transactionResponseCode": "90000", "transactionSet": "BillPayment" } |
Communication
Requests will be sent over the REST protocol