API Explanation
Request Type
POST
Request URI
/api/v1/pay/query-border-order
Request
| Parameter | Type | Required | Description | Remark |
|---|---|---|---|---|
| customs | String | Yes | The customs code(HS code) | |
| paymentId | String | Yes | Payment ID |
Request Example:
{
"customs": "GUANGZHOU_ZS",
"paymentId": "16765770228807278"
}
Response
| Parameter | Type | Description | Remark |
|---|---|---|---|
| return_code | String | ||
| return_msg | String | ||
| sign_type | String | ||
| appid | String | ||
| mch_id | String | ||
| result_code | String | ||
| err_code | String | ||
| err_code_des | String | ||
| transaction_id | String | ||
| count | String | ||
| sub_order_no_$n | String | ||
| sub_order_id_$n | String | ||
| mch_customs_no_$n | String | ||
| customs_$n | String | ||
| fee_type_$n | String | ||
| order_fee_$n | String | ||
| duty_$n | String | ||
| transport_fee_$n | String | ||
| product_fee_$n | String | ||
| state_$n | String | ||
| explanation_$n | String | ||
| modify_time_$n | String | ||
| cert_check_result_$n | String | ||
| verify_department | String | ||
| verify_department_trade_id | String |
$n indicates the serial number of the record, and the value is 0~($ count -1), for example, count indicates that there are 2 refund records returned. The first serial number is “0”, and the second serial number is “1”.