Get Order
Last updated
Last updated
This interface provides the query of all BonusPay orders. Merchants can actively query the order status through the query order interface to complete the next business logic.
The situations that require calling the query interface are:
When there are exceptions such as merchant background, network, server, etc., and the merchant system ultimately does not receive the payment notification.
When calling the payment interface, a system error or unknown transaction status occurs.
Before calling the cancel order API, the payment status needs to be confirmed.
Interface Address
Sandbox URL:
Production URL:
Http Header
Language
Content-Language
Optional
String(10)
en
en-English
Signature
sign
Required
String
Merchant ID
Partner-Id
Required
String(12)
Http Body
Request Time
requestTime
Required
Timestamp(3)
1581493898000
Business Content
bizContent
Required
OrderIndexRequest
-
Business Content
Http Header
Signature
sign
Required
String
-
The body
field in Http Body is only returned when the applyStatus is SUCCESS and the code is 0.
Http Body
Response Header
head
Required
ResponseHeader
-
Response Body
body
Optional
GetOrderResponse
-
GetOrderResponse
Order Information
acquireOrder
Required
AcquireOrder
-
Response Code
0
SUCCESS
Success
400
INVALID_PARAMETER
Invalid parameter
Adjust request params
400
REQUESTTIME_TOO_EARLY
Request time too early
Adjust request time
400
REQUESTTIME_TOO_LATER
Request time too later
Adjust request time
402
RATE_LIMIT_REJECT
Request too frequent
Reduce request rate
403
UNAUTHORIZED
API unauthorized
Contact BonusPay
404
SERVICE_NOT_AVAILABLE
API service not available
Contact BonusPay
500
SYSTEM_ERROR
System error
Contact BonusPay, try later
504
SERVICE_TIMEOUT
Service timeout
Try later
601
RISK_FAIL
Risk verification failed
Adjust business
77004
MERCHANT_ORDER_NO_NOT_EXIST
Merchant order not exist
Adjust merchant order number
77016
ORDER_NO_NOT_EXIST
BonusPay order not exist
Adjust BonusPay order number