# 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.

<figure><img src="https://760693906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKH8CbFKQ8Cydt24cgg2C%2Fuploads%2FeNRQHpIETOGFffVlqRHw%2Fwebhookconfig.png?alt=media&#x26;token=76b8bc8f-74c6-4f0c-8287-8a72ee3efafe" alt=""><figcaption></figcaption></figure>

* **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.

<figure><img src="https://760693906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKH8CbFKQ8Cydt24cgg2C%2Fuploads%2FyItVVpFNKkAaxtr9XQeT%2Fwebhook%20config.png?alt=media&#x26;token=a1a63ed1-9aa7-4d72-9bba-278918464eb1" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
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.
{% endhint %}
