INVALID_REQUEST |
The information re-entered by merchant for customs declaration is different from the original one |
To modify payment order information, use the Declaration Modification API; to push a payment order again, use the Information Re-push API. |
Customs information is not configured |
The customs declaration API is only accessible after the customs information has been configured for the merchant. Please configure the customs information by referring to the customs registration guidelines above. |
Order amount does not match |
The order amount for declaration must be same as the payment amount. Check whether the order amount for declaration is correct. |
Declaration is not allowed for refunded orders. |
The merchant has not registered with the current customs. Try again after the registration is completed. |
NOAUTH |
The merchant has not registered with the current customs |
The merchant has not registered with the current customs. Try again after the registration is completed. |
Self-Clearance is not enabled. |
Check whether the Self-Clearance tool has been enabled for the merchant ("WeChat Pay Merchants Platform" > "Product Center" > "Apply for Self-Clearance"). |
PARAM_ERROR |
Merchant ID (mch_id) is not set |
Merchant ID is required. Check whether the merchant ID is empty. |
Invalid merchant ID length |
The Merchant ID here must be 10 digit number. |
Currency is not set |
Currency is required for split declaration. Check whether fee_type is empty. |
Merchant order No. (out_trade_no) is not set |
Check whether the merchant order No. (out_trade_no) is empty. |
WeChat order No. (transaction_id) is not set. |
Check whether the WeChat order No. (transaction_id) is empty. |
Invalid WeChat order No. length |
WeChat order No. should be a 28-digit number. Check whether the WeChat order No. (transaction_id) is correct. |
Customs information is not set |
Customs information is required. Check whether it is empty. |
Customs registration No. is not set |
Check whether the registration No. is empty. |
Invalid customs registration No. length |
Customs registration No. should be a 6-digit string. Check whether the registration No. is correct. |
Invalid sub-order No. length (sub_order_no) |
Sub-order No. should be a string with a maximum of 32 digits. Check whether the sub-order No. is correct. |
AppId is not set |
Check whether appid is correct. |
Transaction currency is different from merchant's settlement currency |
Check whether the currency parameter (fee_type) is empty. |
Parameter error |
Invalid parameter. The parameter may be incorrect or is missing. Check whether the API parameters have been summited as required. |
Incorrect order amount |
The order amount is different from the payment order amount. Make a check and declare again. |
Incorrect transaction order information |
The transaction order information is incorrect. Make a check and declare again. |
Merchant's split declaration amount is incorrect. |
The merchant's split order amount is greater than the amount of the original payment order. Make a check and declare again. |
Transaction currency is different from merchant's settlement currency. |
Declare again, or contact WeChat Pay Assistant to find out the reason. |
Missing parameters in split declaration. |
Parameters fee_type, order_fee, transport_fee, and product_fee are required for split order. |
SYSTEMERROR |
System error |
Declare again, or contact WeChat Pay Assistant to find out the reason. |