Get notified of a transaction status change

Receive notifications of transaction status changes as your user progresses through the payment flow.

During the payment flow, the transaction status will be one of the following:

  • Pending

  • Successful

  • Failed

You will be notified whenever a transaction is marked as 'Successful' or 'Failed' via the Transaction Completion Notification URL configured in the publisher portal.

Pre-requisite

  • The transaction completion notification URL is configured

Notification parameters

Notifications are sent to the configured transaction completion notification URL with the appended query parameters below.

Expected Response

After sending the notification, Codapay expects an acknowledgment to confirm it has been received.

If your application processes the notification successfully, respond with 'ResultCode=0.' Otherwise, return an error code.

If no response is received, the notification will be resent three times at 5-minute intervals.

Samples

https://mynotificationurl.com?TxnId=7178589013775074766&OrderId=12321312321314&TotalPrice=100&PaymentType=101&ResultCode=0&Checksum=```postman_json
e944d44f065eade8157737385a094a57

Checking a transaction status

We highly recommend using the InquiryPaymentResult API call after receiving the purchase notification webhook. This will help reconcile the transaction status between your system and Coda's before releasing the purchased item.

Last updated