API Explanation

Request Type

POST

Request URI

/api/v1/pay/declare-border-order

Request

ParameterTypeRequiredDescriptionRemark
customsStringYesThe customs code(HS code)See below Customs List
mchCustomsNoStringYesMerchant customs record number
certIdStringYesPersonal Identification Number
nameStringYesPersonal Identification Name
paymentIdStringYesPayment ID
Customs List:
Customs CodeCustoms NameRemark
GUANGZHOU_ZSGuangzhou (General Administration version)
HANGZHOU_ZSHangzhou (General Administration Edition)
NINGBONingbo
HENGZHOU_BSZhengzhou (bonded logistics center)
CHONGQINGchongqing
SHANGHAI_ZSShanghai (General Administration version)
SHENZHENShenzhen
ZHENGZHOU_ZH_ZSZhengzhou Comprehensive Insurance (General Administration Edition))
TIANJINTianjinWhen you need to push the order to Tianjin Customs, you need to configure Tianjin Customs filing
information and Tianjin National Inspection filing information in the merchant management background at the same time; when calling the customs declaration
interface, you only need to push Tianjin Customs, that is, request One-time customs declaration API.

Request Example:

{
  "customs": "GUANGZHOU_ZS",
  "mchCustomsNo": "4101761CXP",
  "certId": "151304198906140034",
  "name": "李明",
  "paymentId": "16765770228807278"
}

Response

ParameterTypeDescriptionRemark
return_codeString
return_msgString
sign_typeString
appidString
mch_idString
result_codeString
err_codeString
err_code_desString
stateString
transaction_idString
out_trade_noString
sub_order_noString
err_code_desString
sub_order_idString
modify_timeString
cert_check_resultString
verify_departmentString
verify_department_trade_idString