Webhook
Webhook
POST
/notifyAsynchronous notification sent to `pay_notifyurl`. The SDK automatically parses parameters from `$_POST` and **verifies the MD5 signature**. After verification succeeds, it returns a `PaymentWebhookRequest`. Once processing is complete, call `webhookRespondOk()` to respond with `OK`.
SDK method
webhook()ParametersRequest body
memberidstringrequiredMerchant ID
orderidstringrequiredMerchant order ID
amountstringrequiredSubmitted order amount
true_amountstringrequiredSDK property:
trueAmount. Amount actually paidtransaction_idstringrequiredSDK property:
transactionId. Platform transaction IDreturncodestringrequired`00` success; `2` failed
datetimestringrequiredTransaction time
signstringrequiredsignMD5 signature
currencystringPayment currency
attachstringAdditional notes