cURL
curl --request POST \ --url https://charge-payment.com/v1/api/cps/v1/getTransactionStatus \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "transactionReference": "sm23oyr1122" } '
{ "amount": "230,000.06", "paymentReference": "sm23oyr1122", "transactionDate": "06/10/2023", "fees": 0.06, "currency": "NGN", "responseCode": 0, "responseDescription": "Transaction Successful" }
This endpoint allows you to check the status of a transaction.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
"sm23oyr1122"
Transaction Successful
"230,000.06"
"06/10/2023"
0.06
"NGN"
0
"Transaction Successful"