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
accessCode
(string) - The unique access code generated on initialization of transaction.\
Response Data
The following table describes the fields returned in the response:
Field | Type | Description |
---|---|---|
email | string | The email address of the customer making the payment. |
amount | string | The amount of the payment transaction. |
transactionId | string | The unique identifier for the transaction. |
link | string | The checkout link for completing the payment. |
reference | string | The unique payment reference. (accessCode) |
businessName | string | The name of the merchant's business. |
isActive | boolean | Indicates if the transaction is active. |
cardPayment | boolean | Indicates if card payments are supported. |
accountPayment | boolean | Indicates if account-based payments are supported. |
ussdPayment | boolean | Indicates if USSD payments are supported. |
qrPayment | boolean | Indicates if QR code payments are supported. |
eNaira | boolean | Indicates if eNaira payments are supported. |
walletPayment | boolean | Indicates if wallet payments are supported. |
bankTrasferPayment | boolean | Indicates if bank transfer payments are supported. |
token | string | The generated token for the payment transaction. |
currency | string | The currency of the transaction (e.g. NGN ). |
callbackUrl | string | The URL where the user will be redirected after payment completion. Transaction details are passed as query parameters. |
publicKey | string | The public key associated with the transaction. |
transactionHistoryId | number | The ID of the transaction in the history records. |
totalAmount | string | The total amount of the transaction. |
isChargeTransferedToCustomer | boolean | Indicates whether the transaction charge is passed to the customer. |
isPaymentPageCustomizationEnabled | boolean | Indicates whether the payment page customization is enabled. |
customization | object | Contains customization settings for the payment page (if enabled). |
merchantBusinessEmail | string | The 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"
}
}