Skip to main content

Overview

Order management response codes are used to manage the full lifecycle of an order.

Response Codes

Order Status Query

CodeDescription
-1Pending
0Failed
1Success
2Order does not exist
3Missing request parameters
4Too many queries (max 100 per request)
5Account or terminal does not exist
6Invalid signValue signature
7Query IP not registered
8Account cannot be empty
9Invalid account
10Terminal cannot be empty
11Invalid terminal
12Order number cannot be empty
13Invalid order number
14Unpaid order (Payment return code: 50000)
15Payment canceled (Payment return code: 50008)
16High-risk transaction (Payment return code: 10000)
17Blocked by payment interface (includes 2xxxx error codes)
999System exception

Successful Status Query

CodeDescription
00Query successful
01No transaction data
02Invalid account number
03Invalid terminal number
04Invalid start date
05Invalid end date
06Account cannot be empty
07Terminal cannot be empty
08Start time cannot be empty
09End time cannot be empty
10Query range cannot exceed 7 days
11Signature verification failed
12Request IP not in whitelist
99Unknown error

Business Order Query

CodeDescription
00Query successful
01No transaction data
02Invalid account number
03Invalid terminal number
04Invalid start date
05Invalid end date
06Account cannot be empty
07Terminal cannot be empty
08Start time cannot be empty
09End time cannot be empty
10Query range cannot exceed 30 days
11Signature verification failed
12Request IP not in whitelist
13Invalid date type
99Unknown error

Dispute Order Query

CodeDescription
0Query successful
1No transaction data
2Invalid account number
3Invalid terminal number
4Invalid start date
5Invalid end date
6Account cannot be empty
7Terminal cannot be empty
8Start time cannot be empty
9End time cannot be empty
10Query range cannot exceed 30 days
11Signature verification failed
12Request IP not in whitelist
13Invalid date type
99Unknown error

Pre-Authorization

CodeDescription
40001payment_auth type cannot be empty
40002payment_auth type error
40003Response URL cannot be empty
40004back_Url length cannot more than 100 characters
40005Payment ID cannot be empty
40006Payment ID error
40007Not pre-auth transaction
40008Capture failed
40009Over capture period
40010Remark cannot exceed 100 characters
40011Card number cannot be empty
40012Transaction can only be voided on the same day(Acquirer local time)
40013Order number cannot be empty
40014Cannot cancel the unsuccessful order
40015The order doesn't exist
40016This order doesn't support to be cancelled
40017Exceeding the validity of the cancellation
40018A Refund application has been submitted, transaction cant be void.
40019Repeat request.
40020Incorrect order amount format
40021Capture/Void amount over order amount
40022Partial amount void is not supported
40023Partial amount capture is not supported
40024Can not fill in the amount
40025The funds of this account are not sufficient, transaction cant be void.
40026Please upload the tracking number first.
49999Operation failed, please try again.

Refund Request

CodeDescription
00Refund request successful
01Input object empty
02Refund pending, waiting for notification
03Request IP not in whitelist
04Missing parameters
05Invalid account number
06Invalid terminal number
08Invalid payment ID format
09Refund amount exceeds transaction amount
10Invalid refund type
11Invalid refund information
12Signature error
13Order not successful, cannot refund
14Order frozen, cannot refund
15Incorrect transaction amount
16Invalid currency
17Margin already processed, cannot refund
18Invalid refund amount format
19Refund amount does not match type
20Partial refund not supported by channel
21Funds already processed, cannot refund
22Invalid transaction amount format
23Refund reason too long
24Transaction not reconciled, cannot refund
25Refund amount exceeds refundable amount
26Account cannot be empty
27Terminal cannot be empty
28Payment ID cannot be empty
29Refund reason cannot be empty
30Refund amount cannot be empty
38Account may be settled or insufficient balance
39Invalid refund_number
40refund_number failed, cannot refund
41Refund period exceeded
42Duplicate submission
43Invalid refund reference
44Refund failed, customer account issue
45Outside refund period, contact support
46Discover: if dispute not canceled in 30 days, cannot appeal or refund
97Refund failed, try later
98Transaction not found
99Refund request error

Refund Query

CodeDescription
00Refunded
01Approved, not processed
02Pending approval
03Approval failed
04Refund ID does not exist
05Signature error
06Request IP not in whitelist
100Account cannot be empty
101Terminal cannot be empty
102Refund ID cannot be empty
92No transaction record
93Invalid refund ID
94Invalid account
95Invalid terminal
96Missing or incorrect parameters
97Transaction not found
98Input object empty
99Refund query error

Tracking Numbers Upload

CodeDescription
00Upload successful
01Upload failed
02Invalid account number
03Invalid terminal number
04Signature verification failed
05Invalid account
06Invalid tracking number
07Invalid tracking URL
08Invalid uploader
09Invalid Payment ID
10Missing parameters
11Request IP not in whitelist
12Payment ID cannot be empty
14Account cannot be empty
15Terminal cannot be empty
16Uploader cannot be empty
17Payment ID does not exist
18Tracking URL cannot be empty
19Invalid order number
20Duplicate tracking number
99Unknown error