Rebalancing Callback Notification
Webhook
After a rebalancing (withdrawal) operation is confirmed on-chain, the system sends a rebalancing callback notification to the merchant. The merchant should update local rebalancing records based on the transaction data in the callback.
Merchants can configure a sweeping/withdrawal callback URL (a publicly accessible HTTPS URL) in the organization information of the Pay Protocol management console. When a rebalancing transaction is confirmed on-chain, the system sends a rebalancing 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​
- 200
OK