Skip to main content

Get Payment Details

This endpoint retrieves complete details and metadata for a specific payment transaction. It provides information such as the transaction ID, status, amount, currency, customer details, and any custom metadata submitted during the payment process.

Endpoint

GET Payments/GetPaymentInfo/{{ accessCode }}

Request Params

Response Data

The following table describes the fields returned in the response:

FieldTypeDescription
emailstringThe email address of the customer making the payment.
amountstringThe amount of the payment transaction.
transactionIdstringThe unique identifier for the transaction.
linkstringThe checkout link for completing the payment.
referencestringThe unique payment reference. (accessCode)
businessNamestringThe name of the merchant's business.
isActivebooleanIndicates if the transaction is active.
cardPaymentbooleanIndicates if card payments are supported.
accountPaymentbooleanIndicates if account-based payments are supported.
ussdPaymentbooleanIndicates if USSD payments are supported.
qrPaymentbooleanIndicates if QR code payments are supported.
eNairabooleanIndicates if eNaira payments are supported.
walletPaymentbooleanIndicates if wallet payments are supported.
bankTrasferPaymentbooleanIndicates if bank transfer payments are supported.
tokenstringThe generated token for the payment transaction.
currencystringThe currency of the transaction (e.g. NGN).
callbackUrlstringThe URL where the user will be redirected after payment completion. Transaction details are passed as query parameters.
publicKeystringThe public key associated with the transaction.
transactionHistoryIdnumberThe ID of the transaction in the history records.
totalAmountstringThe total amount of the transaction.
isChargeTransferedToCustomerbooleanIndicates whether the transaction charge is passed to the customer.
isPaymentPageCustomizationEnabledbooleanIndicates whether the payment page customization is enabled.
customizationobjectContains customization settings for the payment page (if enabled).
merchantBusinessEmailstringThe email address associated with the merchant's business.
Response (200)
{
"responseCode": "00",
"responseMessage": "Payment information fetched successfully",
"data": {
"email": "echy.customer@gmail.com",
"amount": "100",
"transactionId": "a492uu387927",
"link": "https://checkout.echezona.com/NZTlH0BVa2y7rr",
"reference": "NZTlH0BVa2y7rr",
"businessName": "Zeec Creations",
"isActive": true,
"cardPayment": true,
"accountPayment": true,
"ussdPayment": true,
"qrPayment": true,
"eNaira": true,
"walletPayment": true,
"bankTrasferPayment": true,
"token": "generated-token-for-the-payment-transaction",
"currency": "NGN",
"callbackUrl": "https://inline.paybridge.africa/callback.html",
"publicKey": "-----BEGIN PUBLIC KEY----- public-key-goes-here -----END PUBLIC KEY----- ",
"transactionHistoryId": 0,
"totalAmount": "1000",
"isChargeTransferedToCustomer": false,
"isPaymentPageCustomizationEnabled": false,
"customization": {},
"merchantBusinessEmail": "engineering@echezona.com"
}
}