Confirm Transaction
Learn how to confirm payment with the Confirm transaction API.
Confirm Transaction Status
This API is used to verify payment status. It’s important to verify all transactions before updating your customer about the status of their payment to ensure accurate and timely information.
Request parameter
Ensure secure handling of md (merchant data) and token to maintain transaction integrity.
Confirm transaction API Response
A sample response of what to expect when a call is made to confirm API status
Handling successful API response.
When a transaction has been initiated successfully, the API returns response data that can be used to update the customer about the current stage of their transaction.
Below is the list of responses you can expect and their usage:
Indicates if the request was successful.
Descriptive message about the result.
Contains detailed transaction status.
Handling failed API response
When your response message is returned as a failed response, the response.data will return an array containing details of the error. You can show this to your customer to notify them of what went wrong.
Below is a sample failed response data: