|
@@ -18,7 +18,7 @@ AllPay provides customers with unified API access to help them implement fast, s
|
|
|
|
|
|
## 4.Common interface
|
|
|
Common interface includes notification, asynchronous notification of transactions, transaction inquiry, refund, refund inquiry interface
|
|
|
-### 4.1.General API access address
|
|
|
+### 4.1 General API access address
|
|
|
|
|
|
| Interface Name | Test URL | Production URL |
|
|
|
| ------- | ------------------------------------------- | --------------------------------------- |
|
|
@@ -27,7 +27,7 @@ Common interface includes notification, asynchronous notification of transaction
|
|
|
| Refund | https://testapi.allpayx.com/api/refund | https://api.allpayx.com/api/refund |
|
|
|
| Refund inquiry | https://testapi.allpayx.com/api/refundquery | https://api.allpayx.com/api/refundquery |
|
|
|
|
|
|
-### 4.2.Purchase interface
|
|
|
+### 4.2 Purchase interface
|
|
|
|
|
|
1.Interface specification
|
|
|
|
|
@@ -37,7 +37,7 @@ This interface provides the function of purchase transaction for access merchant
|
|
|
|
|
|
This field is a list of common fields, sending, every channel needs some channel channel exclusive field, specific fields please go to the channel's exclusive canal to the fields that view. Consumer interface is divided into jump transformation and parameters return type, default to jump transformation, parameters return type will be explained in chapter 5 channels (exclusive) inside.
|
|
|
|
|
|
-| Parameter | Type | Required | Description |
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
| ------------- | ------------ | ---- | ------------------------------------------------------------ |
|
|
|
| version | String(12) | M | “VER000000005” |
|
|
|
| charSet | String(6) | M | “UTF-8” |
|
|
@@ -45,7 +45,7 @@ This field is a list of common fields, sending, every channel needs some channel
|
|
|
| orderNum | String(60) | M | Order number: it is defined by the merchant itself, and the order number must not be repeated for the same merchant number |
|
|
|
| orderAmount | String(12) | M | Order amount: if 100 yuan, it will be 100 or 100.00 |
|
|
|
| orderCurrency | String(3) | M | Currency of the order: ISO standard, such as RMB filling in "CNY", US dollar filling in "USD" |
|
|
|
-| frontURL | String(400) | M | When the payment is complete, jump to the address |
|
|
|
+| frontURL | String(400) | M | When the payment is complete, jump to the address |
|
|
|
| backURL | String(400) | M | Payment results are asynchronously notified to this address |
|
|
|
| merID | String(15) | M | Merchant ID, assigned by AllPay |
|
|
|
| acqID | String(11) | M | "99020344" "99020344" |
|
|
@@ -85,7 +85,7 @@ Parameters as follows:
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
|
-### 4.3. Inqiury interface
|
|
|
+### 4.3 Inqiury interface
|
|
|
|
|
|
1.Interface specification
|
|
|
|
|
@@ -133,7 +133,7 @@ This interface provides the function of refund transaction for access merchants.
|
|
|
|
|
|
2.Request message format
|
|
|
|
|
|
-| Parameter | Type | Required | Description |
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
|
| version | String(12) | M | "VER000000005" |
|
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
@@ -168,7 +168,7 @@ This interface provides the function of refund transaction for access merchants.
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
|
-### 4.5.Refund Inqiury interface
|
|
|
+### 4.5 Refund Inqiury interface
|
|
|
|
|
|
1.Interface specification
|
|
|
|
|
@@ -176,7 +176,7 @@ This interface provides the function of refund transaction for access merchants.
|
|
|
|
|
|
2.Request message format
|
|
|
|
|
|
-| Parameter | Type | Required | Description |
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
|
| version | String(12) | M | "VER000000005" |
|
|
|
| charSet | String(6) | M | "UTF-8" |
|
|
@@ -191,7 +191,7 @@ This interface provides the function of refund transaction for access merchants.
|
|
|
|
|
|
3.Response message format
|
|
|
|
|
|
-| Parameter | Type | Required | Description |
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
|
| version | String(12) | M | "VER000000005" |
|
|
|
| charSet | String(6) | M | "UTF-8" |
|