tao.zhou 2 years ago
parent
commit
2dbb23bb37
4 changed files with 47 additions and 47 deletions
  1. 10 10
      AllPay_Integration_Specification_CH.md
  2. 11 11
      AllPay_Integration_Specification_EN.md
  3. 13 13
      payExclusive_CH.md
  4. 13 13
      payExclusive_EN.md

+ 10 - 10
AllPay_Integration_Specification_CH.md

@@ -4,11 +4,11 @@
 * 版本信息:中文 V5.1.0
 * 更新时间:2021 年 7 月
 
-## 1.概述
+## 1. 概述
 GoAllPay 为客户提供统一的API接入,以帮助客户实现快速、安全、集中式的接入支付渠道。
-## 2.交易流程 
+## 2. 交易流程 
 ![image](https://git.allpayx.com/OpenAPI/b2c/raw/master/images/pc_flowsheet.png)
-## 3.签名规则 
+## 3. 签名规则 
 ```html
 1. 将所有传入参数(除 signature 参数外)按照参数名的 ASCII 码从小到大排序后(字典序),使用 URL 键值对的格式(即 key1=value1&key2=value2...)拼接成字符串 String1。
 
@@ -26,14 +26,14 @@ signature: 1e0f24d39cdc8236d17a5f6f17672611
 ```
 ## 4. API 说明
 
- **测试主机:**https://testapi.allpayx.com<br><br>
- **生产主机:**https://api.allpayx.com<br><br>
  **请求方式:**POST<br><br>
- **数据格式:**application/json
+ **数据格式:**application/json<br><br>
+ **测试主机:**https://testapi.allpayx.com<br><br>
+ **生产主机:**https://api.allpayx.com
 
 ### 4.1 API 列表 
 
-| 交易类型 | URL路径                                 |
+| API名称 | URL路径                                 |
 | ------- | ------------------------------------------- |
 | 支付    | /api/createorder |
 | 查询 | /api/orderquery   |
@@ -606,7 +606,7 @@ signature: 1e0f24d39cdc8236d17a5f6f17672611
 | signType      | String(10) | M    | MD5或SHA256                                                |
 | signature     | String(32) | M    | 采用 MD5或SHA256 签名                                      |
 
-## 5.应答码 
+## 5. 应答码 
 
 | 应答码 | 描  述      |
 | ------ | --------- |
@@ -629,12 +629,12 @@ signature: 1e0f24d39cdc8236d17a5f6f17672611
 | P4     | 功能不支持  |
 | P5     | 渠道返回错误  |
 
-## 6.APP模式对接文档
+## 6. APP模式对接文档
 
   Android对接文档:[点击这里](/v5/android/Android_Integration_Specification_CH.md)
 
   iOS对接文档:[点击这里](/v5/ios/iOS_Integration_Specification_CH.md)
 
-## 7.技术支持
+## 7. 技术支持
 
   如果您在调试时遇到问题,请与我们联系:support@allpayx.com

+ 11 - 11
AllPay_Integration_Specification_EN.md

@@ -4,11 +4,11 @@
 * Version: English V5.1.0
 * Update Time: 2021 / 07
 
-## 1.Overview
+## 1. Overview
 GoAllPay provides customers with unified API access to help them implement fast, secure and centralized access payment channels.
-## 2.Transaction process 
+## 2. Transaction process 
 ![image](https://git.allpayx.com/OpenAPI/b2c/raw/master/images/pc_flowsheet.png)
-## 3.Signature rules 
+## 3. Signature rules 
 ```html
 1. For the request message sent to the GoAllPay system, in which all incoming parameters (except parameter signature) according to the field name of ASCII smallest sequence (dictionary), using the format of the URL key/value pair (key1 = value1 & key2 = value2... ) spliced into a string String1.
 
@@ -24,16 +24,16 @@ stringSignTemp: acqID=99020344&backURL=https://testapi.allpayx.com/test&charSet=
 
 signature: 1e0f24d39cdc8236d17a5f6f17672611
 ```
-## 4.API description
+## 4. API description
 
- **Test environment host:** https://testapi.allpayx.com<br><br>
- **Production environment host:** https://api.allpayx.com<br><br>
  **Request method:** POST<br><br>
- **Content type:** application/json
+ **Content type:** application/json<br><br>
+ **Test environment host:** https://testapi.allpayx.com<br><br>
+ **Production environment host:** https://api.allpayx.com
 
 ### 4.1 API list 
 
-| Transaction Type | URL path                                 |
+| API name | URL path                                 |
 | ------- | ------------------------------------------- |
 | Purchase    | /api/createorder |
 | Inquiry | /api/orderquery   |
@@ -608,7 +608,7 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
 | signType      | String(10) | M    | "MD5" or "SHA256" |
 | signature     | String(32) | M    | MD5 or SHA256 signature |
 
-## 5.RespCode 
+## 5. RespCode 
 
 | RespCode | Description      |
 | ------ | --------- |
@@ -631,12 +631,12 @@ To refund the payments which are more than 90 days ago, the merchant can't proce
 | P4     | Function is not supported  |
 | P5     | Channel returns "Error"  |
 
-## 6.APP mode integration specification
+## 6. APP mode integration specification
 
 Android Integration Specification:[Click Here](/v5/android/Android_Integration_Specification_EN.md)
 
 iOS Integration Specification:[Click Here](/v5/ios/iOS_Integration_Specification_EN.md)
 
-## 7.Technical support
+## 7. Technical support
 
 If you have problems with debugging, please contact us: support@allpayx.com

+ 13 - 13
payExclusive_CH.md

@@ -1,6 +1,6 @@
 ## 渠道专属参数
 
-### 1 WX渠道
+### 1. WX渠道
 
 #### 1.1 二维码无跳转模式
 
@@ -81,7 +81,7 @@
 
 获取到tn后,根据APP对接文档调用SDK进行支付。
 
-### 2 AP渠道
+### 2. AP渠道
 
 #### 2.1 WebSite支付
 
@@ -159,7 +159,7 @@
 
 将上述返回数据放入支付宝小程序支付接口,即可调起支付,具体方法,参考支付宝官方小程序API。
 
-### 3 UP渠道
+### 3. UP渠道
 
 #### 3.1 H5支付
 
@@ -244,7 +244,7 @@ SMS Code on PC: 111111
 SMS Code on Mobile: 123456
 ```
 
-### 4 Apple Pay渠道
+### 4. Apple Pay渠道
 
 #### 4.1 APP支付
 
@@ -392,7 +392,7 @@ CVC: 111
 
 获取到tn后,根据APP对接文档调用SDK进行支付。 -->
 
-### 5 FC渠道
+### 5. FC渠道
 
 #### 5.1 H5支付
 
@@ -556,7 +556,7 @@ CVV2: 123
 | forterTokenCookie | String | O    | 客户端埋点 |
 | userIP | String | O    | 用户IP |
 
-### 6 RevPay渠道
+### 6. RevPay渠道
 
 #### 6.1 H5支付
 
@@ -573,7 +573,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | 收银台URL |
 
-### 7 AliPayLocal渠道
+### 7. AliPayLocal渠道
 
 #### 7.1 H5支付
 
@@ -590,7 +590,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | 收银台URL |
 
-### 8 PO渠道
+### 8. PO渠道
 
 #### 8.1 H5支付
 
@@ -697,7 +697,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | 收银台URL |
 
-### 9 India_Netbanking渠道
+### 9. India_Netbanking渠道
 
 #### 9.1 H5支付
 
@@ -723,7 +723,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | 收银台URL |
 
-### 10 PAYPAL渠道
+### 10. PAYPAL渠道
 
 #### 10.1 H5支付
 
@@ -739,7 +739,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | 收银台URL |
 
-### 11 Neosurf渠道
+### 11. Neosurf渠道
 
 #### 11.1 H5支付
 
@@ -767,7 +767,7 @@ CVV2: 123
 测试Pincode:2639777698
 ```
 
-### 12 DNC渠道
+### 12. DNC渠道
 
 #### 12.1 H5支付
 
@@ -802,7 +802,7 @@ CVV2: 123
 CVV2: 123
 ```
 
-### 13 AliPayPlus渠道
+### 13. AliPayPlus渠道
 
 #### 13.1 H5支付
 

+ 13 - 13
payExclusive_EN.md

@@ -1,6 +1,6 @@
 ## Channel exclusive fields
 
-### 1 WX
+### 1. WX
 
 #### 1.1 QR code no jump mode
 
@@ -81,7 +81,7 @@ Parameter sdk_params is used to call up the WeChat Mini Programs payment. Please
 
 After getting tn, call the SDK to pay according to APP document.
 
-### 2 AP
+### 2. AP
 
 #### 2.1 WebSite mode
 
@@ -159,7 +159,7 @@ After getting tn, call the SDK to pay according to APP document.
 
 Parameter sdk_params is used to call up the Alipay Mini Programs payment. Please refer to the Alipay Mini Programs integration specification.
 
-### 3 UP
+### 3. UP
 
 #### 3.1 H5 mode
 
@@ -244,7 +244,7 @@ SMS Code on PC: 111111
 SMS Code on Mobile: 123456
 ```
 
-### 4 Apple Pay
+### 4. Apple Pay
 
 #### 4.1 APP mode
 
@@ -391,7 +391,7 @@ Response message:
 
 After getting tn, call the SDK to pay according to APP document.-->
 
-### 5 FC
+### 5. FC
 
 #### 5.1 H5 mode
 
@@ -555,7 +555,7 @@ CVV2: 123
 | forterTokenCookie | String | O    | Client buried point |
 | userIP | String | O    | User IP |
 
-### 6 RevPay
+### 6. RevPay
 
 #### 6.1 H5 mode
 
@@ -572,7 +572,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | Cashier URL |
 
-### 7 AliPayLocal
+### 7. AliPayLocal
 
 #### 7.1 H5 mode
 
@@ -589,7 +589,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | Cashier URL |
 
-### 8 PO
+### 8. PO
 
 #### 8.1 H5 mode
 
@@ -696,7 +696,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | Cashier URL |
 
-### 9 India_Netbanking
+### 9. India_Netbanking
 
 #### 9.1 H5 mode
 
@@ -722,7 +722,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | Cashier URL |
 
-### 10 PAYPAL
+### 10. PAYPAL
 
 #### 10.1 H5 mode
 
@@ -738,7 +738,7 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | Cashier URL |
 
-### 11 Neosurf
+### 11. Neosurf
 
 #### 11.1 H5 mode
 
@@ -766,7 +766,7 @@ CVV2: 123
 Test Pincode: 2639777698
 ```
 
-### 12 DNC
+### 12. DNC
 
 #### 12.1 H5 mode
 
@@ -801,7 +801,7 @@ Expiry Date: 1225
 CVV2: 123
 ```
 
-### 13 AliPayPlus
+### 13. AliPayPlus
 
 #### 13.1 H5 mode