瀏覽代碼

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

benson 3 年之前
父節點
當前提交
d1f1b0685c
共有 4 個文件被更改,包括 84 次插入8 次删除
  1. 0 1
      countrycode.md
  2. 41 3
      payExclusive_CH.md
  3. 41 3
      payExclusive_EN.md
  4. 2 1
      paymentSchema.md

File diff suppressed because it is too large
+ 0 - 1
countrycode.md


+ 41 - 3
payExclusive_CH.md

@@ -454,6 +454,10 @@ TL测试卡:
 卡号: 4012001037141112
 有效期: 1227
 CVV2: 212
+
+卡号: 5204740000001002
+有效期: 1227
+CVV2: 212
 ```
 
 ##### 5.1.4 ICBC外卡
@@ -489,6 +493,22 @@ CVV2: 123
 CVV2: 123
 ```
 
+##### 5.1.6 VT外卡
+
+消费接口专属参数
+
+| 参数      | 类型   | 属性 | 描述 |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+```javascript
+VT测试卡:
+
+卡号: 4111111111111111
+有效期: 1227
+CVV2: 123
+```
+
 #### 5.2 后台支付(适用于SN和TL外卡)
 
  消费接口专属参数
@@ -550,7 +570,7 @@ CVV2: 123
 | 参数              | 类型   | 属性 | 描述                                                         |
 | ----------------- | ------ | ---- | ------------------------------------------------------------ |
 | tradeFrom         | String | M    | "H5"                                                         |
-| 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, santander, pagofacil, rapipago, konbini, payeasy, doku, ovo, grabpayotp |
+| tag               | String | M    | 取值如下:directpay, boleto, webpay, trustpay, skrill, sepaddmodela, safetypay, qiwi, p24, poli, paysafecard, mybank, itau, ideal, hipercard, giropay, eps, enets, dragonpay, bancodobrasil, baloto, aura, payu, bcmc, santander, pagofacil, rapipago, konbini, payeasy, doku, ovo, grabpayotp |
 | 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 characters. |
 
@@ -558,7 +578,7 @@ CVV2: 123
 
 | 参数        | 类型   | 属性 | 描述                                                         |
 | ----------- | ------ | ---- | ------------------------------------------------------------ |
-| consumerref | String | M    | Unique reference identifying the consumer, has to satisfy the regular expression [A-Za-z0-9.%,&/+*$-]{1,20} |
+| consumerref | String | O    | Unique reference identifying the consumer, has to satisfy the regular expression [A-Za-z0-9.%,&/+*$-]{1,20} |
 
 ##### 8.1.2 当 tag 为 aura, baloto, bancodobrasil, boleto, hipercard, itau, webpay 时,还需另外增加下面参数
 
@@ -571,7 +591,7 @@ CVV2: 123
 | zipcode     | String | M    | Consumer's zip/postal code                                   |
 | dob         | String | O    | Date of birth, format YYYYMMDD                               |
 
-##### 8.1.3 当 tag 为 dragonpay, enets, singpost 时,还需另外增加下面参数
+##### 8.1.3 当 tag 为 dragonpay, enets 时,还需另外增加下面参数
 
 | 参数  | 类型   | 属性 | 描述                                                   |
 | ----- | ------ | ---- | ------------------------------------------------------ |
@@ -693,4 +713,22 @@ CVV2: 123
 
 ```javascript
 测试Pincode:2639777698
+```
+
+### 12 DNC渠道
+
+#### 12.1 H5支付
+
+ 消费接口专属参数
+
+| 参数      | 类型   | 属性 | 描述 |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+```javascript
+测试卡:
+
+卡号: 5204730000002555
+有效期: 1225
+CVV2: 123
 ```

+ 41 - 3
payExclusive_EN.md

@@ -452,6 +452,10 @@ TL test card
 Card Number: 4012001037141112
 Expiry Date: 1227
 CVV2: 212
+
+Card Number: 5204740000001002
+Expiry Date: 1227
+CVV2: 212
 ```
 
 ##### 5.1.4 ICBC international card 
@@ -487,6 +491,22 @@ Expiry Date: 122027
 CVV2: 123
 ```
 
+##### 5.1.6 VT international card
+
+Purchase interface specific fields
+
+| Parameter | Type | Required | Description |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+```javascript
+VT test card
+
+Card Number: 4111111111111111
+Expiry Date: 1227
+CVV2: 123
+```
+
 #### 5.2 Background mode (Applicable to SN and TL international card)
 
  Purchase interface specific fields
@@ -542,7 +562,7 @@ CVV2: 123
 | Parameter      | Type   | Required | Description     |
 | ----------------- | ------ | ---- | ------------------------------------------------------------ |
 | tradeFrom         | String | M    | "H5"                                                         |
-| 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, santander, pagofacil, rapipago, konbini, payeasy, doku, ovo, grabpayotp |
+| tag               | String | M    | Value:directpay, boleto, webpay, trustpay, skrill, sepaddmodela, safetypay, qiwi, p24, poli, paysafecard, mybank, itau, ideal, hipercard, giropay, eps, enets, dragonpay, bancodobrasil, baloto, aura, payu, bcmc, santander, pagofacil, rapipago, konbini, payeasy, doku, ovo, grabpayotp |
 | 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 characters. |
 
@@ -550,7 +570,7 @@ CVV2: 123
 
 | Parameter      | Type   | Required | Description     |
 | ----------- | ------ | ---- | ------------------------------------------------------------ |
-| consumerref | String | M    | Unique reference identifying the consumer, has to satisfy the regular expression [A-Za-z0-9.%,&/+*$-]{1,20} |
+| consumerref | String | O    | Unique reference identifying the consumer, has to satisfy the regular expression [A-Za-z0-9.%,&/+*$-]{1,20} |
 
 ##### 8.1.2 When tag is in aura, baloto, bancodobrasil, boleto, hipercard, itau, webpay, you should add the following parameters:
 
@@ -563,7 +583,7 @@ CVV2: 123
 | zipcode     | String | M    | Consumer's zip/postal code                                   |
 | dob         | String | O    | Date of birth, format YYYYMMDD                               |
 
-##### 8.1.3 When tag is in dragonpay, enets, singpost , you should add the following parameters:
+##### 8.1.3 When tag is in dragonpay, enets, you should add the following parameters:
 
 | Parameter      | Type   | Required | Description     |
 | ----- | ------ | ---- | ------------------------------------------------------ |
@@ -684,4 +704,22 @@ Purchase interface specific fields
 
 ```javascript
 Test Pincode: 2639777698
+```
+
+### 12 DNC
+
+#### 12.1 H5 mode
+
+Purchase interface specific fields
+
+| Parameter | Type | Required | Description |
+| --------- | ------ | ---- | ---- |
+| tradeFrom | String | M    | "H5" |
+
+```javascript
+Test card
+
+Card Number: 5204730000002555
+Expiry Date: 1225
+CVV2: 123
 ```

+ 2 - 1
paymentSchema.md

@@ -11,4 +11,5 @@ AliPayLocal |AliPayLocal
 PO |PO
 India_Netbanking |India_Netbanking
 PayPal|PAYPAL
-Neosurf|Neosurf
+Neosurf|Neosurf
+Diners Card / Discover|DNC