|
@@ -1,4 +1,4 @@
|
|
|
-## Channel exclusive allocation
|
|
|
+## Channel exclusive fields
|
|
|
|
|
|
### 1 WX
|
|
|
|
|
@@ -6,48 +6,58 @@
|
|
|
|
|
|
This mode returns the URL value of WeChat payment collection for parameter return, ask the merchant to convert it into QR code, generate the front interface of payment, and prompt the user to scan the code to pay.
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | -------- |
|
|
|
| tradeFrom | String | M | "QRCODE" |
|
|
|
|
|
|
-Response message:
|
|
|
+**Response parameter "parameter" details**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| -------- | ------ | ---- | ------------------------------- |
|
|
|
-| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
-| RespMsg | String | M | Response message |
|
|
|
-| code_url | String | O | Characters to generate QR code. When RespCode=00 returns it. |
|
|
|
+| code_url | String | O | QR code string |
|
|
|
|
|
|
#### 1.2 QR code jump mode
|
|
|
|
|
|
It's jump mode, open the front-end page provided by GoAllPay, which contains WeChat QR code.
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ------- |
|
|
|
| tradeFrom | String | M | "QUICK" |
|
|
|
|
|
|
+**Response parameter "parameter" details**
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | ------------------------------- |
|
|
|
+| code_url | String | O | QR code string |
|
|
|
+
|
|
|
#### 1.3 WeChat Official Accounts payment
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ------- |
|
|
|
| tradeFrom | String | M | "JSAPI" |
|
|
|
|
|
|
+**Response parameter "parameter" details**
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | ------------------------------- |
|
|
|
+| code_url | String | O | QR code string |
|
|
|
+
|
|
|
#### 1.4 WeChat Mini Programs payment
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---------- |
|
|
|
| tradeFrom | String | M | "APPLET" |
|
|
|
| openid | String | M | Wechat openid |
|
|
|
|
|
|
-Response message:
|
|
|
+**Response parameter "parameter" details**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| ---------- | ------ | ---- | ------------------------------------------------------ |
|
|
@@ -59,13 +69,13 @@ Parameter sdk_params is used to call up the WeChat Mini Programs payment. Please
|
|
|
|
|
|
#### 1.5 APP mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ----- |
|
|
|
| tradeFrom | String | M | "APP" |
|
|
|
|
|
|
-Response message:
|
|
|
+**Response parameter "parameter" details**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| -------- | ------ | ---- | --------------------------------------------------------- |
|
|
@@ -79,23 +89,35 @@ After getting tn, call the SDK to pay according to APP document.
|
|
|
|
|
|
#### 2.1 WebSite mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ----- |
|
|
|
| tradeFrom | String | M | "WEB" |
|
|
|
|
|
|
+**Response parameter "parameter" details**
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | ------------------------------- |
|
|
|
+| code_url | String | O | QR code string |
|
|
|
+
|
|
|
#### 2.2 H5 mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ------- |
|
|
|
| tradeFrom | String | M | "JSAPI" |
|
|
|
|
|
|
+**Response parameter "parameter" details**
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | ------------------------------- |
|
|
|
+| code_url | String | O | QR code string |
|
|
|
+
|
|
|
#### 2.3 APP mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ----- |
|
|
@@ -115,29 +137,27 @@ After getting tn, call the SDK to pay according to APP document.
|
|
|
|
|
|
This mode returns the URL value of Alipay collection for parameter return, ask the merchant to convert it into QR code, generate the front interface of payment, and prompt the user to scan the code to pay.
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | -------- |
|
|
|
| tradeFrom | String | M | "QRCODE" |
|
|
|
|
|
|
-Response message:
|
|
|
+**Response parameter "parameter" details**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| -------- | ------ | ---- | ------------------------------- |
|
|
|
-| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
-| RespMsg | String | M | Response message |
|
|
|
-| code_url | String | O | Characters to generate QR code. When RespCode=00 returns it. |
|
|
|
+| code_url | String | O | QR code string |
|
|
|
|
|
|
#### 2.5 Alipay Mini Programs payment
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---------- |
|
|
|
| tradeFrom | String | M | "APPLET" |
|
|
|
|
|
|
-Response message:
|
|
|
+**Response parameter "parameter" details**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| ---------- | ------ | ---- | ------------------------------------------------------ |
|
|
@@ -151,15 +171,21 @@ Parameter sdk_params is used to call up the Alipay Mini Programs payment. Please
|
|
|
|
|
|
#### 3.1 H5 mode, adaptive PC and mobile
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---- |
|
|
|
| tradeFrom | String | M | "H5" |
|
|
|
|
|
|
+**Response parameter "parameter" details**
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | ------------------------------- |
|
|
|
+| code_url | String | O | QR code string |
|
|
|
+
|
|
|
#### 3.2 APP mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ----- |
|
|
@@ -179,13 +205,13 @@ After getting tn, call the SDK to pay according to APP document.
|
|
|
|
|
|
This mode returns the URL value of UnionPay collection for parameter return, ask the merchant to convert it into QR code, generate the front interface of payment, and prompt the user to scan the code to pay.
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | -------- |
|
|
|
| tradeFrom | String | M | "QRCODE" |
|
|
|
|
|
|
-Response message:
|
|
|
+**Response parameter "parameter" details**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| -------- | ------ | ---- | ------------------------------- |
|
|
@@ -195,7 +221,7 @@ Response message:
|
|
|
|
|
|
#### 3.4 Express Pay
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | -------- |
|
|
@@ -234,19 +260,17 @@ SMS Code on Mobile: 123456
|
|
|
|
|
|
#### 4.1 APP mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ----- |
|
|
|
| tradeFrom | String | M | "APP" |
|
|
|
|
|
|
-Response message:
|
|
|
+**Response parameter "parameter" details**
|
|
|
|
|
|
-| Parameter | Type | Required | Description |
|
|
|
-| -------- | ------ | ---- | --------------------------------------------------------- |
|
|
|
-| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
-| RespMsg | String | M | Response message |
|
|
|
-| tn | String | O | Transaction serial number. Required parameter for Wechat app payment. When RespCode=00 returns it. |
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | ------------------------------- |
|
|
|
+| code_url | String | O | QR code string |
|
|
|
|
|
|
After getting tn, call the SDK to pay according to APP document.
|
|
|
|
|
@@ -254,13 +278,13 @@ After getting tn, call the SDK to pay according to APP document.
|
|
|
|
|
|
#### 5.1 APP mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ----- |
|
|
|
| tradeFrom | String | M | "APP" |
|
|
|
|
|
|
-Response message:
|
|
|
+**Response parameter "parameter" details**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| -------- | ------ | ---- | --------------------------------------------------------- |
|
|
@@ -274,7 +298,7 @@ Response message:
|
|
|
|
|
|
#### 6.1 H5 mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| ---------- | ------ | ---- | ------------------------------------------------------------ |
|
|
@@ -302,7 +326,7 @@ cvv:123
|
|
|
|
|
|
#### 7.1 H5 mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---------------------------------------------------------- |
|
|
@@ -315,7 +339,7 @@ cvv:123
|
|
|
|
|
|
#### 8.1 H5 mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| ----------------- | ------ | ---- | --------- |
|
|
@@ -337,7 +361,7 @@ CVC: 111
|
|
|
|
|
|
#### 5.1 H5 mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ------- |
|
|
@@ -347,13 +371,13 @@ CVC: 111
|
|
|
|
|
|
This mode returns the URL value of WeChat payment collection for parameter return, ask the merchant to convert it into QR code, generate the front interface of payment, and prompt the user to scan the code to pay.
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | -------- |
|
|
|
| tradeFrom | String | M | "QRCODE" |
|
|
|
|
|
|
-Response message:
|
|
|
+**Response parameter "parameter" details**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| -------- | ------ | ---- | ------------------------------- |
|
|
@@ -363,7 +387,7 @@ Response message:
|
|
|
|
|
|
#### 5.3 APP mode
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ----- |
|
|
@@ -385,7 +409,7 @@ After getting tn, call the SDK to pay according to APP document.-->
|
|
|
|
|
|
##### 5.1.1 CIL international card
|
|
|
|
|
|
-Purchase interface specific fields
|
|
|
+**Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---- |
|
|
@@ -405,7 +429,7 @@ CVV2: 123
|
|
|
|
|
|
##### 5.1.2 SN international card
|
|
|
|
|
|
-Purchase interface specific fields
|
|
|
+**Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---- |
|
|
@@ -433,7 +457,7 @@ CVV2: 900
|
|
|
|
|
|
##### 5.1.3 TL international card
|
|
|
|
|
|
-Purchase interface specific fields
|
|
|
+**Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| ------------------- | ------ | ---- | -------------------------------- |
|
|
@@ -460,7 +484,7 @@ CVV2: 212
|
|
|
|
|
|
##### 5.1.4 ICBC international card
|
|
|
|
|
|
-Purchase interface specific fields
|
|
|
+**Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ------------------------------------------------------------ |
|
|
@@ -473,7 +497,7 @@ Click the card number to get the SMS verification code.<br>Card 1: [457410890011
|
|
|
|
|
|
##### 5.1.5 RDP international card
|
|
|
|
|
|
-Purchase interface specific fields
|
|
|
+**Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---- |
|
|
@@ -493,7 +517,7 @@ CVV2: 123
|
|
|
|
|
|
##### 5.1.6 VT international card
|
|
|
|
|
|
-Purchase interface specific fields
|
|
|
+**Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---- |
|
|
@@ -507,9 +531,15 @@ Expiry Date: 1227
|
|
|
CVV2: 123
|
|
|
```
|
|
|
|
|
|
+**Response parameter "parameter" details**
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | ------------------------------- |
|
|
|
+| code_url | String | O | QR code string |
|
|
|
+
|
|
|
#### 5.2 Background mode (Applicable to SN and TL international card)
|
|
|
|
|
|
- Purchase interface specific fields
|
|
|
+ **Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---- |
|
|
@@ -678,7 +708,7 @@ You should add the following parameters:
|
|
|
|
|
|
#### 10.1 H5 mode
|
|
|
|
|
|
-Purchase interface specific fields
|
|
|
+**Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---- |
|
|
@@ -688,7 +718,7 @@ Purchase interface specific fields
|
|
|
|
|
|
#### 11.1 H5 mode
|
|
|
|
|
|
-Purchase interface specific fields
|
|
|
+**Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---- |
|
|
@@ -710,7 +740,7 @@ Test Pincode: 2639777698
|
|
|
|
|
|
#### 12.1 H5 mode
|
|
|
|
|
|
-Purchase interface specific fields
|
|
|
+**Request parameters**
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ---- |
|