Browse Source

修改v5接口文档

tao.zhou 5 years ago
parent
commit
9a52b92fb9

+ 11 - 11
AllPay_Integration_Specification_CH.md

@@ -49,7 +49,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | backURL       | String(400)  | M    | 支付结果异步通知到该地址                                     |
 | merID         | String(15)   | M    | 商户 ID,由 AllPay 分配                                       |
 | acqID         | String(11)   | M    | 收单行 ID "99020344"                                         |
-| paymentSchema | String(10)   | M    | 渠道代码:[点击查看详情](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) |
+| paymentSchema | String(10)   | M    | 渠道代码:[点击查看详情](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | goodsInfo     | String(60)   | M    | 商品信息,在支付页面上显示。                                    |
 | detailInfo    | String(400)  | M    | 商品明细。格式:[{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}],需对该字段进行base-64编码后签名上送。 |
 | transTime     | String(14)   | M    | 交易时间,格式:"yyyyMMddHHmmss"                               |
@@ -75,7 +75,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | orderCurrency | String(3)    | M    | 订单币种:ISO标准。如:人民币填写“CNY”,美元填写"USD"        |
 | merID         | String(15)   | M    | 商户 ID,由 AllPay 分配                                      |
 | acqID         | String(11)   | M    | 收单行 ID "99020344"                                         |
-| paymentSchema | String(10)   | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) |
+| paymentSchema | String(10)   | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | RespCode      | String(2)    | M    | 应答码 00-成功                                               |
 | RespMsg       | String(20)   | M    | 应答消息                                                     |
 | transID       | String(32)   | M    | GW 系统生成的交易 ID,每笔交易保持唯一                       |
@@ -101,7 +101,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | orderNum      | String(60) | M    | 订单号                                                       |
 | merID         | String(15) | M    | 商户 ID,由 AllPay 分配                                       |
 | acqID         | String(11) | M    | 收单行 ID "99020344"                                         |
-| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) |
+| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | transTime     | String(14) | M    | 交易时间,格式:"yyyyMMddHHmmss"                               |
 | signType      | String(10) | M    | MD5或SHA256                                                          |
 | signature     | String(32) | M    | 采用 MD5或SHA256 签名                                                |
@@ -117,7 +117,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | transID       | String(32) | M    | GW 系统生成的交易 ID,每笔交易保持唯一                       |
 | merID         | String(15) | M    | 商户 ID,由 AllPay 分配                                      |
 | acqID         | String(11) | M    | 收单行 ID "99020344"                                         |
-| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) |
+| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | RespCode      | String(2)  | M    | 应答码 00-成功                                               |
 | RespMsg       | String(20) | M    | 应答消息                                                     |
 | transTime     | String(14) | M    | 交易时间,格式:"yyyyMMddHHmmss"                             |
@@ -143,7 +143,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | returnAmount  | String(12) | M    | 退款金额:如 100 元,表示为 100 或 100.00                    |
 | orderCurrency | String(3)  | M    | 订单币种:ISO标准 如:人民币填写“CNY”,美元填写"USD"          |
 | merID         | String(15) | M    | 商户 ID,由AllPay 分配                                       |
-| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) |
+| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | acqID         | String(11) | M    | 收单行 ID "99020344"                                         |
 | transTime     | String(14) | M    | 交易时间,格式:"yyyyMMddHHmmss"                             |
 | signType      | String(3)  | M    | MD5或SHA256                                                  |
@@ -160,7 +160,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | transID   | String(32) | M    | GW 系统生成的交易 ID,每笔交易保持唯一         |
 | merID     | String(15) | M    | 商户 ID,由 AllPay 分配                         |
 | acqID     | String(11) | M    | 收单行 ID "99020344"                           |
-| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) |
+| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | RespCode  | String(2)  | M    | 应答码 00-成功                                 |
 | RespMsg   | String(20) | M    | 应答消息                       |
 | transTime | String(14) | M    | 交易时间,格式:"yyyyMMddHHmmss"                 |
@@ -184,7 +184,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | orderNum      | String(60) | M    | 退款订单号                                                   |
 | merID         | String(15) | M    | 商户 ID,由 AllPay 分配                                       |
 | acqID         | String(11) | M    | 收单行 ID "99020344"                                         |
-| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) |
+| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | transTime     | String(14) | M    | 交易时间,格式:"yyyyMMddHHmmss"                               |
 | signType      | String(10) | M    | MD5或SHA256                                                          |
 | signature     | String(32) | M    | 采用 MD5或SHA256 签名                                                |
@@ -200,7 +200,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | transID       | String(32) | M    | GW 系统生成的交易 ID,每笔交易保持唯一                       |
 | merID         | String(15) | M    | 商户 ID,由 AllPay 分配                                      |
 | acqID         | String(11) | M    | 收单行 ID "99020344"                                         |
-| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) |
+| paymentSchema | String(10) | M    | 渠道代码:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | RespCode      | String(2)  | M    | 应答码 00-成功                                               |
 | RespMsg       | String(20) | M    | 应答消息                                                     |
 | transTime     | String(14) | M    | 交易时间,格式:"yyyyMMddHHmmss"                             |
@@ -389,7 +389,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | RespMsg  | String | M    | 应答消息                                                  |
 | tn       | String | O    | 交易流水号,RespCode为“00”时返回,作为调起 sdk 支付的参数 |
 
- 获取到tn后,根据[Android对接文档](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android%E7%AB%AF%E6%8E%A7%E4%BB%B6%E6%94%AF%E4%BB%98%E4%BA%A7%E5%93%81%E6%8E%A5%E5%8F%A3%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3.md)调用SDK进行支付
+ 获取到tn后,根据[Android对接文档](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android_Integration_Specification_CH.md)调用SDK进行支付
 
 #### 6.应答码 
 
@@ -416,9 +416,9 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 
 #### 7.APP模式对接文档
 
-Android对接文档:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android%E7%AB%AF%E6%8E%A7%E4%BB%B6%E6%94%AF%E4%BB%98%E4%BA%A7%E5%93%81%E6%8E%A5%E5%8F%A3%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3.md)
+Android对接文档:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android_Integration_Specification_CH.md)
 
-iOS对接文档:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/v5/ios/iOS%E7%AB%AF%E6%8E%A7%E4%BB%B6%E6%94%AF%E4%BB%98%E4%BA%A7%E5%93%81%E6%8E%A5%E5%8F%A3%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3.md)
+iOS对接文档:[点击这里](https://git.allpayx.com/OpenAPI/common/src/master/v5/ios/iOS_Integration_Specification_CH.md)
 
 #### 8.技术支持
 

+ 3 - 3
AllPay_Integration_Specification_EN.md

@@ -389,7 +389,7 @@ Response message:
 | RespMsg  | String | M    | Response message |
 | tn       | String | O    | Transaction serial number. Required parameter for CA app payment. When RespCode=00 returns it.|
 
- After you get tn,please integrate according to [Android Integration Specification](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android%20Integration%20Specification%20V5.0.0.md)
+ After you get tn,please integrate according to [Android Integration Specification](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android_Integration_Specification_EN.md)
 
 #### 6.RespCode 
 
@@ -416,9 +416,9 @@ Response message:
 
 #### 7.APP mode integration specification
 
-Android Integration Specification:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android%20Integration%20Specification%20V5.0.0.md)
+Android Integration Specification:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android_Integration_Specification_EN.md)
 
-iOS Integration Specification:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/v5/ios/iOS%20Integration%20Specification%20V5.0.0.md)
+iOS Integration Specification:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/v5/ios/iOS_Integration_Specification_EN.md)
 
 #### 8.Technical support
 

+ 2 - 2
v5/android/Android_Integration_Specification_CH.md

@@ -16,7 +16,7 @@ AllPay 为基于移动端 APP 支付的客户提供接入插件(下文简称“S
 
 ##### 3.1. 接入说明 
 
-商户网关将订单信息发送给 AllPay 网关,由 AllPay 网关进行处理后将交易流水号,即 tn,返回给商户网关,tn 作为调起手机 app 支付控件的参数。具体请参考[AllPay网关对接文档](https://git.allpayx.com/OpenAPI/common/src/master/AllPay%E5%9C%A8%E7%BA%BF%E6%94%AF%E4%BB%98%E6%8E%A5%E5%85%A5%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3.md)
+商户网关将订单信息发送给 AllPay 网关,由 AllPay 网关进行处理后将交易流水号,即 tn,返回给商户网关,tn 作为调起手机 app 支付控件的参数。具体请参考[AllPay网关对接文档](https://git.allpayx.com/OpenAPI/common/src/master/AllPay_Integration_Specification_CH.md)
 
 启动支付控件的接口,接口定义如下:
 
@@ -91,7 +91,7 @@ pay_result,为 json 字符串,格式如下:
 报文说明:
 
 - state: "success"代表成功, "cancel"代表用户取消操作,"fail"代表失败,"query"代表 app 需要调用查询接口来确认订单状态
-- paymentSchema: 支付渠道, 详见[渠道列表](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) 
+- paymentSchema: 支付渠道, 详见[渠道列表](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) 
 - orderNum: 订单号
 - errorDetail: 错误详情
 

+ 1 - 1
v5/android/Android_Integration_Specification_EN.md

@@ -16,7 +16,7 @@ AllPay provides access plug-ins (hereinafter referred to as "SDK") for customers
 
 ##### 3.1. Access instructions 
 
-The merchant gateway sends the order information to the AllPay gateway, and the AllPay gateway processes the transaction serial number, ie tn, back to the merchant gateway, and tn is used as a parameter to adjust the mobile app payment control. Please refer to the specific [AllPay Gateway Docking Document](https://git.allpayx.com/OpenAPI/common/src/master/AllPay%20Integration%20Specification%20V5.0.0.md)
+The merchant gateway sends the order information to the AllPay gateway, and the AllPay gateway processes the transaction serial number, ie tn, back to the merchant gateway, and tn is used as a parameter to adjust the mobile app payment control. Please refer to the specific [AllPay Gateway Docking Document](https://git.allpayx.com/OpenAPI/common/src/master/AllPay_Integration_Specification_EN.md)
 
 Start the interface of the payment control, the interface is defined as follows:
 

+ 2 - 2
v5/ios/iOS_Integration_Specification_CH.md

@@ -16,7 +16,7 @@ AllPay 为基于移动端 APP 支付的客户提供接入插件(下文简称“S
 
 ##### 3.1. 接入说明 
 
-商户网关将订单信息发送给 AllPay 网关,由 AllPay 网关进行处理后将交易流水号,即 tn,返回给商户网关,tn 作为调起手机 app 支付控件的参数。[AllPay网关对接文档](https://git.allpayx.com/OpenAPI/common/src/master/AllPay%20%E5%9C%A8%E7%BA%BF%E6%94%AF%E4%BB%98%E6%8E%A5%E5%85%A5%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3.md)
+商户网关将订单信息发送给 AllPay 网关,由 AllPay 网关进行处理后将交易流水号,即 tn,返回给商户网关,tn 作为调起手机 app 支付控件的参数。[AllPay网关对接文档](https://git.allpayx.com/OpenAPI/common/src/master/AllPay_Integration_Specification_CH.md)
 
 启动支付控件的接口,接口定义如下:
 
@@ -92,7 +92,7 @@ resultDic,转为 json 字符串,格式如下:
 | 参数          |                             说明                             |
 | ------------- | ---------------------------------------------------------- |
 | state         | "success"代表成功, "cancel"代表用户取消操作, "fail"代表失败  |
-| paymentSchema | 支付渠道, 详见[渠道列表](https://git.allpayx.com/OpenAPI/common/src/master/%E6%B8%A0%E9%81%93.md) |
+| paymentSchema | 支付渠道, 详见[渠道列表](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | orderNum      | 订单号 |
 | errorDetail   | 错误详情 |
 

+ 1 - 1
v5/ios/iOS_Integration_Specification_EN.md

@@ -16,7 +16,7 @@ AllPay provides access plug-ins (hereinafter referred to as "SDK") for customers
 
 ##### 3.1. Access instructions 
 
-The merchant gateway sends the order information to the AllPay gateway, and the AllPay gateway processes the transaction serial number, ie tn, back to the merchant gateway, and tn is used as a parameter to adjust the mobile app payment control. Please refer to the specific [AllPay Gateway Docking Document](https://git.allpayx.com/OpenAPI/common/src/master/AllPay%20Integration%20Specification%20V5.0.0.md)
+The merchant gateway sends the order information to the AllPay gateway, and the AllPay gateway processes the transaction serial number, ie tn, back to the merchant gateway, and tn is used as a parameter to adjust the mobile app payment control. Please refer to the specific [AllPay Gateway Docking Document](https://git.allpayx.com/OpenAPI/common/src/master/AllPay_Integration_Specification_EN.md)
 
 Start the interface of the payment control, the interface is defined as follows: