Refund Webhook
Refund Notify
POST
/webhook/refundWebhook notification sent when a refund is processed or fails. The SDK parses `$_POST`, verifies the MD5 signature, and returns a `RefundNotifyRequest`. Call `webhookRespondOk()` after processing.
SDK method
refundNotify()ParametersRequest body
memberidstringMerchant ID
orderidstringMerchant order ID
transaction_idstringSDK property:
transactionId. Platform transaction IDamountstringOriginal order amount
refund_orderidstringSDK property:
refundOrderid. Refund order IDrefund_amountstringSDK property:
refundAmount. Refunded amountalert_datetimestringSDK property:
alertDatetime. Notification timestampalert_contentstringSDK property:
alertContent. Refund reason or failure descriptionalert_typestringSDK property:
alertType. Alert typealert_statusstringSDK property:
alertStatus. `00` success; `11` failedsignstringsignMD5 signature