|
@@ -1,6 +1,7 @@
|
|
## 渠道专属参数
|
|
## 渠道专属参数
|
|
|
|
|
|
### 目录:
|
|
### 目录:
|
|
|
|
+
|
|
- [1. WX渠道](#1-wx渠道)
|
|
- [1. WX渠道](#1-wx渠道)
|
|
- [1.1 二维码无跳转模式](#11-二维码无跳转模式)
|
|
- [1.1 二维码无跳转模式](#11-二维码无跳转模式)
|
|
- [1.2 二维码跳转模式](#12-二维码跳转模式)
|
|
- [1.2 二维码跳转模式](#12-二维码跳转模式)
|
|
@@ -73,8 +74,8 @@
|
|
- [23.1 H5支付](#231-h5支付)
|
|
- [23.1 H5支付](#231-h5支付)
|
|
- [24. Interbank渠道](#24-interbank渠道)
|
|
- [24. Interbank渠道](#24-interbank渠道)
|
|
- [24.1 H5支付](#241-h5支付)
|
|
- [24.1 H5支付](#241-h5支付)
|
|
- - [25. PayNow渠道](#24-PayNow渠道)
|
|
|
|
- - [25.1 QRCODE支付](#241-QRCODE支付)
|
|
|
|
|
|
+ - [25 PayNow渠道](#25-paynow渠道)
|
|
|
|
+ - [25.1 二维码无跳转模式](#251-二维码无跳转模式)
|
|
|
|
|
|
### 1. WX渠道
|
|
### 1. WX渠道
|
|
|
|
|
|
@@ -1033,7 +1034,7 @@ CVV2: 123
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: MY |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1078,7 +1079,7 @@ CVV2: 123
|
|
| --------- | ------ | ---- | ---- |
|
|
| --------- | ------ | ---- | ---- |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
-| national_id | String | 是 | National ID of the consumer.|
|
|
|
|
|
|
+| national_id | String | 是 | National ID of the consumer. Consumer's Brazilian Identification Number(CPF or CNPJ). Must be string between 11 and 14 digits and to have full cpf validation.|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| firstname | String | 是 | Customer first name |
|
|
| firstname | String | 是 | Customer first name |
|
|
@@ -1086,7 +1087,7 @@ CVV2: 123
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: BR |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1105,7 +1106,7 @@ CVV2: 123
|
|
| --------- | ------ | ---- | ---- |
|
|
| --------- | ------ | ---- | ---- |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
-| national_id | String | 是 | National ID of the consumer.|
|
|
|
|
|
|
+| national_id | String | 是 | National ID of the consumer. Consumer's Colombian Identification Number(CC). Must be string between 6 to 10 digits.|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| firstname | String | 是 | Customer first name |
|
|
| firstname | String | 是 | Customer first name |
|
|
@@ -1113,7 +1114,7 @@ CVV2: 123
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: CO |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1131,8 +1132,7 @@ CVV2: 123
|
|
| 参数 | 类型 | 必填 | 描述 |
|
|
| 参数 | 类型 | 必填 | 描述 |
|
|
| --------- | ------ | ---- | ---- |
|
|
| --------- | ------ | ---- | ---- |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
-| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
|
|
-| document_id | String | 是 | document_id of the consumer.|
|
|
|
|
|
|
+| document_id | String | 是 | Document ID of the consumer. Consumer's Brazilian Identification Number(CPF or CNPJ). Must be string between 11 and 14 digits and to have full cpf validation.|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| firstname | String | 是 | Customer first name |
|
|
| firstname | String | 是 | Customer first name |
|
|
@@ -1140,7 +1140,7 @@ CVV2: 123
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: BR |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1159,7 +1159,7 @@ CVV2: 123
|
|
| --------- | ------ | ---- | ---- |
|
|
| --------- | ------ | ---- | ---- |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
-| national_id | String | 是 | National ID of the consumer.|
|
|
|
|
|
|
+| national_id | String | 是 | National ID of the consumer. Consumer's Colombian Identification Number(CC). Must be string between 6 to 10 digits.|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| firstname | String | 是 | Customer first name |
|
|
| firstname | String | 是 | Customer first name |
|
|
@@ -1167,7 +1167,7 @@ CVV2: 123
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: CO |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1186,7 +1186,7 @@ CVV2: 123
|
|
| --------- | ------ | ---- | ---- |
|
|
| --------- | ------ | ---- | ---- |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
-| national_id | String | 是 | National ID of the consumer.|
|
|
|
|
|
|
+| national_id | String | 是 | National ID of the consumer. Consumer's Chilean Identification Number(CI/RUT). Must be string between 8 to 9 digits.|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| firstname | String | 是 | Customer first name |
|
|
| firstname | String | 是 | Customer first name |
|
|
@@ -1194,7 +1194,7 @@ CVV2: 123
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: CL |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1213,7 +1213,7 @@ CVV2: 123
|
|
| --------- | ------ | ---- | ---- |
|
|
| --------- | ------ | ---- | ---- |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
| consumer_reference | String | 是 | Consumer reference is a unique consumer identifier|
|
|
-| national_id | String | 是 | National ID of the consumer.|
|
|
|
|
|
|
+| national_id | String | 是 | National ID of the consumer. Consumer's Mexican Identification Number(CURP). Must be string between 10 and 18 digits.|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| firstname | String | 是 | Customer first name |
|
|
| firstname | String | 是 | Customer first name |
|
|
@@ -1221,7 +1221,7 @@ CVV2: 123
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: MX |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1241,13 +1241,13 @@ CVV2: 123
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
-| document_id | String | 是 | document_id of the consumer.|
|
|
|
|
|
|
+| document_id | String | 是 | Document ID of the consumer. Consumer's Mexican Identification Number(CURP). Must be string between 10 and 18 digits.|
|
|
| firstname | String | 是 | Customer first name |
|
|
| firstname | String | 是 | Customer first name |
|
|
| lastname | String | 是 | Customer last name |
|
|
| lastname | String | 是 | Customer last name |
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: MX |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1267,13 +1267,13 @@ CVV2: 123
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
-| document_id | String | 是 | document_id of the consumer.|
|
|
|
|
|
|
+| document_id | String | 是 | Document ID of the consumer. Consumer's Peruvian Identification Number(DNI). Must be string between 8 and 9 digits.|
|
|
| firstname | String | 是 | Customer first name |
|
|
| firstname | String | 是 | Customer first name |
|
|
| lastname | String | 是 | Customer last name |
|
|
| lastname | String | 是 | Customer last name |
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: PE |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1293,13 +1293,13 @@ CVV2: 123
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| tradeFrom | String | 是 | "H5" |
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| email | String | 是 | Must contain valid e-mail of customer|
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
| phone | String | 是 | Must contain valid phone number of customer |
|
|
-| document_id | String | 是 | document_id of the consumer.|
|
|
|
|
|
|
+| document_id | String | 是 | Document ID of the consumer. Consumer's Peruvian Identification Number(DNI). Must be string between 8 and 9 digits.|
|
|
| firstname | String | 是 | Customer first name |
|
|
| firstname | String | 是 | Customer first name |
|
|
| lastname | String | 是 | Customer last name |
|
|
| lastname | String | 是 | Customer last name |
|
|
| address | String | 是 | address |
|
|
| address | String | 是 | address |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| zip_code | String | 是 | ZIP code |
|
|
| city | String | 是 | City |
|
|
| city | String | 是 | City |
|
|
-| country | String(2) | 是 |Country code in ISO 3166. Example: IN|
|
|
|
|
|
|
+| country | String(2) | 是 |Country code in ISO 3166. Example: PE |
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
| state | String(2) | 否 |State code in ISO 3166-2, required for USA and Canada|
|
|
|
|
|
|
**响应参数parameter详情**
|
|
**响应参数parameter详情**
|
|
@@ -1308,8 +1308,6 @@ CVV2: 123
|
|
| -------- | ------ | ---- | ------------------------------- |
|
|
| -------- | ------ | ---- | ------------------------------- |
|
|
| payUrl | String | 否 | 收银台URL |
|
|
| payUrl | String | 否 | 收银台URL |
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
### 25 PayNow渠道
|
|
### 25 PayNow渠道
|
|
|
|
|
|
#### 25.1 二维码无跳转模式
|
|
#### 25.1 二维码无跳转模式
|
|
@@ -1324,10 +1322,8 @@ CVV2: 123
|
|
| email | String | M | Customer email |
|
|
| email | String | M | Customer email |
|
|
| payer_name | String | M | Customer name |
|
|
| payer_name | String | M | Customer name |
|
|
|
|
|
|
-响应参数:
|
|
|
|
|
|
+**响应参数parameter详情**
|
|
|
|
|
|
-| 参数 | 类型 | 必填 | 描述 |
|
|
|
|
-| -------- | ------ | ---- | ---------------------------------- |
|
|
|
|
-| RespCode | String | M | 应答码 00-成功 |
|
|
|
|
-| RespMsg | String | M | 应答消息 |
|
|
|
|
-| code_url | String | O | 二维码字符串。应答码为00返回该参数 |
|
|
|
|
|
|
+| 参数 | 类型 | 必填 | 描述 |
|
|
|
|
+| -------- | ------ | ---- | ------------------------------- |
|
|
|
|
+| code_url | String | 否 | 二维码字符串 |
|