POST
Transfer Callback
Receive asynchronous callbacks when the transfer status changes and update your business order accordingly.
Verification
Header token
- Header
- Authorization
Webhook payload fields
AuthorizationWebhook verification token header.
merchantNoMerchant number of the request initiator.
onBehalfOfMerchant number that the request is for. Include only when making a request on behalf of another merchant.
requestIdMerchant-generated business reference for the payout.
payoutIdOnerway payout ID.
Constraints
- Rule
- This JSON integer can exceed the JavaScript safe-integer range. Use a lossless JSON parser and preserve its decimal digits as a string for storage and comparison; converting an already-rounded Number to a string cannot recover the ID.
statusPayout status. See enum values.
Allowed values
A- Created.
P- Payout in progress.
S- Succeeded.
Constraints
- Rule
- Use this field as the transfer lifecycle status.
Ameans created,Pmeans processing,Smeans succeeded, andFmeans failed, including returned transfers.
statusTimeOrder update time; if unavailable, the time the notification is prepared is used, in
yyyy-MM-dd HH:mm:ss format. Time zone: Beijing time (UTC+08:00).payoutStatusReasonAdditional information about the payout status. For
A (created), P (processing), and S (succeeded), this field contains supplementary information when available, or an empty string otherwise. For F (failed), it contains the failure reason when available; for a returned transfer, it starts with Returned- fail reason: followed by the return reason.Constraints
- Rule
- A returned transfer has status
Fand a reason prefixed withReturned- fail reason:.
settleCurrencySettlement currency.
settleSumAmountTotal settlement amount recorded for the payout, denominated in
settleCurrency.payoutCurrencyPayout currency.
payoutAmountPayout amount recorded for the order, denominated in
payoutCurrency.Constraints
- Rule
- This amount alone does not confirm receipt of funds; check
status.
serviceFeePlatform service fee for this transfer.
convRateConversion rate recorded for the payout.
POST {{webhookUrl}} HTTP/1.1
Authorization: Credentials replace_with_webhook_token
{
"merchantNo": "800699",
"onBehalfOf": null,
"requestId": "replace_with_request_id",
"payoutId": 123456789,
"status": "P",
"statusTime": "2025-01-15 08:32:10",
"payoutStatusReason": "",
"settleCurrency": "USD",
"settleSumAmount": 100,
"payoutCurrency": "EUR",
"payoutAmount": 92.35,
"serviceFee": 2.5,
"convRate": 0.9235
}Acknowledgement
After processing the notification successfully, return HTTP 200 with the plain-text body
SUCCESS. Acknowledgement requires both HTTP 2xx and this body (case-insensitive). Do not add JSON quotes, spaces, or a trailing newline. Failed acknowledgements can be retried; process duplicate notifications idempotently.SUCCESS