Browse Source

Merge branch 'master' of https://git.allpayx.com/OpenAPI/common

benson 5 years ago
parent
commit
5677419fb5
3 changed files with 76 additions and 7 deletions
  1. 34 6
      AllPay_Integration_Specification_CH.md
  2. 40 0
      AllPay_Integration_Specification_EN.md
  3. 2 1
      paymentSchema.md

+ 34 - 6
AllPay_Integration_Specification_CH.md

@@ -578,8 +578,6 @@ cvv:123
 | email     | String | M    | this is email id of the customer who is doing transaction  |
 | phone     | String | M    | Phone number of the customer                               |
 
-
-
 ### 5.8 PF渠道
 
 #### 5.8.1 H5支付
@@ -593,10 +591,40 @@ cvv:123
 | transport_express | String | M    | 快递单号  |
 
 
+=======
+### 5.9 APHK渠道
+
+#### 5.9.1 H5支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述    |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "JSAPI" |
+
+#### 5.9.2 二维码无跳转模式
+
+ 该模式返回生成二维码的字符串,商户需要自己生成二维码。
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "QRCODE" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                               |
+| -------- | ------ | ---- | ---------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                     |
+| RespMsg  | String | M    | 应答消息                           |
+| code_url | String | O    | 二维码字符串。应答码为00返回该字段 |
+>>>>>>> 
+
 
-### 5.9 FC渠道
+### 5.10 FC渠道
 
-#### 5.9.1 消费, 预授权
+#### 5.10.1 消费, 预授权
 
  消费,预授权 ,接口专属字段
 
@@ -604,11 +632,11 @@ cvv:123
 | --------- | ------ | ---- | ---- |
 | tradeFrom | String | M    | "H5" |
 
-#### 
 
 
 
-6.应答码 
+
+#### 6.应答码 
 
 | 应答码 | 描  述      |
 | ------ | --------- |

+ 40 - 0
AllPay_Integration_Specification_EN.md

@@ -466,6 +466,46 @@ cvv:123
 | email     | String | M    | this is email id of the customer who is doing transaction  |
 | phone     | String | M    | Phone number of the customer                               |
 
+### 5.8 PF
+
+#### 5.8.1 H5 mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| ----------------- | ------ | ---- | --------- |
+| tradeFrom         | String | M    | "H5"      |
+| email             | String | M    | email |
+| transport_express | String | M    | tracking number  |
+
+### 5.9 APHK
+
+#### 5.9.1 H5 mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "JSAPI" |
+
+#### 5.9.2 QR code no jump mode
+
+ 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
+
+| Parameter      | Type   | Required | Description     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "QRCODE" |
+
+Response message:
+
+| 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. |
+
 ## 6.RespCode 
 
 | RespCode | Description      |

+ 2 - 1
paymentSchema.md

@@ -10,4 +10,5 @@ Serial number |Channel name  |Channel ID|Remark
  7 | Easebuzz |EB| Easebuzz 
  8 | PassPay |PF| PassPay 
  9 | FC |FC| FC 
-
+ 10 | Alipay HK |APHK| Alipay HK 
+>>>>>>>