Skip to main content

Notify WebHook API

note

If the notifyurl parameter is passed, onlinepay will notify the address of the payment result

Request Parameters

ParameterTypeRequiredDescription
tradeNostringYesThe flow number generated after each order payment (unique marker)
merOrderNostringYesCorresponds to the [OrderNo] parameter of the order submission parameter
receiveAmountstringYesreceive amount for payment(used for cryptopay)
txHashstringYestxHash(used for cryptopay)
signstringYesMD5(tradeNo+merOrderNo+receiveAmount+PrivateKey) or RSA(receiveAmount used for cryptopay)
codestringNoPayment result (0: payment successful 1: payment failed 2: pending)
messagestringYesDescription of Payment Result