Parameters
Merchant Order No (merchantOrderNo)
Merchant Order No is generated by the merchant, it supports only the combination of alphanumeric characters, dashes(-), and underscores(_). BonusPay requires the merchant order number to be unique (it is recommended to generate order numbers based on the current system time plus random sequence). When making a new payment, use the original order number to avoid duplicate payments; order numbers that have already been paid or canceled (see the following API list) cannot be paid again.
OtcFundoutOrderStatus
PENDING
processing
COMPLETED
settle fiat to VA account successfully
FAILED
settle fiat to VA account failed
OtcFundoutRequest
Merchant Order No
merchantOrderNo
Required
String(64)
-
Notify URL
notifyUrl
Optional
String(200)
-
The URL to which the notification of the order status will be sent
Fiat Currency Code
fiatCurrency
Required
String(32)
USD
Crypto Currency Code and Amount
cryptoAmount
Required
Money
-
Amount of crypto to fiat settlement
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
-
FundoutDetail
Sender's address
fromAddress
Required
String(128)
-
Receiver's address
toAddress
Required
String(128)
-
Transfer HASH of OTC
txHash
Required
String(128)
-
Receiving Amount
receivingAmount
Required
Money
-
Amount credit to VA bank account
Receiving Fee
receivingFee
Required
Money
-
Fee charged by VA partner
Last updated