Refund callback notification
Webhook
When the refund order status changes to success
or failure
or rejected
, the merchant will receive a refund callback notification, and the merchant needs to update the local order status based on the callback notification.
Merchant can set the callback address when initiating a refund application. When the refund result is confirmed, the system will send a successful refund notification to this URL.
The callback will be sent up to 6 times, respectively at 0 seconds, 15 seconds, 30 seconds, 3 minutes, 5 minutes, and 10 minutes after the recharge is confirmed.
When the merchant returns success
normally, the system will consider the callback successful and will not send subsequent callbacks.
Note: The merchant needs to verify the signature of the callback notification to ensure the security of the notification. The signing method of the callback is consistent with the normal request.
Request
- application/json
Body
required
0
- Success1
- Pending approval2
- Under review3
- Block confirmation4
- Failure5
- Rejected
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
Currency ID
Can be obtained from Get Currency List interface
Refund order ID
Merchant order number
Payment order number
Refund address
Refund amount
Note: The value of this field is an integer, calculated by (actual_amount * 10^currency_decimals)
Commission fee
Possible values: [0
, 1
, 2
, 3
, 4
, 5
]
Refund order status
Refund time
Transaction hash
Responses
- 200
OK
- plain/text
- Schema
- Example
Schema
string
Possible values: [success
]
success