GET: Transaction Status
Fetch Transaction Status
This endpoint enables you to fetch the transaction status of any given payment that you initiated
Fetch transaction status
GET
https://backend.payhero.co.ke/api/v2/transaction-status
Query Parameters
Name | Type | Description |
---|---|---|
reference* | String | The reference that was returned in the original transaction request |
Headers
Name | Type | Description |
---|---|---|
Authorization:* | String | Basic authToken |
From the response you can pick the status parameter to determine if the transaction was successful or not when successful the value will be SUCCESS any other value means the transaction has not been processed
Possible values for status
Sample Code
This represents PHP Curl example of how to make the request, you can implement this in your specific language of choice
Last updated