Browse Source

更新 'PC端在线支付接入规范文档.md'

tao.zhou 6 years ago
parent
commit
6473fd9f2c
1 changed files with 35 additions and 62 deletions
  1. 35 62
      PC端在线支付接入规范文档.md

+ 35 - 62
PC端在线支付接入规范文档.md

@@ -191,8 +191,6 @@ AllPay 为客户提供统一的api接入,以帮助客户实现快速、安全
 | signType  | String(3)  | M    | MD5                                            |
 | signature | String(32) | M    | signature                                      |
 
-
-
 ##### 4.5.  退款查询接口
 
 1.接口说明
@@ -201,8 +199,6 @@ AllPay 为客户提供统一的api接入,以帮助客户实现快速、安全
 
 2.请求报文格式 
 
-  
-
 | 参数          | 类型         | 属性 | 描述                                                         |
 | ------------- | ------------ | ---- | ------------------------------------------------------------ |
 | version       | String(12)   | M    | 统一填写为“VER000000002”                                     |
@@ -217,8 +213,6 @@ AllPay 为客户提供统一的api接入,以帮助客户实现快速、安全
 | signType      | String(3)    | M    | MD5                                                          |
 | signature     | String(32)   | M    | 采用 MD5 签名                                                |
 
-
-
 3.响应报文格式
 
 | 参数          | 类型       | 属性 | 描述                                                         |
@@ -238,13 +232,9 @@ AllPay 为客户提供统一的api接入,以帮助客户实现快速、安全
 | signType      | String(3)  | M    | MD5                                                          |
 | signature     | String(32) | M    | signature                                                    |
 
+#### 5.渠道专属配置
 
-
-
-
-# 5.渠道专属配置
-
-## 5.1 EB渠道(跳转)
+##### 5.1 EB渠道(跳转)
 
 | 序号 | 名称 | 长度 | 类型 | 参数名称       | 备注                                                       |
 | ---- | ---- | ---- | ---- | -------------- | ---------------------------------------------------------- |
@@ -252,7 +242,7 @@ AllPay 为客户提供统一的api接入,以帮助客户实现快速、安全
 | 2    | 邮箱 | 40   | 文本 | trxn_email_id  | this is email id of the customer who is doing transaction. |
 | 3    | 电话 | 20   | 文本 | trxn_phone     | Phone number of the customer.                              |
 
-## 5.2 UP渠道(跳转)
+##### 5.2 UP渠道(跳转)
 
 | 序号 | 名称     | 长度 | 类型 | 参数名称    | 备注                                                         |
 | ---- | -------- | ---- | ---- | ----------- | ------------------------------------------------------------ |
@@ -276,15 +266,15 @@ SMS Code on PC: 111111
 SMS Code on Mobile: 123456
 ```
 
-## 5.3 WX渠道(含跳转和参数返回)
+##### 5.3 WX渠道(含跳转和参数返回)
 
 | 序号 | 名称         | 长度 | 类型 | 参数名称 | 备注                                                         |
 | ---- | ------------ | ---- | ---- | -------- | ------------------------------------------------------------ |
 | 1    | 交易场景代码 | 16   | 文本 | code     | 1.“NATIVE“:为参数返回方式,返回微信收款URL值, 要求商户将其转换为 QR 码,自己生成支付前端界 面,提示用户扫码付款; 2.“QUICK”:为跳转方式,打开 AllPay 提供的前端页面,页面包含微信 QR 码 |
 
-## 5.4 PPRO相关渠道(跳转)
+##### 5.4 PPRO相关渠道(跳转)
 
-## 5.4.1 PPRO_AC
+###### 5.4.1 PPRO_AC
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -295,7 +285,7 @@ SMS Code on Mobile: 123456
 Note: AstroPay Card is available for currency USD and country codes BO, BR, CL, CN, CO, CR, MX, PE, UY, VE. 
 
-## 5.4.2 PPRO_AD
+###### 5.4.2 PPRO_AD
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -305,7 +295,7 @@ Note: AstroPay Card is available for currency USD and country codes BO, BR, CL,
 
 Note: AstroPay Direct is available for currency USD and country codes AR, BR, CL, CN, CO, MX, PE, UY, CN 
 
-## 5.4.3 PPRO_AR
+###### 5.4.3 PPRO_AR
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -318,11 +308,9 @@ Note: AstroPay Direct is available for currency USD and country codes AR, BR, CL
 | zipcode           | M    | 文本 | Consumer's zip/postal code                                   |
 | dob               | O    | 文本 | Date of birth, format YYYYMMDD                               |
 
-
-
 Note: Aura (Brazil) is available for currency USD and country code BR. 
 
-## 5.4.4 PPRO_BA
+###### 5.4.4 PPRO_BA
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -337,7 +325,7 @@ Note: Aura (Brazil) is available for currency USD and country code BR.
 
 Note: Baloto Cash (Colombia) is available for currency USD and country code CO. 
 
-## 5.4.5 PPRO_BB
+###### 5.4.5 PPRO_BB
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -352,7 +340,7 @@ Note: Baloto Cash (Colombia) is available for currency USD and country code CO.
 
 Note: Banco do Brasil (Brazil) is available for currency USD and country code BR. 
 
-## 5.4.6 PPRO_BO
+###### 5.4.6 PPRO_BO
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -367,7 +355,7 @@ Note: Banco do Brasil (Brazil) is available for currency USD and country code BR
 
 Note: Boleto Bancario is available for currency USD and country code BR. 
 
-## 5.4.7 PPRO_DR
+###### 5.4.7 PPRO_DR
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -378,9 +366,7 @@ Note: Boleto Bancario is available for currency USD and country code BR.
 
 Note: Dragonpay is only available for currency PHP and country code PH. 
 
-
-
-## 5.4.8 PPRO_EN
+###### 5.4.8 PPRO_EN
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -391,7 +377,7 @@ Note: Dragonpay is only available for currency PHP and country code PH.
 
 Note: eNETS is only available for currency SGD and country code SG. 
 
-## 5.4.9 PPRO_EP
+###### 5.4.9 PPRO_EP
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -400,7 +386,7 @@ Note: eNETS is only available for currency SGD and country code SG.
 
 Note: eps only works for the countrycode “AT” and currency “EUR”. 
 
-## 5.4.10 PPRO_GP
+###### 5.4.10 PPRO_GP
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -410,7 +396,7 @@ Note: eps only works for the countrycode “AT” and currency “EUR”.
 
 the countrycode “DE” and currency “EUR”. 
 
-## 5.4.11 PPRO_HC
+###### 5.4.11 PPRO_HC
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -425,7 +411,7 @@ the countrycode “DE” and currency “EUR”.
 
 Note: Hipercard (Brazil) is available for currency USD and country code BR. 
 
-## 5.4.12 PPRO_ID
+###### 5.4.12 PPRO_ID
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -438,7 +424,7 @@ Here is the list of currently available issuers and their associated BIC:
 
 ![image]()
 
-## 5.4.13 PPRO_IT
+###### 5.4.13 PPRO_IT
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -453,9 +439,7 @@ Here is the list of currently available issuers and their associated BIC:
 
 Note: Itaú (Brazil) is available for currency USD and country code BR.
 
-## 5.4.14 PPRO_MB
-
-
+###### 5.4.14 PPRO_MB
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -464,9 +448,7 @@ Note: Itaú (Brazil) is available for currency USD and country code BR.
 
 Note: MyBank only works for the country code IT and currency EUR. 
 
-## 5.4.15 PPRO_PC
-
-
+###### 5.4.15 PPRO_PC
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -474,11 +456,7 @@ Note: MyBank only works for the country code IT and currency EUR.
 | accountholdername | M    | 文本 | The account holder - minimum of 3 characters, up to 100 charac- ters. |
 | consumerref       | M    | 文本 | Unique reference identifying the consumer, has to satisfy the regular expression [A-Za-z0-9.%,&/+*$-]{1,20} |
 
-
-
-## 5.4.16 PPRO_PU
-
-
+###### 5.4.16 PPRO_PU
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -488,7 +466,7 @@ Note: MyBank only works for the country code IT and currency EUR.
 
 Note: PayU works only for country code/currency combinations CZ/CZK and PL/PLN. 
 
-## 5.4.17 PPRO_PL
+###### 5.4.17 PPRO_PL
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -497,7 +475,7 @@ Note: PayU works only for country code/currency combinations CZ/CZK and PL/PLN.
 
 Note: POLi only works for the countrycode/currency combinations “NZ”/”NZD” and “AU/AUD”. 
 
-## 5.4.18 PPRO_P24
+###### 5.4.18 PPRO_P24
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -507,7 +485,7 @@ Note: POLi only works for the countrycode/currency combinations “NZ”/”NZD
 
 Note: Przelewy24 only works for the countrycode “PL” and currencies “PLN” and “EUR”. 
 
-## 5.4.19 PPRO_QW
+###### 5.4.19 PPRO_QW
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -518,7 +496,7 @@ Note: Przelewy24 only works for the countrycode “PL” and currencies “PLN
 
 Note:	QIWI Payout only works for the countrycodes “RU”, “KZ” and UA, and - depending on your contract - currency 
“RUB” , “EUR” ,”KZT” and “USD”. 

 
-## 5.4.20 PPRO_SP
+###### 5.4.20 PPRO_SP
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -528,7 +506,7 @@ Note:	QIWI Payout only works for the countrycodes “RU”, “KZ” and UA, and
 
 Note:SafetyPay only works for country codes “AT”, “BE”, “BR”, “CL”, “CR”, “DE”, “EC”, “ES”, “MX”, “NL”, “PE” and currencies “EUR”, “USD”.
 
-## 5.4.21 PPRO_SD
+###### 5.4.21 PPRO_SD
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -537,7 +515,7 @@ Note:SafetyPay only works for country codes “AT”, “BE”, “BR”, “CL
 
 Note: SEPA Direct Debit works for all SEPA countries and currency EUR. 
 
-## 5.4.22 PPRO_SG
+###### 5.4.22 PPRO_SG
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -548,7 +526,7 @@ Note: SEPA Direct Debit works for all SEPA countries and currency EUR.
 
 Note: SingPost (Singapore) is only available for currency SGD and country code SG. 
 
-## 5.4.23 PPRO_SK
+###### 5.4.23 PPRO_SK
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -564,10 +542,9 @@ The account holder name passed in the request has to be in the format <firstname
 lastname having a minimum length of two characters and the total string a minimum length of five. Multiple
 first names are ok, valid examples are “John Dorian”, “William Charles Dickinson”. If these conditions are not
 met, the system will not accept the request 
-
 ```
 
-## 5.4.24 PPRO_SB
+###### 5.4.24 PPRO_SB
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -578,7 +555,7 @@ met, the system will not accept the request
 OFORT Banking (also known as SOFORT überweisung, formally DirectPay24) is available in Austria, Belgium,
 Germany, Spain, Italy and Netherlands (country codes AT, BE, DE, ES, IT, NL). EUR is supported in all countries.
 
-## 5.4.25 PPRO_TP
+###### 5.4.25 PPRO_TP
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -587,7 +564,7 @@ Germany, Spain, Italy and Netherlands (country codes AT, BE, DE, ES, IT, NL). EU
 
 Note: TrustPat   is only available for currency EUR and country code CZ, SK 
 
-## 5.4.26 PPRO_WP
+###### 5.4.26 PPRO_WP
 
 | Field name        | M/O  | Type | Description                                                  |
 | ----------------- | ---- | ---- | ------------------------------------------------------------ |
@@ -602,17 +579,13 @@ Note: TrustPat   is only available for currency EUR and country code CZ, SK
 
 Note: WebPay is available for currency USD and country code CL. 
 
-
-
-## 5.5 AP渠道
+##### 5.5 AP渠道
 
 | Parameter | Type         | Required | Description | Sample |
 | ---- | ------------ | ---- | ---- | -------- |
 | timeout    | String(10) | O   | The default is 12h. Please contact Alipay Technical Support if you need to use other values. Max value is 15d. This parameter controls the valid time from login to completion. | 5m 10m 15m 30m 1h 2h 3h 5h 10h 12h 1d     |
 
-
-
-## 5.6 MIPAY渠道(跳转)
+##### 5.6 MIPAY渠道(跳转)
 
 | 序号 | 名称   | 长度 | 类型 | 参数名称   | 备注                                                         |
 | ---- | ------ | ---- | ---- | ---------- | ------------------------------------------------------------ |
@@ -635,7 +608,7 @@ Note: WebPay is available for currency USD and country code CL.
 cvv:123
 ```
 
-## 5.7 IPL渠道(跳转)
+##### 5.7 IPL渠道(跳转)
 
 | Parameter    | Type       | Required | Description                                                  | Sample |
 | ------------ | ---------- | -------- | ------------------------------------------------------------ | ------ |
@@ -696,7 +669,7 @@ firstName: Ken
 lastName: Swift
 ```
 
-## 5.8 RP渠道(跳转)
+##### 5.8 RP渠道(跳转)
 
 | Parameter | Type   | Required | Description                                                | Sample         |
 | --------- | ------ | -------- | ---------------------------------------------------------- | -------------- |