Get Transaction Status

Get Details of a transaction to confirm the status

get/api/v3/purchases

Request

  • Base URL
    https://sandbox.interswitchng.com
  • URL
    https://sandbox.interswitchng.com/api/v3/purchases
  • Auth
    none required

Headers

Authorizationstring

Set value to "Bearer <token>"

Content-Typestring

Set value to "application/json"

amountnumber double

transaction amount in major denomination

transactionRefstring

transaction reference for the transaction you're trying to confirm

Response

200

transactionRefstring
bankCodestring
messagestring
amountstring
transactionDatestring
responseCodestring
retrievalReferenceNumberstring
stanstring
terminalIdstring

Example response

{
  "transactionRef": "ESB3200test",
  "bankCode": "011",
  "message": "Approved by Financial Institution",
  "amount": "1500.00",
  "transactionDate": "2020-04-13T01:34:17",
  "responseCode": "00",
  "retrievalReferenceNumber": "000106923853",
  "stan": "000008",
  "terminalId": "3PXM0001"
}

Changes

No recorded changes to this operation across all 1 revision of this API.