|
@@ -37,6 +37,7 @@ Supported request methods including POST and GET, supported parameter formats in
|
|
|
| Declaration | https://testapi.allpayx.com/custom/declare | https://api.allpayx.com/custom/declare |
|
|
|
| Declaration Query | https://testapi.allpayx.com/custom/query | https://api.allpayx.com/custom/query |
|
|
|
| Declaration Update | https://testapi.allpayx.com/custom/update | https://api.allpayx.com/custom/update |
|
|
|
+| Declaration Repush | https://testapi.allpayx.com/custom/repush | https://api.allpayx.com/custom/repush |
|
|
|
|
|
|
### 3.2 Declaration Interface
|
|
|
|
|
@@ -178,13 +179,54 @@ Supported request methods including POST and GET, supported parameter formats in
|
|
|
| schemaTransId | String(64) | Yes | The transaction ID of the payment channel. |
|
|
|
| merID | String(15) | Yes | Merchant ID. |
|
|
|
| acqID | String(11) | Yes | Acquiring Bank ID: "99020344" |
|
|
|
-| paymentSchema | String(10) | Yes | Channel ID. |
|
|
|
-| transTime | String(14) | Yes | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
-| signType | String(10) | Yes | "MD5" or "SHA256" |
|
|
|
-| signature | String(32) | Yes | MD5 or SHA256 signature |
|
|
|
+| paymentSchema | String(10) | Yes | Channel ID. |
|
|
|
+| transTime | String(14) | Yes | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| signType | String(10) | Yes | "MD5" or "SHA256" |
|
|
|
+| signature | String(32) | Yes | MD5 or SHA256 signature |
|
|
|
+
|
|
|
+### 3.5 Declaration Repush Interface
|
|
|
+
|
|
|
+**1. Request parameters**
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| ------------- | ---------- | ---- | ---------------------------------------- |
|
|
|
+| version | String(12) | Yes | "VER000000005" |
|
|
|
+| charSet | String(6) | Yes | "UTF-8" |
|
|
|
+| transType | String(4) | Yes | Transaction type: "DECL" |
|
|
|
+| orderNum | String(60) | Yes | Transaction ID in the declaration interface. |
|
|
|
+| merID | String(15) | Yes | Merchant ID, assigned by GoAllPay |
|
|
|
+| acqID | String(11) | Yes | Acquiring Bank ID: "99020344" |
|
|
|
+| paymentSchema | String(10) | Yes | Channel ID.<br>UnionPay:UP<br>WeChat Pay:WX<br>Alipay:AP |
|
|
|
+| transTime | String(14) | Yes | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| signType | String(10) | Yes | "MD5" or "SHA256" |
|
|
|
+| signature | String(32) | Yes | MD5 or SHA256 signature |
|
|
|
+
|
|
|
+**2. Response parameters**
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------------- | ----------- | ---- | --------------------------------- |
|
|
|
+| version | String(12) | Yes | "VER000000005" |
|
|
|
+| charSet | String(6) | Yes | "UTF-8" |
|
|
|
+| transType | String(4) | Yes | "DECL" |
|
|
|
+| orderNum | String(60) | Yes | Transaction ID |
|
|
|
+| RespCode | String(2) | Yes | Response Code. "00" stands for success. See Annex 2 for details. |
|
|
|
+| RespMsg | String(128) | Yes | Response Message. |
|
|
|
+| customs_code | String(64) | Yes | Merchant Customs Record Code |
|
|
|
+| customs_name | String(128) | Yes | Merchant Customs Record Name |
|
|
|
+| customs_place | String(128) | Yes | Customs code. |
|
|
|
+| allpayOrderNum | String(64) | Yes | Conversion merchant order number of GoAllPay system. |
|
|
|
+| schemaTransId | String(64) | Yes | The transaction ID of the payment channel. |
|
|
|
+| merID | String(15) | Yes | Merchant ID. |
|
|
|
+| acqID | String(11) | Yes | Acquiring Bank ID: "99020344" |
|
|
|
+| paymentSchema | String(10) | Yes | Channel ID. |
|
|
|
+| transTime | String(14) | Yes | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| signType | String(10) | Yes | "MD5" or "SHA256" |
|
|
|
+| signature | String(32) | Yes | MD5 or SHA256 signature |
|
|
|
|
|
|
## 4. Annex 1 Customs List
|
|
|
|
|
|
+*** Note: The list of customs is the customs that supports customs declaration through API for each payment channel. The actual support situation is subject to the update of each payment channel.**
|
|
|
+
|
|
|
### 4.1 Alipay customs list
|
|
|
|
|
|
| Customs name | Customs code |
|
|
@@ -219,22 +261,11 @@ Supported request methods including POST and GET, supported parameter formats in
|
|
|
|
|
|
### 4.3 UnionPay customs list
|
|
|
|
|
|
-| Customs name | Customs code |
|
|
|
-| ----------- | -------- |
|
|
|
-| General Administration of Customs | CUSTOMSHEADOFFICE |
|
|
|
-| Shanghai | SHANGHAI |
|
|
|
-| Ningbo | NINGBO |
|
|
|
-| Hangzhou | HANGZHOU |
|
|
|
-| Chongqing | CHONGQING |
|
|
|
-| Henan Electronic Port | HENAN |
|
|
|
-| Shenzhen | SHENZHEN |
|
|
|
-| Fuzhou | FUZHOU |
|
|
|
-| Xiamen | XIAMEN |
|
|
|
-| Chengdu | CHENGDU |
|
|
|
-| Qingdao | QINGDAO |
|
|
|
-| Dalian | DALIAN |
|
|
|
-
|
|
|
-The above list of customs is the customs that supports customs declaration through API for each payment channel. The actual support situation is subject to the update of each payment channel.
|
|
|
+| Customs name | Customs code |Remark|
|
|
|
+| ----------- | -------- |---|
|
|
|
+| General Administration of Customs | CUSTOMSHEADOFFICE |Except for Shanghai and Ningbo, the customs of other regions shall uniformly fill in the General Administration of Customs.|
|
|
|
+| Shanghai | SHANGHAI ||
|
|
|
+| Ningbo | NINGBO ||
|
|
|
|
|
|
## 5. Annex 2 Response code
|
|
|
|