Skip to main content

Appendix 3


Status CodeDescription
-1系统错误:接口返回异常
-1System error: Interface returned abnormal
-11private_key(secret code)为空
-11private_key(secret code) is empty
-12User_Confirm_Key 有误
-12User_Confirm_Key is incorrect
-13JSON 请求有误,请核对相关内容,检查参数
-13JSON request is incorrect, please verify the relevant content and check the parameters
-22金额格式错误:请检查请求参数transaction_amount
-22Amount format error: Please check the request parameter transaction_amount
-23金额错误:transaction_amount 的范围为0.02~60000
-23Amount error: The range of transaction_amount is 0.02~60000
-53退款/撤销失败:账户余额不足
-53Refund/Cancel failed: Insufficient account balance
-54退款/撤销失败:退款/撤销金额有误
-54Refund/Cancel failed: Incorrect refund/cancel amount
-55退款/撤销失败,交易已撤销
-55Refund/Cancel failed, transaction has been canceled
-99系统错误
-99System error
-99out_trade_no/refund_no 必须唯一
-99out_trade_no/refund_no must be unique
00  成功
00  Success
01  notify_url 为空
01  notify_url is empty
02  钱包类型与交易类型不匹配
02  Wallet type does not match the transaction type
03  已存在交易,out_trade_no 必须唯一
03  Existing transaction, out_trade_no must be unique
04  钱包类型与订单交易类型不匹配
04  Wallet type does not match the order transaction type
05  REFUND_TRADE_NOT_EXISTTRADE_NOT_EXIST
05  REFUND_TRADE_NOT_EXISTTRADE_NOT_EXIST
06  参数异常
06  Parameter abnormal
09  接口异常:创建交易失败
09  Interface abnormal: Failed to create transaction
10  签名异常,不予继续访问
10  Signature abnormal, will not continue to access
11  用户参数异常,无法定位到用户
11  User parameter abnormal, unable to locate the user
12  时间匹对异常,请检查客户端时间,或通知运营
12  Time matching abnormal, please check the client time, or notify operations
13  时间格式错误,不予继续访问
13  Time format error, will not continue to access
14  已存在退款交易,refund_no 必须唯一
14  Existing refund transaction, refund_no must be unique
15  退款/撤销失败,交易已关闭
15  Refund/Cancel failed, transaction has been closed
16  退款/撤销失败,交易待付款
16  Refund/Cancel failed, transaction pending payment
17  退款失败,交易订单总金额不一致
17  Refund failed, the total amount of the transaction order is inconsistent
18  退款失败,累积退款金额不能大于订单金额
18  Refund failed, the cumulative refund amount cannot be greater than the order amount
19  请传入指定的支付类型querytype:OUT_TRADE
19  Please enter the specified payment type querytype:OUT_TRADE
20  请传入指定的支付类型 paytype :WeChat/Alipay
20  Please enter the specified payment type paytype: WeChat/Alipay
21  数据库访问异常
21  Database access abnormal
22  User_Confirm_Key{user_confirm_key}对应用户状态不可用
22  User_Confirm_Key{user_confirm_key} corresponding user status is unavailable
23  User_Confirm_Key{user_confirm_key}对应商户状态不可用
23  User_Confirm_Key{user_confirm_key} corresponding merchant status is unavailable
24  二维码获取超时二维码处理异常二维码获取通信异常
24  QR code acquisition timeout, QR code processing abnormal, QR code acquisition communication abnormal
25  接口异常:支付宝服务器时间戳获取异常
25  Interface abnormal: Alipay server timestamp acquisition abnormal
29  获取 QR 码请求失败,返回 QR 码不匹对
29  Failed to obtain QR code request, returned QR code does not match
30  帐号信息mch_id为空,无法发起 WECHATCN支付帐号信息mch_id2为空 , 无法发起WECHATHK支付帐号信息 partner 为空,无法发起 Alipay 支付
30  Account information is empty, cannot initiate payment
31  订单不存在
31  Order does not exist
40  撤销失败:撤销异常
40  Cancel failed: Cancel abnormal
41  撤销失败:撤销通信错误
41  Cancel failed: Cancel communication error
42  撤销失败:微信处理异常
42  Cancel failed: WeChat processing abnormal
43  撤销失败:微信处理异常,返回文件异常
43  Cancel failed: WeChat processing abnormal, return file abnormal
44  撤销失败:支付宝处理异常,返回文件异常
44  Cancel failed: Alipay processing abnormal, return file abnormal
45  撤销失败:支付宝处理异常
45  Cancel failed: Alipay processing abnormal
46  退款失败:撤销异常
46  Refund failed: Cancel abnormal
47  退款失败:撤销通信错误
47  Refund failed: Cancel communication error
48  退款失败:微信处理异常
48  Refund failed: WeChat processing abnormal
49  退款失败:微信处理异常,返回文件异常
49  Refund failed: WeChat processing abnormal, return file abnormal
50  退款失败:支付宝处理异常,返回文件异常
50  Refund failed: Alipay processing abnormal, return file abnormal
51  退款失败:支付宝处理异常
51  Refund failed: Alipay processing abnormal
52  返回通知异常,请查询该笔退款交易
52  Return notification abnormal, please query this refund transaction
53  refund_trade_no 与 out_trade_no 不匹配
53  refund_trade_no does not match out_trade_no
54  关闭失败,交易已付款
54  Close failed, transaction has been paid
55  关闭失败:当天交易才可以关闭
55  Close failed: Only transactions of the day can be closed
56  暂不支持该货币类型,请传入指定类型:HKD/CNY
56  Not currently supported for this currency type, please enter the specified type: HKD/CNY
57  接口异常:请求微信服务器接口,微信返回为空
57  Interface abnormal: Requesting WeChat server interface, WeChat returns empty
58  接口异常:请求微信服务器接口 connecttimeout 或者 read timeout
58  Interface abnormal: Requesting WeChat server interface connecttimeout or read timeout
59  接口异常:微信返回不是 xml 格式,解析错误
59  Interface abnormal: WeChat returns are not in XML format, parsing error
60  微信服务器返回错误描述
60  WeChat server returns error description
61  微信服务器返回错误结果描述
61  WeChat server returns error result description
62  校验微信返回签名错误
62  Verifying WeChat return signature error
64  基本账户余额不足,请充值后重新发起
64  Basic account balance is insufficient, please recharge and try again
80  获取支付宝 rate 失败,请稍后重试
80  Failed to obtain Alipay rate, please try again later