Browse Source

增加ppro渠道

benson 6 years ago
parent
commit
5029af3f7d

+ 0 - 16
-----BEGIN PRIVATE KEY-----

@@ -1,16 +0,0 @@
------BEGIN PRIVATE KEY-----
-MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAMerUrQlakb6FA4z
-oMhAA0UfH2W3oLhwIH1c4b+PuZc4jGyRyErA1xgEe0yC6B4i/7fab1+3nC31r6sK
-eC9Z35NM8bMZcQljRmsYzJbut667SjqvE3G++ic6AyEkcdbu801FYZo2+S++/vYF
-YPPqO1VY1xSY9NUIhN+XV7IrlFAFAgMBAAECgYBmIVnST3kHCQ+NHBdXlnaVuo+i
-xcRt0tyrgwDtrSRvFzuspPzgT7c1z8UJo8P69kf60L47JX27fHn4cQh8n+ndVJ5Z
-gplPdU8ECYj7iL4D4YRoV3UeIhKJYCULSSz0bPZf5iP0LvrE8IJzf3AUUvKiCPPV
-4MIHVbnFaA8Mw68kAQJBAPIpiUSvYX8YSMNBsLSintkMRtFjdKOtwuLNB3sKMWmo
-nhJG9+A3yxDK2N+fM/ExYP8ELY0AU/rVfGUKPvVB2IECQQDTFC3LgnvmFfYJYX/1
-EIVjAthUKyR5Bu6bX72DxN01a5O39FssGrqZhyAkVvGaoDFjHHQfvCyvKfbgtS6F
-fFWFAkAn3aiocwrk5nWMF3NkuWTXLIs4C1x3WbK8ra4ulkX+M/EZ5y8FbYnzkMFV
-RxtA+LUUJnbtQIGSyLR62c31iEqBAkAUQjGLAMEHekAc8mCnkqhasmE04tcjTokE
-HJJB3Vkl0WdiFm/RsdcK+S8ajcWug4V577ctfJAFV8+8DWejpCVJAkASfsbpI5fc
-TM5B3CdzYD4hb0Gn/hjE7TY0ky10WB0K7xpYqum0rKTlMRRZGvBC3jy5a7bDVR61
-Mp4e3lBRcMpI
------END PRIVATE KEY-----

BIN
pc_api/PC端在线支付接入规范文档4.2.0.pdf


BIN
pc_api/PC端在线支付接入规范文档4.2.1.pdf


+ 301 - 4
pc_api/README.md

@@ -1,8 +1,8 @@
-# PC端在线支付接入规范文档4.2.0
+# PC端在线支付接入规范文档4.2.1
 [上海偶可贝网络科技有限公司](https://www.allpayx.com)
 
-* 版本信息:中文 V4.2.0
-* 更新时间:2018 年4
+* 版本信息:中文 V4.2.1
+* 更新时间:2018 年6
 
 #### 1.概述
 
@@ -195,7 +195,304 @@ AllPay 为客户提供统一的api接入,以帮助客户实 现快速、安全
  序号 |名称  |长度|类型|参数名称|备注 
  -----|-----|----|----|------|------
   1| 交易场景代码|16  | 文本|code |1.“NATIVE“:为参数返回方式,返回微信收款URL值, 要求商户将其转换为 QR 码,自己生成支付前端界 面,提示用户扫码付款; 2.“QUICK”:为跳转方式,打开 AllPay 提供的前端页面,页面包含微信 QR 码
-  
+##### 5.4 PPRO相关渠道(跳转)
+######5.4.1 PPRO_AC
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+
+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
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+
+Note: AstroPay Direct is available for currency USD and country codes AR, BR, CL, CN, CO, MX, PE, UY. 
+
+     
+######5.4.3 PPRO_AR
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+nationalid  |M   |文本 |Consumer’s national id (up to 30 characters) 
+email   |M   |文本 |RFC compliant email address of the account holder 
+dob    |O   |文本 |Date of birth, format YYYYMMDD 
+
+Note: Aura (Brazil) is available for currency USD and country code BR. 
+
+     
+######5.4.4 PPRO_BA
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+nationalid  |M   |文本 |Consumer’s national id (up to 30 characters) 
+email   |M   |文本 |RFC compliant email address of the account holder 
+dob    |O   |文本 |Date of birth, format YYYYMMDD 
+
+Note: Baloto Cash (Colombia) is available for currency USD and country code CO. 
+
+     
+######5.4.5 PPRO_BB
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+nationalid  |M   |文本 |Consumer’s national id (up to 30 characters) 
+email   |M   |文本 |RFC compliant email address of the account holder 
+dob    |O   |文本 |Date of birth, format YYYYMMDD 
+
+Note: Banco do Brasil (Brazil) is available for currency USD and country code BR. 
+
+     
+######5.4.6 PPRO_BO
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+nationalid  |M   |文本 |Consumer’s national id (up to 30 characters) 
+email   |M   |文本 |RFC compliant email address of the account holder 
+dob    |O   |文本 |Date of birth, format YYYYMMDD 
+
+Note: Boleto Bancario is available for currency USD and country code BR. 
+
+
+
+######5.4.7 PPRO_CC
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+nationalid  |M   |文本 |Consumer’s national id (up to 30 characters) 
+email   |M   |文本 |RFC compliant email address of the account holder 
+dob    |O   |文本 |Date of birth, format YYYYMMDD 
+
+Note: Cartao MercadoLivre (Brazil) is available for currency USD and country code BR. 
+
+######5.4.8 PPRO_DR
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+email   |M   |文本 |RFC compliant email address of the account holder 
+phone  |M  |文本 |Valid international phone number of the account holder 
+
+Note: Dragonpay is only available for currency PHP and country code PH. 
+
+
+
+######5.4.9 PPRO_EN
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+email   |M   |文本 |RFC compliant email address of the account holder 
+phone  |M  |文本 |Valid international phone number of the account holder 
+
+Note: eNETS is only available for currency SGD and country code SG. 
+
+######5.4.10 PPRO_EP
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+
+Note: eps only works for the countrycode “AT” and currency “EUR”. 
+
+######5.4.11 PPRO_GP
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+bic |O  |文本 |Valid BIC (8 or 11 alphanumeric letters) of consumer’s bank 
+
+
+######5.4.12 PPRO_HC
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+nationalid  |M   |文本 |Consumer’s national id (up to 30 characters) 
+email   |M   |文本 |RFC compliant email address of the account holder 
+dob    |O   |文本 |Date of birth, format YYYYMMDD 
+
+Note: Hipercard (Brazil) is available for currency USD and country code BR. 
+
+######5.4.13 PPRO_ID
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+
+Note: iDEAL only works for the countrycode “NL” and currency “EUR”. 
+
+######5.4.14 PPRO_IT
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+nationalid  |M   |文本 |Consumer’s national id (up to 30 characters) 
+email   |M   |文本 |RFC compliant email address of the account holder 
+dob    |O   |文本 |Date of birth, format YYYYMMDD 
+
+Note: Itaú (Brazil) is available for currency USD and country code BR.
+
+######5.4.15 PPRO_MB
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+
+Note: MyBank only works for the country code IT and currency EUR. 
+
+
+######5.4.16 PPRO_PC
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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.17 PPRO_PB
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+email   |M   |文本 |RFC compliant email address of the account holder 
+phone  |M  |文本 |Valid international phone number of the account holder 
+
+Note: PAYSBUY Cash is only available for currency THB and country code TH. 
+
+
+
+######5.4.18 PPRO_PU
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+email   |M   |文本 |RFC compliant email address of the account holder 
+
+Note: PayU works only for country code/currency combinations CZ/CZK and PL/PLN. 
+
+######5.4.19 PPRO_PL
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+
+Note: POLi only works for the countrycode/currency combinations “NZ”/”NZD” and “AU/AUD”. 
+
+######5.4.20 PPRO_P24
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+email   |M   |文本 |RFC compliant email address of the account holder 
+
+Note: Przelewy24 only works for the countrycode “PL” and currencies “PLN” and “EUR”. 
+
+
+######5.4.21 PPRO_QW
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+mobilephone|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). 
+
+
+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.22 PPRO_SP
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+
+Note: SafetyPay only works for country codes “AT”, “BR”, “CO”, “CR”, “DE”, “ES”, “MX”, “NI”, “NL”, “PA”, “PE” and currencies “EUR”, “USD”. 
+
+######5.4.23 PPRO_SD
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+
+
+Note: SEPA Direct Debit works for all SEPA countries and currency EUR. 
+
+
+######5.4.24 PPRO_SG
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+email   |M   |文本 |RFC compliant email address of the account holder 
+phone  |M  |文本 |Valid international phone number of the account holder 
+
+Note: SingPost (Singapore) is only available for currency SGD and country code SG. 
+
+######5.4.25 PPRO_SK
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+email   |O  |文本 |RFC compliant email address of the account holder 
+address   |O  |文本 |Consumer’s address (e.g. street) 
+zipcode    |O  |文本 |Consumer’s postal code 
+city     |O  |文本 |Consumer’s city 
+
+######5.4.26 PPRO_DP
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+bic |O  |文本 |Valid BIC (8 or 11 alphanumeric letters) of consumer’s bank 
+
+
+######5.4.27 PPRO_TP
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+accountholdername|M   |文本 |The account holder - minimum of 3 characters, up to 100 charac- ters. 
+
+TrustPay works for the following country code/currency combinations: 
+
+
+CZ 
+CZK, EUR 
+
+
+SK 
+EUR 
+
+
+The currencies available to you may depend on your contract. 
+
+
+######5.4.28 PPRO_WP
+ Field name  |M/O   |Type |Description  
+ -----|-----|----|----
+ countrycode|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. 
+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} 
+nationalid  |M   |文本 |Consumer’s national id (up to 30 characters) 
+email   |M   |文本 |RFC compliant email address of the account holder 
+dob    |O   |文本 |Date of birth, format YYYYMMDD 
+
+Note: WebPay is available for currency USD and country code CL. 
 #### 6.测试账户
  
  请注意,支付宝、财付通交易需要用中国实名认证的账户进行测试交易,所有测试交 

+ 28 - 1
pc_api/paymentSchema.md

@@ -11,6 +11,33 @@
   6| 国际信用卡 |FC|国际信用卡支付
   7| 印度本地支付EB渠道|EB |印度EB
   8| 银联B2B |UP_B2B|银联B2B
-    
+  9| Astropay Card |PPRO_AC|Astropay Card
+  10| Astropay Direct |PPRO_AD|Astropay Direct 
+  11| Aura |PPRO_AR|Aura
+  12| Baloto |PPRO_BA|Baloto
+  13| Banco do Brasil |PPRO_BB|Banco do Brasil
+  14| Boleto Bancario |PPRO_BO|Boleto Bancario
+  15| Cartao Mercado Livre|PPRO_CC|Cartao Mercado Livre
+  16| Dragonpay|PPRO_DR|Dragonpay
+  17| eNETS|PPRO_EN|eNETS
+  18| EPS|PPRO_EP|EPS
+  19| Giropay|PPRO_GP|Giropay  
+  20| Hipercard|PPRO_HC|Hipercard  
+  21| iDEAL|PPRO_ID|iDEAL  
+  22| Itau|PPRO_IT|Itau  
+  23| MyBank|PPRO_MB|MyBank  
+  24| Paysafecard|PPRO_PC|Paysafecard  
+  25| Paysbuy|PPRO_PB|Paysbuy  
+  26| PayU|PPRO_PU|PayU  
+  27| POLI|PPRO_PL|POLI  
+  28| Przelewy24|PPRO_P24|Przelewy24  
+  29| QIWI|PPRO_QW|QIWI  
+  30| SafetyPay|PPRO_SP|SafetyPay  
+  31| SEPA DirectDebit|PPRO_SD|SEPA DirectDebit  
+  32| SingPost|PPRO_SG|SingPost  
+  33| Skrill|PPRO_SK|Skrill  
+  34| Sofort|PPRO_DP|Sofort
+  35| TrustPay|PPRO_TP|TrustPay  
+  36| Webpay|PPRO_WP|Webpay