This interface is used for merchant to inquire customs status.
https://apis.5upay.com/customs/query
| Name | Type & Max | Description | Requirement |
|---|---|---|---|
| merchantId | varchar(20) | The unique identity of the merchant ID in Payease system. After the merchant completes Payease system registration, the merchant can log in the merchant backend portal to check | M |
| paySerialNumber | varchar(32) | The payment serial number returned by the successful payment order | M |
| hmac | varchar(500) | The result of parameter signature,generated by the merchant.For the method of obtaining hmac,please reference to the section "Developers" | M |
| Name | Description |
|---|---|
| merchantId | The unique identity of the merchant ID in Payease system. After the merchant completes Payease system registration, the merchant can log in the merchant backend portal to check |
| paySerialNumber | The payment serial number returned by the successful payment order |
| customsInfos | Json(two-dimensional array) See form "Request Fields(customsInfos)" |
| hmac | The result of parameter signature,generated by the merchant.For the method of obtaining hmac,please reference to the section "Developers" |
| name | Description |
|---|---|
| customsChannel | GUANGZHOU_OFFICAL (General Customs) |
| NINGBO | |
| TIANJIN_OFFICAL (General Customs) | |
| ZHUHAI_OFFICAL (General Customs) | |
| ZHENGZHOU_ZONGBAO_OFFICAL (General Customs) | |
| CHONGQING_OFFICAL (General Customs) | |
| ZHENGZHOU_WUBAO_OFFICAL (General Customs) | |
| OFFICAL (Direct connect to General Customs) | |
| SHENZHEN_OFFICAL (General Customs) | |
| amount | UNIT: China fen,1 Yuan=100 Fen |
| freight | UNIT: China fen,1 Yuan=100 Fen, If not filled, the default value is "0" |
| goodsAmount | UNIT: China fen,1 Yuan=100 Fen, If not filled, the default value is "0" |
| tax | UNIT: China fen,1 Yuan=100 Fen, If not filled, the default value is "0" |
| status | PROCESSING |
| SUCCESS | |
| FAILED |