|
@@ -427,6 +427,47 @@ Response message:
|
|
|
|
|
|
After you get tn,please integrate according to [Android Integration Specification](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android_Integration_Specification_EN.md)
|
|
|
|
|
|
+### 5.7 MIPAY
|
|
|
+
|
|
|
+#### 5.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 |
|
|
|
+| 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
|
|
|
+```
|
|
|
+
|
|
|
+### 5.8 EB
|
|
|
+
|
|
|
+#### 5.8.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 |
|
|
|
+
|
|
|
## 6.RespCode
|
|
|
|
|
|
| RespCode | Description |
|