How to receive the transaction notification

As usual, CCPayment will post transaction notification to the merchant webhook URL when the received payment success. But also, you can adjust the webhook notification posting occasion on the merchant setting if you want to receive the notification when the transaction is made.

  • Transaction started: The system will send a webhook notification instantly when the transaction starts, and upon it detects new transaction and will notify again when the transaction was sent/confirmed on the blockchain.

  • Transaction processing: The system will send a webhook notification instantly upon the transaction was processing and will notify again when it is confirmed on the blockchain.

  • Transaction confirmed: The notification is only posted when the transaction has been confirmed.

There are three transaction statuses in the webhook notification under the field name “pay_status”. CCPayment will credit assets if the pay_status is “success”, which is the one and only status you should consider as the confirmation of the transaction. The other two pay_status, “pending” and “processing”, can not be regarded as the confirmation of the transaction.

Last updated