Explorar o código

修改v5接口文档

tao.zhou %!s(int64=4) %!d(string=hai) anos
pai
achega
ff3b59bd52

+ 2 - 12
AllPay_Integration_Specification_CH.md

@@ -135,7 +135,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 
 
 1.接口功能说明 
 1.接口功能说明 
 
 
-该接口为接入商家提供交易退款的功能。 备注:外卡交易当日不能做退款,可以做撤销,只能隔天退款。
+该接口为接入商家提供交易退款的功能。备注:外卡交易当日不能做退款,可以做撤销,只能隔天退款。
 
 
 2.请求报文格式 
 2.请求报文格式 
 
 
@@ -356,13 +356,11 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | signType      | String(10) | M    | MD5或SHA256                                    |
 | signType      | String(10) | M    | MD5或SHA256                                    |
 | signature     | String(32) | M    | 采用 MD5或SHA256 签名                          |
 | signature     | String(32) | M    | 采用 MD5或SHA256 签名                          |
 
 
-
-
 ### 4.9 外卡手工退款接口
 ### 4.9 外卡手工退款接口
 
 
 1.接口功能说明 
 1.接口功能说明 
 
 
-该接口为接入商家提供人工退款申请。 备注:在商户不能做联机退款时(交易时间超过90天),可以调用此接口实现手工退款申请。
+该接口为接入商家提供人工退款申请。备注:在商户不能做联机退款时(交易时间超过90天),可以调用此接口实现手工退款申请。
 
 
 2.请求报文格式 
 2.请求报文格式 
 
 
@@ -401,14 +399,6 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 | signType      | String(10) | M    | MD5或SHA256                                    |
 | signType      | String(10) | M    | MD5或SHA256                                    |
 | signature     | String(32) | M    | 采用 MD5或SHA256 签名                          |
 | signature     | String(32) | M    | 采用 MD5或SHA256 签名                          |
 
 
-### 
-
-
-
-
-
-
-
 ## 5.渠道专属配置
 ## 5.渠道专属配置
 
 
 ### 5.1 WX渠道
 ### 5.1 WX渠道

+ 46 - 2
AllPay_Integration_Specification_EN.md

@@ -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 | 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 |
 | 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 |
 | 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
 ### 4.2 Purchase interface
 
 
@@ -134,7 +135,7 @@ Parameters as follows:
 
 
 1.Interface specification 
 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 
 2.Request message format 
 
 
@@ -318,7 +319,7 @@ Parameters as follows:
 
 
 1.Interface specification
 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
 2.Request message format
 
 
@@ -355,6 +356,49 @@ Parameters as follows:
 | signType      | String(10) | M    | "MD5" or "SHA256" |
 | signType      | String(10) | M    | "MD5" or "SHA256" |
 | signature     | String(32) | M    | MD5 or SHA256 signature |
 | 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.Channel exclusive allocation
 
 
 ### 5.1 WX
 ### 5.1 WX

+ 1 - 1
v5/android/Android_Integration_Specification_CH.md

@@ -105,7 +105,7 @@ pay_result 为 json 字符串,格式如下:
   compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
   compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
   ```
   ```
 
 
-### 4.2 APMP渠道
+### 4.2 AP渠道
 
 
 1.把alipaySdk.arr 拷贝到项目的libs下面
 1.把alipaySdk.arr 拷贝到项目的libs下面
 
 

+ 1 - 1
v5/android/Android_Integration_Specification_EN.md

@@ -105,7 +105,7 @@ Message description:
   compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
   compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
   ```
   ```
 
 
-### 4.2 APMP channel
+### 4.2 AP channel
 
 
 1.Copy alipaySdk.arr to the project's libs.
 1.Copy alipaySdk.arr to the project's libs.
 
 

+ 1 - 1
v5/ios/iOS_Integration_Specification_CH.md

@@ -132,7 +132,7 @@ resultDic,转为 json 字符串,格式如下:
    </dict>
    </dict>
    ```
    ```
 
 
-### 4.2 APMP渠道
+### 4.2 AP渠道
 
 
 1.将allpaysdk/AliModule文件夹下的文件添加到项目中
 1.将allpaysdk/AliModule文件夹下的文件添加到项目中
 
 

+ 1 - 1
v5/ios/iOS_Integration_Specification_EN.md

@@ -131,7 +131,7 @@ Message description
    </dict>
    </dict>
    ```
    ```
 
 
-### 4.2 APMP channel
+### 4.2 AP channel
 
 
 1.Add the file under the allpaysdk/AliModule folder to the project.
 1.Add the file under the allpaysdk/AliModule folder to the project.