Get a Particular Transaction (kenya)


This endpoint retrieves a particular transaction detail based on the provided parameters.

Getting started with the Requery API


📘

Get Your Token

To make an API call to the transaction status, you must first generate an access token. Please follow the link below to generate your token:

Generate your Token: Click here to generate your access token

To get started with the Requery API, you will need to

1- Make a Requery request

Once you have an access token, make a POST request to the following endpoint

https://qa.interswitchng.com/collections/api/v2/mobile-wallet/query

In the Authorization header, set the value to Bearer <access_token>, where <access_token> is the access token you generated in step 1.

In the request body, include the following parameters:

  • mobileWalletProvider: The mobile wallet provider.
  • merchantCode: The merchant code
  • transactionReference The unique identifier of the transaction
  • merchantCountry The merchant county

Sample Payload

{
    "mobileWalletProvider": "mpesa",
    "merchantCode": "MX228251",
    "transactionReference": "QTBS-ISP-E3920551-085A",
    "merchantCountry": "KE"
}

Response

{
    "responseMessage": "Approved by Financial Institution",
    "data": null,
    "code": "00"
}
📘

GO LIVE

https://webpay.interswitchng.com/collections/api/v2/mobile-wallet/query