Get Refund Order
Last updated
Last updated
After submitting a refund application, use this interface to query the refund status.
Interface Address
Sandbox URL:
Production URL:
Http Header
Content-Language
N/A
Optional
String(10)
en
en-English
Sign
Required
String
N/A
N/A
The signature of the request
Partner-Id
Required
String(12)
N/A
N/A
The merchant ID
Http Body
Request Time
requestTime
Required
Timestamp(3)
1581493898000
The timestamp of the request
Business Content
bizContent
Required
GetRefundOrderRequest
-
The content of the business
GetRefundOrderRequest
Refund Merchant Order No.
refundMerchantOrderNo
Optional
String(64)
Me23484
refundMerchantOrderNo and orderNo are mutually exclusive, can't be both empty and non-empty at the same time
BonusPay Order No.
orderNo
Optional
String(32)
220000000001
-
Http Header
Signature
sign
Required
String
-
The body field in Http Body will only be returned when applyStatus is SUCCESS and code is 0.
Http Body
Response Header
head
Required
ResponseHeader
-
Response Body
body
Optional
GetRefundOrderResponse
-
GetRefundOrderResponse
Refund Order Information
refundOrder
Required
RefundOrder
-
Return Codes
0
SUCCESS
Success
400
INVALID_PARAMETER
Invalid parameter
Adjust request parameters
400
REQUESTTIME_TOO_EARLY
Request time is too early compared to the current time
Adjust request time
400
REQUESTTIME_TOO_LATER
Request time is too late compared to the current time
Adjust request time
402
RATE_LIMIT_REJECT
Request frequency is too high
Reduce request frequency
403
UNAUTHORIZED
Unauthorized API access
Contact BonusPay
404
SERVICE_NOT_AVAILABLE
API service is not available
Contact BonusPay
500
SYSTEM_ERROR
System error
Contact BonusPay, try again later
504
SERVICE_TIMEOUT
Service timeout
Try again later
601
RISK_FAIL
Risk verification failed
Adjust business
77002
ORDER_FAILURE
Failed orders cannot be refunded
Adjust merchant order number
77004
MERCHANT_ORDER_NO_NOT_EXIST
The order with the specified merchant order number does not exist
Adjust merchant order number
77005
REFUND_AMOUNT_EXCEEDED
The refund amount exceeds the amount available for refund Available refund amount is the original order amount minus refunded amount and amount in refund process
Adjust refund amount
77013
REFUND_MERCHANT_ORDER_NO_EXIST
A refund request with the same order number and different business parameters is made
Adjust refund merchant order number
77016
ORDER_NO_NOT_EXIST
The order with the specified BonusPay order number does not exist
Adjust BonusPay order number
77024
ORDER_NOT_PAID
A refund request is made for an unpaid order
Adjust business parameters