Skip to main content
POST
/
api
/
cps
/
v1
/
getTransactionStatus
Get Transaction Status
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"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
transactionReference
string
required
Example:

"sm23oyr1122"

Response

Transaction Successful

amount
string
Example:

"230,000.06"

paymentReference
string
Example:

"sm23oyr1122"

transactionDate
string<date>
Example:

"06/10/2023"

fees
number
Example:

0.06

currency
string
Example:

"NGN"

responseCode
integer
Example:

0

responseDescription
string
Example:

"Transaction Successful"