Rest API
Get payment status

Get payment status

Confirm the initiated payment request

End point: {BASE_URL}/api/gateway/paymentstatus/{{transactionID}}

Request method: GET

curl --location --request GET '{{base_url}}/api/gateway/paymentstatus/{{transactionID}}' \
--header 'x-api-key: live_Lixxxxxxx4' \
--header 'mode: live' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic cGF5dW5pdF9pQkxxxxxxxxxxxxxxxxDVh' 

Request params

parameterMandatoryDescription
transactionIDYesThe unique identifier that identifies the transaction in your system, ID used to initialize the transaction

Response body :

{
   "status": "SUCCESS",
   "statusCode": 200,
   "message": "xxxxxxxxxxxxxxxxxxx ",
   "data": {
       "transaction_amount": 10,
       "transaction_status": "PENDING|FAILED|CANCELLED|SUCCESS",
       "transaction_id": "xxxxxxxxxxxxx",
       "purchaseRef": null,
       "notify_url": "https://webhook.site/d457b2f3-dd71-4f04-9af5-e2fcf3be8f34",
       "callback_url": "https://webhook.site/d457b2f3-dd71-4f04-9af5-e2fcf3be8f34",
       "transaction_currency": "XAF",
       "transaction_gateway": "XXXXXXXXXXX",
       "message": "Ifxxxxxxxxxxxxxxxxxxxxxxxx "
   }
}
Last updated on January 9, 2023