浏览代码

Merge branch 'test'

tao.zhou 4 年之前
父节点
当前提交
7881a2aa46

文件差异内容过多而无法显示
+ 127 - 659
AllPay_Integration_Specification_CH.md


文件差异内容过多而无法显示
+ 89 - 589
AllPay_Integration_Specification_EN.md


+ 38 - 0
bindCardPayExclusive_CH.md

@@ -0,0 +1,38 @@
+## 渠道专属配置
+
+### 1 FC渠道
+
+#### 1.1 绑卡支付
+
+  绑卡分两种模式
+
+  (1) 用户在商户平台选择添加卡,然后跳转至GoAllPay的绑卡页面,用户在此页面输入卡号信息。绑卡失败,则返失败通知给商户;绑卡成功,返回“token+customerID+卡号后四位”给商户。
+
+  专属字段
+
+| 参数      | 类型   | 属性 | 描述 |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+  (2) 商户自己收集卡号信息通过API送到GoAllPay网关。
+
+  专属字段
+
+| 参数       | 类型   | 属性 | 描述              |
+| ---------- | ------ | ---- | ----------------- |
+| tradeFrom  | String | M    | "API"             |
+| cardno     | String | M    | 卡号              |
+| cvv2       | String | M    | cvv2              |
+| ExpiryDate | String | M    | 有效期:格式 MM/YY |
+
+```javascript
+测试卡:
+
+卡号: 4761340000000019
+有效期: 1217
+CVV2: 830
+
+卡号: 5204730000002555
+有效期: 1225
+CVV2: 123
+```

+ 36 - 0
bindCardPayExclusive_EN.md

@@ -0,0 +1,36 @@
+### 1 FC
+
+#### 1.1 Bound card payment
+
+There are two modes of card binding
+
+(1) The user chooses to add a card on the merchant platform, and then jumps to the card binding page of GoAllPay. The user enters the card number information on this page. If the card binding fails, the merchant will be notified of the failure; if the card binding is successful, "token + customerID + the last four digits of the card number" will be returned to the merchant.
+
+ Exclusive field
+
+| Parameter | Type | Required | Description |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+(2) The merchant collects the card number information by himself and sends it to the GoAllPay gateway through the API.
+
+ Exclusive field
+
+| Parameter | Type | Required | Description |
+| ---------- | ------ | ---- | ----------------- |
+| tradeFrom  | String | M    | "API"             |
+| cardno     | String | M    | Card number              |
+| cvv2       | String | M    | cvv2              |
+| ExpiryDate | String | M    | Validity period: Format MM / YY |
+
+```javascript
+Test card:
+
+Card Number: 4761340000000019
+Expiry Date: 1217
+CVV2: 830
+
+Card Number: 5204730000002555
+Expiry Date: 1225
+CVV2: 123
+```

+ 521 - 0
payExclusive_CH.md

@@ -0,0 +1,521 @@
+## 渠道专属配置
+
+### 1 WX渠道
+
+#### 1.1 二维码无跳转模式
+
+ 该模式返回生成二维码的字符串,商户需要自己生成二维码。
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "QRCODE" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                            |
+| -------- | ------ | ---- | ------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                  |
+| RespMsg  | String | M    | 应答消息        |
+| code_url | String | O    | 二维码字符串。应答码为00返回该字段 |
+
+#### 1.2 二维码跳转模式
+
+该模式会为商户跳转到GoAllPay生成好的二维码页面,无需商户自己生成。
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述    |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "QUICK" |
+
+#### 1.3 公众号支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述    |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "JSAPI" |
+
+#### 1.4 小程序支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述       |
+| --------- | ------ | ---- | ---------- |
+| tradeFrom | String | M    | "APPLET"   |
+| openid    | String | M    | 微信openid |
+
+应答报文:
+
+| 参数       | 类型   | 属性 | 描述                                                   |
+| ---------- | ------ | ---- | ------------------------------------------------------ |
+| RespCode   | String | M    | 应答码 00-成功                                         |
+| RespMsg    | String | M    | 应答消息                                               |
+| sdk_params | String | O    | 小程序支付所需参数(JSON字符串)。应答码为00返回该字段 |
+
+将上述返回数据放入微信小程序支付接口,即可调起支付,具体方法,参考微信官方小程序API。
+
+#### 1.5 APP支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                                                      |
+| -------- | ------ | ---- | --------------------------------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                                            |
+| RespMsg  | String | M    | 应答消息                                                  |
+| tn       | String | O    | 交易流水号,RespCode为“00”时返回,作为调起 sdk 支付的参数 |
+
+获取到tn后,根据APP对接文档调用SDK进行支付。
+
+### 2 AP渠道
+
+#### 2.1 WebSite支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "WEB" |
+
+#### 2.2 H5支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述    |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "JSAPI" |
+
+#### 2.3 APP支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                                                      |
+| -------- | ------ | ---- | --------------------------------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                                            |
+| RespMsg  | String | M    | 应答消息                                                  |
+| tn       | String | O    | 交易流水号,RespCode为“00”时返回,作为调起 sdk 支付的参数 |
+
+获取到tn后,根据APP对接文档调用SDK进行支付。
+
+#### 2.4 二维码无跳转模式
+
+ 该模式返回生成二维码的字符串,商户需要自己生成二维码。
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "QRCODE" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                               |
+| -------- | ------ | ---- | ---------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                     |
+| RespMsg  | String | M    | 应答消息                           |
+| code_url | String | O    | 二维码字符串。应答码为00返回该字段 |
+
+#### 2.5 小程序支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "APPLET" |
+
+应答报文:
+
+| 参数       | 类型   | 属性 | 描述                                     |
+| ---------- | ------ | ---- | ---------------------------------------- |
+| RespCode   | String | M    | 应答码 00-成功                           |
+| RespMsg    | String | M    | 应答消息                                 |
+| sdk_params | String | O    | 小程序支付所需参数。应答码为00返回该字段 |
+
+将上述返回数据放入支付宝小程序支付接口,即可调起支付,具体方法,参考支付宝官方小程序API。
+
+### 3 UP渠道
+
+#### 3.1 H5支付,自适应PC和移动端
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述 |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+#### 3.2 APP支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                                                      |
+| -------- | ------ | ---- | ------------------------------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                                           |
+| RespMsg  | String | M    | 应答消息                                                 |
+| tn       | String | O    | 交易流水号,RespCode为“00”时返回,作为调起 sdk 支付的参数 |
+
+获取到tn后,根据APP对接文档调用SDK进行支付。
+
+#### 3.3 二维码无跳转模式
+
+ 该模式返回生成二维码的字符串,商户需要自己生成二维码。
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "QRCODE" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                               |
+| -------- | ------ | ---- | ---------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                     |
+| RespMsg  | String | M    | 应答消息                           |
+| code_url | String | O    | 二维码字符串。应答码为00返回该字段 |
+
+
+```javascript
+测试卡:
+
+Credit card:6250947000000014
+mobile:+852 11112222
+cvn2:  123
+exp date: month 12 year 33
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+
+Debit card:6223164991230014
+mobile:13012345678
+PIN: 111111
+cvn2:  123
+exp date: month 12 year 33
+SMS Code on PC:111111
+SMS Code on Mobile:123456
+
+Credit card:8171999927660000
+mobile:+852 11112222
+cvn2:  123
+exp date: month 12 year 30
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+```
+
+### 4 Apple Pay渠道
+
+#### 4.1 APP支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                                                      |
+| -------- | ------ | ---- | ------------------------------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                                            |
+| RespMsg  | String | M    | 应答消息                                                  |
+| tn       | String | O    | 交易流水号,RespCode为“00”时返回,作为调起 sdk 支付的参数 |
+
+获取到tn后,根据APP对接文档调用SDK进行支付。
+
+### 5 CA渠道
+
+#### 5.1 APP支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                                                      |
+| -------- | ------ | ---- | --------------------------------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                                            |
+| RespMsg  | String | M    | 应答消息                                                  |
+| tn       | String | O    | 交易流水号,RespCode为“00”时返回,作为调起 sdk 支付的参数 |
+
+ 获取到tn后,根据[Android对接文档](/v5/android/Android_Integration_Specification_CH.md)调用SDK进行支付
+
+### 6 MIPAY渠道
+
+#### 6.1 H5支付
+
+ 消费接口专属字段
+
+| 参数       | 类型   | 属性 | 描述                                                         |
+| ---------- | ------ | ---- | ------------------------------------------------------------ |
+| tradeFrom  | String | M    | "H5"                                                         |
+| firstname  | String | M    | This is name of the customer who is doing the transaction.   |
+| email      | String | M    | this is email id of the customer who is doing transaction    |
+| phone      | String | M    | Phone number of the customer                                 |
+| customerId | String | O    | Customer ID, when client register on merchant, merchant distribute it to client. |
+
+```javascript
+测试环境配置:
+
+修改测试机器hosts,添加如下两条信息
+114.80.87.249 account.preview.n.xiaomi.net
+114.80.87.249 api.account.preview.n.xiaomi.net
+
+测试卡:
+
+卡号:5123456789012346
+有效期:0520
+cvv:123
+```
+
+### 7 EB渠道
+
+#### 7.1 H5支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述                                                       |
+| --------- | ------ | ---- | ---------------------------------------------------------- |
+| tradeFrom | String | M    | "H5"                                                       |
+| firstname | String | M    | This is name of the customer who is doing the transaction. |
+| email     | String | M    | this is email id of the customer who is doing transaction  |
+| phone     | String | M    | Phone number of the customer                               |
+
+### 8 PF渠道
+
+#### 8.1 H5支付
+
+ 消费接口专属字段
+
+| 参数         | 类型   | 属性 | 描述                                                         |
+| ------------ | ------ | ---- | ------------------------------------------------------------ |
+| tradeFrom    | String | M    | "H5"                                                         |
+| showShipAddr | String | M    | "1":显示账单填写表单, "0":不显示账单填写表单                 |
+| shipAddr     | String | O    | shipAddr=base64(json) <br>{"first_name":"wei","last_name":"wei","street":"address_line1","house_number":"address_line2","address_city":"new york","address_state":"new york","country_id":"us","address_zip":"10022","phone_num":"13512345678","email_address":"123@126.com"} |
+
+```javascript
+测试卡:
+
+Card Number: 4242424242424242
+Expriation Date: 1122
+CVC: 111
+```
+
+### 9 APHK渠道
+
+#### 9.1 H5支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述    |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "JSAPI" |
+
+#### 9.2 二维码无跳转模式
+
+ 该模式返回生成二维码的字符串,商户需要自己生成二维码。
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "QRCODE" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                               |
+| -------- | ------ | ---- | ---------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                     |
+| RespMsg  | String | M    | 应答消息                           |
+| code_url | String | O    | 二维码字符串。应答码为00返回该字段 |
+
+#### 9.3 APP支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                                                      |
+| -------- | ------ | ---- | --------------------------------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                                            |
+| RespMsg  | String | M    | 应答消息                                                  |
+| tn       | String | O    | 交易流水号,RespCode为“00”时返回,作为调起 sdk 支付的参数 |
+
+获取到tn后,根据APP对接文档调用SDK进行支付。
+
+### 10 FC渠道
+
+#### 10.1 H5支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述 |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+```javascript
+测试卡:
+
+卡号: 4761340000000019
+有效期: 1217
+CVV2: 830
+
+卡号: 5204730000002555
+有效期: 1225
+CVV2: 123
+```
+
+### 11 RevPay渠道
+
+#### 11.1 H5支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "H5"     |
+| bankCode  | String | M    | 银行代码。测试环境填写TEST0021,生产环境[点击此处查看详情](RevPayBankCode.md) |
+
+```javascript
+测试卡信息:
+FPX Test Card
+Payment ID : 3
+Bank Code : TEST0021
+Bank Name : SBI Bank A
+User Id : 1234
+Password : 1234
+```
+
+### 12 AliPayLocal渠道
+
+#### 12.1 H5支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述    |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "H5" |
+| sub_brand_code | String | M | "gcash","dana"选其中一个上送 |
+
+### 13 PO渠道
+
+#### 13.1 H5支付
+
+ 消费接口专属字段
+
+| 参数              | 类型   | 属性 | 描述                                                         |
+| ----------------- | ------ | ---- | ------------------------------------------------------------ |
+| tradeFrom         | String | M    | "H5"                                                         |
+| countrycode       | String | M    | The 2-letter ISO country code of the country in which the payment instrument is issued/operated (e.g. DE). For details see [payment method specific documentation](countrycode.md). |
+| accountholdername | String | M    | The account holder - minimum of 3 characters, up to 100 charac- ters. |
+| tag               | String | M    | 取值如下:directpay, boleto, webpay, trustpay, skrill, singpost, sepaddmodela, safetypay, qiwi, p24, poli, paysafecard, mybank, itau, ideal, hipercard, giropay, eps, enets, dragonpay, bancodobrasil, baloto, aura, payu, bcmc |
+
+##### 13.1.1 当 tag 为 paysafecard 时,还需另外增加下面字段
+
+| 参数        | 类型   | 属性 | 描述                                                         |
+| ----------- | ------ | ---- | ------------------------------------------------------------ |
+| consumerref | String | M    | Unique reference identifying the consumer, has to satisfy the regular expression [A-Za-z0-9.%,&/+*$-]{1,20} |
+
+##### 13.1.2 当 tag 为 aura, baloto, bancodobrasil, boleto, hipercard, itau, webpay 时,还需另外增加下面字段
+
+| 参数        | 类型   | 属性 | 描述                                                         |
+| ----------- | ------ | ---- | ------------------------------------------------------------ |
+| consumerref | String | M    | Unique reference identifying the consumer, has to satisfy the regular expression [A-Za-z0-9.%,&/+*$-]{1,20} |
+| nationalid  | String | M    | Consumer’s national id (up to 30 characters)                 |
+| email       | String | M    | RFC compliant email address of the account holder            |
+| address     | String | M    | Consumer's address                                           |
+| zipcode     | String | M    | Consumer's zip/postal code                                   |
+| dob         | String | O    | Date of birth, format YYYYMMDD                               |
+
+##### 13.1.3 当 tag 为 dragonpay, enets, singpost 时,还需另外增加下面字段
+
+| 参数  | 类型   | 属性 | 描述                                                   |
+| ----- | ------ | ---- | ------------------------------------------------------ |
+| email | String | M    | RFC compliant email address of the account holder      |
+| phone | String | M    | Valid international phone number of the account holder |
+
+##### 13.1.4 当 tag 为 giropay, directpay 时,还需另外增加下面字段
+
+| 参数 | 类型   | 属性 | 描述                                                        |
+| ---- | ------ | ---- | ----------------------------------------------------------- |
+| bic  | String | O    | Valid BIC (8 or 11 alphanumeric letters) of consumer’s bank |
+
+##### 13.1.5 当 tag 为 payu, p24, safetypay 时,还需另外增加下面字段
+
+| 参数  | 类型   | 属性 | 描述                                              |
+| ----- | ------ | ---- | ------------------------------------------------- |
+| email | String | M    | RFC compliant email address of the account holder |
+
+##### 13.1.6 当 tag 为 qiwi 时,还需另外增加下面字段
+
+| 参数        | 类型   | 属性 | 描述                                                         |
+| ----------- | ------ | ---- | ------------------------------------------------------------ |
+| mobilephone | String | M    | Valid international Russian mobile phone number identifying the QIWI destination account to pay out to (excluding plus sign or any other international prefixes, including a leading 7 for Russia, 11 digits in total, e.g. 71234567890). |
+| siteid      | String | M    | Unique site identifier, forwarded to qiwi. Required for clients serving multiple points of sale. |
+
+##### 13.1.7 当 tag 为 skrill 时,还需另外增加下面字段
+
+| 参数    | 类型   | 属性 | 描述                                              |
+| ------- | ------ | ---- | ------------------------------------------------- |
+| email   | String | O    | RFC compliant email address of the account holder |
+| address | String | O    | Consumer's address                                |
+| zipcode | String | O    | Consumer's zip/postal code                        |
+| city    | String | O    | Consumer’s city                                   |
+
+##### 13.1.8 当 tag 为 sepaddmodela 时,还需另外增加下面字段
+
+| 参数  | 类型   | 属性 | 描述                                              |
+| ----- | ------ | ---- | ------------------------------------------------- |
+| email | String | M    | RFC compliant email address of the account holder |
+| iban  | String | M    | Valid IBAN                                        |
+
+##### 13.1.9 当 tag 为 bcmc 时,还需另外增加下面字段
+
+| 参数  | 类型   | 属性 | 描述                                              |
+| ----- | ------ | ---- | ------------------------------------------------- |
+| BEPURL | String | O    | Trigger URL for mobile payment options in the form BEP://1BC.GIROGATE.DE/BCMC/123456789$ICAE3BUIH5P9U53Y5HKA9CRT (contrived example). |
+
+### 14 India_Netbanking渠道
+
+#### 14.1 H5支付
+
+ 消费接口专属字段
+
+| 参数      | 类型   | 属性 | 描述 |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+| bank_code | String | M    |[见列表](India_Netbanking_BankCode.md) |
+| email | String | M    | Must contain valid e-mail of customer|
+| phone | String | M    | Must contain valid phone number of customer |
+| firstname | String | M    | Customer first name |
+| lastname | String | M    | Customer last name |
+| address | String | M    | address |
+| zip_code | String | M    | ZIP code |
+| city | String | M    | City |
+| country | String | M    |Country code in ISO 3166|
+| state | String | M    | State code in ISO 3166-2, required for USA and Canada |
+| document_id | String | M    | Document ID of the consumer.|

+ 514 - 0
payExclusive_EN.md

@@ -0,0 +1,514 @@
+## Channel exclusive allocation
+
+### 1 WX
+
+#### 1.1 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. |
+
+#### 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
+
+| Parameter      | Type   | Required | Description    |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "QUICK" |
+
+#### 1.3 WeChat Official Accounts payment
+
+ Purchase interface specific fields
+
+| Parameter      | Type   | Required | Description    |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "JSAPI" |
+
+#### 1.4 WeChat Mini Programs payment
+
+ Purchase interface specific fields
+
+| Parameter      | Type   | Required | Description       |
+| --------- | ------ | ---- | ---------- |
+| tradeFrom | String | M    | "APPLET"   |
+| openid    | String | M    | Wechat openid |
+
+Response message:
+
+| Parameter       | Type   | Required | Description                                                   |
+| ---------- | ------ | ---- | ------------------------------------------------------ |
+| RespCode   | String | M    | 00 stands for success; 01 stands for fail.                                         |
+| RespMsg    | String | M    | Response message                                               |
+| sdk_params | String | O    | Required parameter for Mini Program payment(JSON). When RespCode=00 returns it. |
+
+Parameter sdk_params is used to call up the WeChat Mini Programs payment. Please refer to the WeChat Mini Programs integration specification.
+
+#### 1.5 APP mode
+
+ Purchase interface specific fields
+
+| Parameter      | Type   | Required | Description  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+Response message:
+
+| 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. |
+
+After getting tn, call the SDK to pay according to APP document.
+
+### 2 AP
+
+#### 2.1 WebSite mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "WEB" |
+
+#### 2.2 H5 mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "JSAPI" |
+
+#### 2.3 APP mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+Response message:
+
+| 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. |
+
+After getting tn, call the SDK to pay according to APP document.
+
+#### 2.4 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. |
+
+#### 2.5 Alipay Mini Programs payment
+
+ Purchase interface specific fields
+
+| Parameter      | Type   | Required | Description       |
+| --------- | ------ | ---- | ---------- |
+| tradeFrom | String | M    | "APPLET"   |
+
+Response message:
+
+| Parameter       | Type   | Required | Description                                                   |
+| ---------- | ------ | ---- | ------------------------------------------------------ |
+| RespCode   | String | M    | 00 stands for success; 01 stands for fail.                                         |
+| RespMsg    | String | M    | Response message                                               |
+| sdk_params | String | O    | Required parameter for Mini Program payment(JSON). When RespCode=00 returns it. |
+
+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.1 H5 mode, adaptive PC and mobile
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+#### 3.2 APP mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+Response message:
+
+| 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. |
+
+After getting tn, call the SDK to pay according to APP document.
+
+#### 3.3 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. |
+
+```javascript
+Test cards:
+
+Credit card:6250947000000014
+mobile:+852 11112222
+cvn2:  123
+exp date: month 12 year 33
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+
+Debit card:6223164991230014
+mobile:13012345678
+PIN: 111111
+cvn2:  123
+exp date: month 12 year 33
+SMS Code on PC:111111
+SMS Code on Mobile:123456
+
+Credit card:8171999927660000
+mobile:+852 11112222
+cvn2:  123
+exp date: month 12 year 30
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+```
+
+### 4 Apple Pay
+
+#### 4.1 APP mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+Response message:
+
+| 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. |
+
+After getting tn, call the SDK to pay according to APP document.
+
+### 5 CA
+
+#### 5.1 APP mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+Response message:
+
+| 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 CA app payment. When RespCode=00 returns it.|
+
+ After you get tn,please integrate according to [Android Integration Specification](/v5/android/Android_Integration_Specification_EN.md)
+
+### 6 MIPAY
+
+#### 6.1 H5 mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| ---------- | ------ | ---- | ------------------------------------------------------------ |
+| tradeFrom  | String | M    | "H5"                                                         |
+| firstname  | String | M    | This is name of the customer who is doing the transaction.   |
+| email      | String | M    | this is email id of the customer who is doing transaction    |
+| phone      | String | M    | Phone number of the customer                                 |
+| customerId | String | O    | Customer ID, when client register on merchant, merchant distribute it to client. |
+
+```javascript
+Test environment configuration:
+
+Modify the test machine hosts file, add the following two information.
+114.80.87.249 account.preview.n.xiaomi.net
+114.80.87.249 api.account.preview.n.xiaomi.net
+
+Test card:
+
+Card number:5123456789012346
+Validity period:0520
+cvv:123
+```
+
+### 7 EB
+
+#### 7.1 H5 mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ---------------------------------------------------------- |
+| tradeFrom | String | M    | "H5"                                                       |
+| firstname | String | M    | This is name of the customer who is doing the transaction. |
+| email     | String | M    | this is email id of the customer who is doing transaction  |
+| phone     | String | M    | Phone number of the customer                               |
+
+### 8 PF
+
+#### 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  |
+
+```javascript
+Test card:
+
+Card Number: 4242424242424242
+Expriation Date: 1122
+CVC: 111
+```
+
+### 9 APHK
+
+#### 9.1 H5 mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "JSAPI" |
+
+#### 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. |
+
+#### 9.3 APP mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+Response message:
+
+| 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. |
+
+After getting tn, call the SDK to pay according to APP document.
+
+### 10 FC
+
+#### 10.1 H5 mode
+
+ Purchase interface specific fields
+
+| Parameter | Type | Required | Description |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+```javascript
+Test card:
+
+Card Number: 4761340000000019
+Expiry Date: 1217
+CVV2: 830
+
+Card Number: 5204730000002555
+Expiry Date: 1225
+CVV2: 123
+```
+
+### 11 RevPay
+
+#### 11.1 H5 mode
+
+| Parameter      | Type   | Required | Description     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "H5"     |
+| bankCode  | String | M    | Bank Code. Test environment filled in TEST0021, production environment [click here for details](RevPayBankCode.md) |
+
+```javascript
+Test card:
+FPX Test Card
+Payment ID : 3
+Bank Code : TEST0021
+Bank Name : SBI Bank A
+User Id : 1234
+Password : 1234
+```
+
+### 12 AliPayLocal
+
+#### 12.1 H5 mode
+
+| Parameter      | Type   | Required | Description     |
+| --------- | ------ | ---- | ------- |
+| tradeFrom | String | M    | "H5" |
+| sub_brand_code | String | M | "gcash" or "dana" |
+
+### 13 PO
+
+#### 13.1 H5 mode
+
+| Parameter      | Type   | Required | Description     |
+| ----------------- | ------ | ---- | ------------------------------------------------------------ |
+| tradeFrom         | String | M    | "H5"                                                         |
+| countrycode       | String | M    | The 2-letter ISO country code of the country in which the payment instrument is issued/operated (e.g. DE). For details see [payment method specific documentation](countrycode.md). |
+| accountholdername | String | M    | The account holder - minimum of 3 characters, up to 100 charac- ters. |
+| tag               | String | M    | Value:directpay, boleto, webpay, trustpay, skrill, singpost, sepaddmodela, safetypay, qiwi, p24, poli, paysafecard, mybank, itau, ideal, hipercard, giropay, eps, enets, dragonpay, bancodobrasil, baloto, aura, payu, bcmc |
+
+##### 13.1.1 When tag is paysafecard, you should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| ----------- | ------ | ---- | ------------------------------------------------------------ |
+| consumerref | String | M    | Unique reference identifying the consumer, has to satisfy the regular expression [A-Za-z0-9.%,&/+*$-]{1,20} |
+
+##### 13.1.2 When tag is in aura, baloto, bancodobrasil, boleto, hipercard, itau, webpay , you should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| ----------- | ------ | ---- | ------------------------------------------------------------ |
+| consumerref | String | M    | Unique reference identifying the consumer, has to satisfy the regular expression [A-Za-z0-9.%,&/+*$-]{1,20} |
+| nationalid  | String | M    | Consumer’s national id (up to 30 characters)                 |
+| email       | String | M    | RFC compliant email address of the account holder            |
+| address     | String | M    | Consumer's address                                           |
+| zipcode     | String | M    | Consumer's zip/postal code                                   |
+| dob         | String | O    | Date of birth, format YYYYMMDD                               |
+
+##### 13.1.3 When tag is in dragonpay, enets, singpost , you should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| ----- | ------ | ---- | ------------------------------------------------------ |
+| email | String | M    | RFC compliant email address of the account holder      |
+| phone | String | M    | Valid international phone number of the account holder |
+
+##### 13.1.4 When tag is in giropay, directpay, you should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| ---- | ------ | ---- | ----------------------------------------------------------- |
+| bic  | String | O    | Valid BIC (8 or 11 alphanumeric letters) of consumer’s bank |
+
+##### 13.1.5 When tag is in payu, p24, safetypay, you should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| ----- | ------ | ---- | ------------------------------------------------- |
+| email | String | M    | RFC compliant email address of the account holder |
+
+##### 13.1.6 When tag is qiwi, you should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| ----------- | ------ | ---- | ------------------------------------------------------------ |
+| mobilephone | String | M    | Valid international Russian mobile phone number identifying the QIWI destination account to pay out to (excluding plus sign or any other international prefixes, including a leading 7 for Russia, 11 digits in total, e.g. 71234567890). |
+| siteid      | String | M    | Unique site identifier, forwarded to qiwi. Required for clients serving multiple points of sale. |
+
+##### 13.1.7 When tag is skrill, you should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| ------- | ------ | ---- | ------------------------------------------------- |
+| email   | String | O    | RFC compliant email address of the account holder |
+| address | String | O    | Consumer's address                                |
+| zipcode | String | O    | Consumer's zip/postal code                        |
+| city    | String | O    | Consumer’s city                                   |
+
+##### 13.1.8 When tag is is sepaddmodela, you should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| ----- | ------ | ---- | ------------------------------------------------- |
+| email | String | M    | RFC compliant email address of the account holder |
+| iban  | String | M    | Valid IBAN                                        |
+
+##### 13.1.9 When tag is bcmc, you should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| ----- | ------ | ---- | ------------------------------------------------- |
+| BEPURL | String | O    | Trigger URL for mobile payment options in the form BEP://1BC.GIROGATE.DE/BCMC/123456789$ICAE3BUIH5P9U53Y5HKA9CRT (contrived example). |
+
+### 14 India_Netbanking
+
+#### 14.1 H5 mode
+
+You should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+| bank_code | String | M    | [bank list](India_Netbanking_BankCode.md) |
+| email | String | M    | Must contain valid e-mail of customer|
+| phone | String | M    | Must contain valid phone number of customer |
+| firstname | String | M    | Customer first name |
+| lastname | String | M    | Customer last name |
+| address | String | M    | address |
+| zip_code | String | M    | ZIP code |
+| city | String | M    | City |
+| country | String | M    |Country code in ISO 3166|
+| state | String | M    | State code in ISO 3166-2, required for USA and Canada |
+| document_id | String | M    | Document ID of the consumer.|

+ 16 - 16
paymentSchema.md

@@ -1,18 +1,18 @@
 # Channel list
-Serial number |Channel name  |Channel ID|Remark 
- -----|-----|----|------
- 1 | WeChat Pay |WX|WeChat Pay
- 2 | CCAvenue |CA| CCAvenue 
- 3 | Alipay |AP| Alipay
- 4 | UnionPay |UP| UnionPay
- 5 | Apple Pay |APP| Apple Pay
- 6 | Mi Pay |MIPAY| Mi Pay 
- 7 | Easebuzz |EB| Easebuzz 
- 8 | PassPay |PF| PassPay 
- 9 | International card |FC| International card 
- 10 | Alipay HK |APHK| Alipay HK 
- 11 | RevPay |RevPay| Malaysia Online Banking 
- 12 | AliPayLocal |AliPayLocal| Alipay Philippine wallet 
- 13 | PO |PO| PO
- 14 | India_Netbanking |India_Netbanking| India_Netbanking 
+Channel name  |Channel ID
+ -----|----
+WeChat Pay |WX
+Alipay |AP
+UnionPay |UP
+Apple Pay |APP
+CCAvenue |CA
+Mi Pay |MIPAY
+Easebuzz |EB
+PassPay |PF
+International card |FC
+Alipay HK |APHK
+RevPay |RevPay 
+AliPayLocal |AliPayLocal
+PO |PO
+India_Netbanking |India_Netbanking
 

+ 119 - 0
preAuthorizationExclusive_CH.md

@@ -0,0 +1,119 @@
+## 渠道专属配置
+
+### 1 UP渠道
+
+#### 1.1 H5支付,自适应PC和移动端
+
+ 预授权接口专属字段
+
+| 参数      | 类型   | 属性 | 描述 |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+#### 1.2 APP支付
+
+ 预授权接口专属字段
+
+| 参数      | 类型   | 属性 | 描述  |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+应答报文:
+
+| 参数     | 类型   | 属性 | 描述                                                      |
+| -------- | ------ | ---- | ------------------------------------------------------- |
+| RespCode | String | M    | 应答码 00-成功                                           |
+| RespMsg  | String | M    | 应答消息                                                 |
+| tn       | String | O    | 交易流水号,RespCode为“00”时返回,作为调起 sdk 支付的参数 |
+
+获取到tn后,根据APP对接文档调用SDK进行支付。
+
+```javascript
+测试卡:
+
+Credit card:6250947000000014
+mobile:+852 11112222
+cvn2:  123
+exp date: month 12 year 33
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+
+Debit card:6223164991230014
+mobile:13012345678
+PIN: 111111
+cvn2:  123
+exp date: month 12 year 33
+SMS Code on PC:111111
+SMS Code on Mobile:123456
+
+Credit card:8171999927660000
+mobile:+852 11112222
+cvn2:  123
+exp date: month 12 year 30
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+```
+
+### 2 FC渠道
+
+#### 2.1 H5支付
+
+ 预授权接口专属字段
+
+| 参数      | 类型   | 属性 | 描述 |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+```javascript
+测试卡:
+
+卡号: 4761340000000019
+有效期: 1217
+CVV2: 830
+
+卡号: 5204730000002555
+有效期: 1225
+CVV2: 123
+```
+
+### 3 RevPay渠道
+
+#### 3.1 H5支付
+
+ 预授权接口专属字段
+
+| 参数      | 类型   | 属性 | 描述     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "H5"     |
+| bankCode  | String | M    | 银行代码。测试环境填写TEST0021,生产环境[点击此处查看详情](RevPayBankCode.md) |
+
+```javascript
+测试卡信息:
+FPX Test Card
+Payment ID : 3
+Bank Code : TEST0021
+Bank Name : SBI Bank A
+User Id : 1234
+Password : 1234
+```
+
+### 4 India_Netbanking渠道
+
+#### 4.1 H5支付
+
+ 预授权接口专属字段
+
+| 参数      | 类型   | 属性 | 描述 |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+| bank_code | String | M    |[见列表](India_Netbanking_BankCode.md) |
+| email | String | M    | Must contain valid e-mail of customer|
+| phone | String | M    | Must contain valid phone number of customer |
+| firstname | String | M    | Customer first name |
+| lastname | String | M    | Customer last name |
+| address | String | M    | address |
+| zip_code | String | M    | ZIP code |
+| city | String | M    | City |
+| country | String | M    |Country code in ISO 3166|
+| state | String | M    | State code in ISO 3166-2, required for USA and Canada |
+| document_id | String | M    | Document ID of the consumer.|

+ 117 - 0
preAuthorizationExclusive_EN.md

@@ -0,0 +1,117 @@
+## Channel exclusive allocation
+
+### 1 UP
+
+#### 1.1 H5 mode, adaptive PC and mobile
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+#### 1.2 APP mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "APP" |
+
+Response message:
+
+| 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. |
+
+After getting tn, call the SDK to pay according to Section 7 of this document.
+
+```javascript
+Test cards:
+
+Credit card:6250947000000014
+mobile:+852 11112222
+cvn2:  123
+exp date: month 12 year 33
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+
+Debit card:6223164991230014
+mobile:13012345678
+PIN: 111111
+cvn2:  123
+exp date: month 12 year 33
+SMS Code on PC:111111
+SMS Code on Mobile:123456
+
+Credit card:8171999927660000
+mobile:+852 11112222
+cvn2:  123
+exp date: month 12 year 30
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+```
+
+### 2 FC
+
+#### 2.1 H5 mode
+
+ Purchase/Pre-authorization interface specific fields
+
+| Parameter | Type | Required | Description |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+```javascript
+Test card:
+
+Card Number: 4761340000000019
+Expiry Date: 1217
+CVV2: 830
+
+Card Number: 5204730000002555
+Expiry Date: 1225
+CVV2: 123
+```
+
+### 3 RevPay
+
+#### 3.1 H5 mode
+
+| Parameter      | Type   | Required | Description     |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "H5"     |
+| bankCode  | String | M    | Bank Code. Test environment filled in TEST0021, production environment [click here for details](RevPayBankCode.md) |
+
+```javascript
+Test card:
+FPX Test Card
+Payment ID : 3
+Bank Code : TEST0021
+Bank Name : SBI Bank A
+User Id : 1234
+Password : 1234
+```
+
+### 4 India_Netbanking
+
+#### 4.1 H5 mode
+
+You should add the following parameters:
+
+| Parameter      | Type   | Required | Description     |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+| bank_code | String | M    | [bank list](India_Netbanking_BankCode.md) |
+| email | String | M    | Must contain valid e-mail of customer|
+| phone | String | M    | Must contain valid phone number of customer |
+| firstname | String | M    | Customer first name |
+| lastname | String | M    | Customer last name |
+| address | String | M    | address |
+| zip_code | String | M    | ZIP code |
+| city | String | M    | City |
+| country | String | M    |Country code in ISO 3166|
+| state | String | M    | State code in ISO 3166-2, required for USA and Canada |
+| document_id | String | M    | Document ID of the consumer.|

+ 3 - 3
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_Integration_Specification_CH.md)
+商户网关将订单信息发送给 AllPay 网关,由 AllPay 网关进行处理后将交易流水号,即 tn,返回给商户网关,tn 作为调起手机 app 支付控件的参数。具体请参考[AllPay网关对接文档](../../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/paymentSchema.md) 
+- paymentSchema:支付渠道,详见[渠道列表](../../paymentSchema.md) 
 - orderNum:订单号
 - errorDetail:错误详情
 
@@ -117,7 +117,7 @@ compile(name: 'alipaySdk', ext: 'aar')
 
 ## 5.SDK下载
 
-[安卓SDK下载地址](https://git.allpayx.com/OpenAPI/common/raw/master/v5/android/android_sdk.zip)
+[安卓SDK下载地址](android_sdk.zip)
 
 ## 6.技术支持
 

+ 3 - 3
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_Integration_Specification_EN.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](../../AllPay_Integration_Specification_EN.md)
 
 Start the interface of the payment control, the interface is defined as follows:
 
@@ -91,7 +91,7 @@ pay_result, which is a json string, in the following format:
 Message description:
 
 - state: "success" stands for success, "cancel" means the user cancels the operation, "fail" means the failure, and "query" means the app needs to call the query interface to confirm the order status.
-- paymentSchema: Payment channel, see [Channel List](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) 
+- paymentSchema: Payment channel, see [Channel List](../../paymentSchema.md) 
 - orderNum: Order number
 - errorDetail: Error details
 
@@ -117,7 +117,7 @@ compile(name: 'alipaySdk', ext: 'aar')
 
 ## 5.SDK download
 
-[Download link](https://git.allpayx.com/OpenAPI/common/raw/master/v5/android/android_sdk.zip)
+[Download link](android_sdk.zip)
 
 ## 6.Technical Support
 

+ 3 - 3
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_Integration_Specification_CH.md)
+商户网关将订单信息发送给 AllPay 网关,由 AllPay 网关进行处理后将交易流水号,即 tn,返回给商户网关,tn 作为调起手机 app 支付控件的参数。具体请参考[AllPay网关对接文档](../../AllPay_Integration_Specification_CH.md)
 
 启动支付控件的接口,接口定义如下:
 
@@ -92,7 +92,7 @@ resultDic,转为 json 字符串,格式如下:
 | 参数          |                             说明                             |
 | ------------- | ---------------------------------------------------------- |
 | state         | "success"代表成功,"cancel"代表用户取消操作,"fail"代表失败  |
-| paymentSchema | 支付渠道,详见[渠道列表](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
+| paymentSchema | 支付渠道,详见[渠道列表](../../paymentSchema.md) |
 | orderNum      | 订单号 |
 | errorDetail   | 错误详情 |
 
@@ -205,7 +205,7 @@ resultDic,转为 json 字符串,格式如下:
 
 ## 5.SDK下载
 
-[iOS SDK下载地址](https://git.allpayx.com/OpenAPI/common/raw/master/v5/ios/ios_sdk.zip)
+[iOS SDK下载地址](ios_sdk.zip)
 
 ## 6.技术支持
 

+ 3 - 3
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_Integration_Specification_EN.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](../../AllPay_Integration_Specification_EN.md)
 
 Start the interface of the payment control, the interface is defined as follows:
 
@@ -91,7 +91,7 @@ Message description
 | Parameter          |                             Description                             |
 | ------------- | ---------------------------------------------------------- |
 | state         | "success" stands for success, "cancel" means the user cancels the operation, and "fail" stands for the failure.  |
-| paymentSchema | Payment channel, see [Channel List](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
+| paymentSchema | Payment channel, see [Channel List](../../paymentSchema.md) |
 | orderNum      | Order number |
 | errorDetail   | Error details |
 
@@ -204,7 +204,7 @@ Message description
 
 ## 5.SDK download
 
-[Download link](https://git.allpayx.com/OpenAPI/common/raw/master/v5/ios/ios_sdk.zip)
+[Download link](ios_sdk.zip)
 
 ## 6.Technical Support