Notification (Callback)
Once the OTC payout is completed, BonusPay will send the corresponding order results to the merchant via a data stream. The merchant must receive and process these results and respond according to the documentation specifications.
Notice
The same notification may be sent to the merchant system multiple times. The merchant system must be able to handle duplicate notifications correctly.
During the background notification interaction, if BonusPay receives a response from the merchant that does not comply with the specifications or times out, BonusPay will determine that the notification has failed, resend the notification until it succeeds (default retry 7 times, time interval: 2, 10, 10, 60, 120, 360, 900, unit: minutes), but BonusPay does not guarantee that the notification will eventually be successful.
If the BonusPay recharge result notification is not received, it is recommended that the merchant actively call the order inquiry interface to confirm the order status.
Notification Parameters
OtcFundoutOrder
Merchant Order No
merchantOrderNo
Required
String(64)
S10000
BonusPay Order No
orderNo
Required
String(32)
O1000
Status
status
Required
OtcFundoutOrderStatus
-
Crypto Currency Code and Amount
cryptoAmount
Required
Money
Fiat Currency Code and Amount
settlementAmount
Optional
Money
Created Time
createdTime
Required
Timestamp(3)
1581493898000
Notify URL
notifyUrl
Optional
String(200)
-
Fail Description
failDes
Optional
String(200)
-
reason of failed
Fundout Detail
fundoutDetail
Optional
FundoutDetail
-
Example
Response Parameters
After receiving the notification, the merchant returns "SUCCESS" to indicate successful reception, and other values indicate exceptions.
Response Sample
Outbound IP address
8.219.8.37
Our system will call your system with this ip address.
Last updated