|
@@ -31,6 +31,7 @@ Common interface includes notification, asynchronous notification of transaction
|
|
|
| Pre-authorization | https://testapi.allpayx.com/api/unifiedorder | https://api.allpayx.com/api/unifiedorder |
|
|
|
| Pre-authorization completed | https://testapi.allpayx.com/api/pauc | https://api.allpayx.com/api/pauc |
|
|
|
| Cancellation | https://testapi.allpayx.com/api/canc | https://api.allpayx.com/api/canc |
|
|
|
+| Manual refund | https://testapi.allpayx.com/api/manrefd | https://api.allpayx.com/api/manrefd |
|
|
|
|
|
|
### 4.2 Purchase interface
|
|
|
|
|
@@ -134,7 +135,7 @@ Parameters as follows:
|
|
|
|
|
|
1.Interface specification
|
|
|
|
|
|
-This interface provides the function of refund transaction for access merchants.
|
|
|
+This interface provides the function of refund transaction for access merchants. Remarks: International credit card transactions cannot be refunded on the same day, can be revoked, and can only be refunded every other day.
|
|
|
|
|
|
2.Request message format
|
|
|
|
|
@@ -318,7 +319,7 @@ Parameters as follows:
|
|
|
|
|
|
1.Interface specification
|
|
|
|
|
|
- The interface provides the access merchant with the cancellation of international credit card consumption, pre-authorization, and pre-authorization completion.
|
|
|
+ The interface provides the access merchant with the cancellation of international credit card consumption, pre-authorization, and pre-authorization completion. Remarks: The cancellation of international credit card consumption can only be completed on the day of consumption, and the cancellation cannot be made the next day.
|
|
|
|
|
|
2.Request message format
|
|
|
|
|
@@ -355,6 +356,49 @@ Parameters as follows:
|
|
|
| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
|
|
|
+### 4.9 Manual refund interface
|
|
|
+
|
|
|
+1.Interface specification
|
|
|
+
|
|
|
+This interface provides a manual refund request for the access merchant. Note: When the merchant can't make an online refund (transaction time is more than 90 days), you can call this interface to implement the manual refund request.
|
|
|
+
|
|
|
+2.Request message format
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| ------------- | ---------- | ---- | ------------------------------------------------------------ |
|
|
|
+| version | String(12) | M | "VER000000005" |
|
|
|
+| charSet | String(6) | M | "UTF-8" |
|
|
|
+| transType | String(4) | M | "MANREFD" |
|
|
|
+| orderNum | String(60) | M | Refund order number: it is defined by the merchant, and the refund order number under the same merchant number cannot be repeated |
|
|
|
+| origOrderNum | String(60) | M | Original trade order number |
|
|
|
+| returnAmount | String(12) | M | Refund amount: if 100 yuan, it is 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" |
|
|
|
+| merID | String(15) | M | Merchant ID, assigned by AllPay |
|
|
|
+| paymentSchema | String(10) | M | Channel code: "FC" |
|
|
|
+| acqID | String(11) | M | "99020344" |
|
|
|
+| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| signType | String(3) | M | "MD5" or "SHA256" |
|
|
|
+| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
+
|
|
|
+3.Response message format
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| --------- | ---------- | ---- | ---------------------------------------------- |
|
|
|
+| version | String(12) | M | "VER000000005" |
|
|
|
+| charSet | String(6) | M | "UTF-8" |
|
|
|
+| transType | String(4) | M | "MANREFD" |
|
|
|
+| orderNum | String(60) | M | Refund order number |
|
|
|
+| transID | String(32) | M | The unique transaction id generated by the gateway. |
|
|
|
+| merID | String(15) | M | Merchant ID, assigned by AllPay |
|
|
|
+| acqID | String(11) | M | "99020344" |
|
|
|
+| paymentSchema | String(10) | M | Channel code: "FC" |
|
|
|
+| RespCode | String(2) | M | 00 means the application has been accepted |
|
|
|
+| RespMsg | String(20) | M | Response message |
|
|
|
+| transTime | String(14) | M | Transaction time, format :" yyyyMMddHHmmss" |
|
|
|
+| GWTime | String(14) | M | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
|
|
|
+| signType | String(10) | M | "MD5" or "SHA256" |
|
|
|
+| signature | String(32) | M | MD5 or SHA256 signature |
|
|
|
+
|
|
|
## 5.Channel exclusive allocation
|
|
|
|
|
|
### 5.1 WX
|