Skip to main content

Requery Payment Code by Transaction Reference

URL: https://api-sandbox.accessbankplc.com/breezepay/RequeryTxnByReference

Description : This API is used to retrieve the status of a payment code, including details on whether the code has been used, its validity, and associated transaction details by making use of its transaction reference.

Method: POST

Media Type: application/json

Request Parameter Definition

S/NParameter NameTypeDescription
1channel_codestringClient application code.
2transaction_refstringA unique string associated with the payment.

Expected Response

S/NParameter NameDescription
1response_codeResponse code to indicate success or failure.
2response_messageResponse description to provide more details, e.g., error description.
3post_resp_codeIndicates the response code from the debit of the customer’s account. "00" confirms that the transaction was successfully posted.
4post_resp_messageA message confirming the status of the debit of the customer’s account.
5account_numberRepresents the account number involved in the transaction.
6statusIndicates the current status of a payment or transaction code.
7code_statusDescription of the current status of a payment or transaction code.
8reversal_statusIndicates whether the transaction has been reversed.
9release_statusIndicates whether funds held when the code was generated have been released.
10settlement_statusDescribes the status of settlement processing for the transaction.

Sample Payload

Request:

{
"transaction_ref": "FLP999TJEU3884959",
"channel_code": "YOUR CHANNEL CODE"
}

Response:

{
"response_code": "00",
"response_message": "Successful Request",
"transaction_details": {
"post_resp_code": "00",
"account_number": "1484224616",
"post_resp_message": "Successful",
"status": "0",
"code_status": "USED",
"reversal_status": "Y",
"release_status": "Y",
"settlement_status": "Successful Request"
}
}