Place Order
The merchant system first calls this API to generate a withdrawal order in the BonusPay backend.
WithdrawOrderStatus
PENDING
In progress
COMPLETED
Completed
FAILED
Failed
Interface Address
Development Environment URL: http://api.testbonuspay.network/sgs/api/ccwithdraw/placeOrder
Production Environment URL: https://api.bonuspay.network/sgs/api/ccwithdraw/placeOrder
Request Parameters
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
PlaceWithdrawRequest
Merchant Order No.
merchantOrderNo
Required
String(64)
-
Withdrawal Address
address
Required
String(200)
-
Expected Amount
expectedReceivedAmount
Required
Money
-
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
Request Example
Response Parameters
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
-
WithdrawResponse
Order Information
withdrawOrder
Optional
WithdrawOrder
-
Response Example
Last updated