Skip to main content

Sweeping Callback Notification

Webhook 

After a sweeping operation is confirmed on-chain, the system sends a sweeping callback notification to the merchant. The merchant should update local sweeping records based on the transaction data in the callback.

info

Merchants can configure a sweeping/withdrawal callback URL (a publicly accessible HTTPS URL) in the organization information of the UtcPay management console. When a sweeping transaction is confirmed on-chain, the system sends a sweeping notification to that URL.

The callback will be sent up to 6 times: at 0s, 15s, 30s, 3min, 5min, and 10min after on-chain confirmation.

When the merchant returns success, the system treats the callback as successful and stops retries.

Note: Merchants must verify the callback signature to ensure notification security. The callback signing method is the same as normal requests.

Request​

Responses​

OK