Place Order
Last updated
Last updated
The merchant system first calls this API to generate a Transfer order in the BonusPay backend.
PENDING
In progress
COMPLETED
Completed
FAILED
Failed
Interface Address
Development Environment URL:
Production Environment URL:
Http Header
Content-Language
Content-Language
Optional
String(10)
en
en-English (default)
Sign
sign
Required
String
-
Partner ID
Partner-Id
Required
String(12)
-
Http Body
Request Time
requestTime
Required
Timestamp(3)
1581493898000
Business Content
bizContent
Required
PlaceWithdrawRequest
-
Business Content
PlaceTransferRequest
Merchant Order No.
merchantOrderNo
Required
String(64)
-
Address
address
Required
String(200)
-
Expected Amount
expectedReceivedAmount
Optional(when refAmount is exist)
Money
"totalAmount":{ "currency":"ETH", "amount":1.01 }
The total amount of the order
Reference Amount
refAmount
Optional
"refAmount":{ "exchangeCurrencyCode":"[Order Currency]", "refAmount":{ "amount":[Original amount], "currency":"[Original Currency]" } }
"refAmount":{ "exchangeCurrencyCode":"USDT", "refAmount":{ "amount":100000, "currency":"INR" } }
The refAmount will convert to exchangeCurrency and amount to be the total amount of orders,eg: send 10000 INR and convert to USDT to accecpt
Network
network
Required
String(20)
-
The default is the merchant itself if not filled in
Backend Notification URL
notifyUrl
Optional
String(200)
-
The address where the merchant receives notifications
Http Header
Sign
sign
Required
String
-
The body field in Http Body is only returned when applyStatus is SUCCESS and code is 0.
Http Body
Response Header
head
Required
ResponseHeader
-
Response Body
body
Optional
WithdrawResponseBody
-
TransferResponse
Order Information
withdrawOrder
Optional
WithdrawOrder
-