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
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 7 days
11Signature verification failed
12Request IP not in whitelist
99Unknown error

Business 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

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
0Refund request successful
1Input object empty
2Refund pending, waiting for notification
3Request IP not in whitelist
4Missing parameters
5Invalid account number
6Invalid terminal number
8Invalid payment ID format
9Refund 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
0Refunded
1Approved, not processed
2Pending approval
3Approval failed
4Refund ID does not exist
5Signature error
6Request 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
0Upload successful
1Upload failed
2Invalid account number
3Invalid terminal number
4Signature verification failed
5Invalid account
6Invalid tracking number
7Invalid tracking URL
8Invalid uploader
9Invalid 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