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

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": "",
       "callback_url": "",
       "transaction_currency": "XAF",
       "transaction_gateway": "XXXXXXXXXXX",
       "message": "Ifxxxxxxxxxxxxxxxxxxxxxxxx "
Last updated on January 9, 2023