Notify WebHook API
note
If the notifyurl parameter is passed, onlinepay will notify the address of the payment result
Request Parameters
Parameter | Type | Required | Description |
---|---|---|---|
tradeNo | string | Yes | The flow number generated after each order payment (unique marker) |
merOrderNo | string | Yes | Corresponds to the [OrderNo] parameter of the order submission parameter |
receiveAmount | string | Yes | receive amount for payment(used for cryptopay) |
txHash | string | Yes | txHash(used for cryptopay) |
sign | string | Yes | MD5(tradeNo+merOrderNo+receiveAmount+PrivateKey) or RSA(receiveAmount used for cryptopay) |
code | string | No | Payment result (0: payment successful 1: payment failed 2: pending) |
message | string | Yes | Description of Payment Result |