Sfoglia il codice sorgente

修改接口文档

tao.zhou 5 anni fa
parent
commit
a5246c0d4c

File diff suppressed because it is too large
+ 1 - 1
AllPay_Integration_Specification_CH.md


+ 2 - 2
AllPay_Integration_Specification_EN.md

@@ -9,13 +9,13 @@ AllPay provides customers with unified API access to help them implement fast, s
 ## 2.Transaction process 
 ![image](https://git.allpayx.com/OpenAPI/b2c/raw/master/images/pc_flowsheet.png)
 ## 3.Description of verifying the signature 
-
+```
 1.For a POST request message sent to the AllPay system, in which all incoming parameters (except signature parameters) according to the field name of ASCII smallest sequence (dictionary), using the format of the URL key/value pair (key1 = value1 & key2 = value2... ) spliced into a string String1.
 
 2.At the end of String1, the signature Key (assigned at AllPay upon access) agreed by both parties is spliced directly (no need to connect with "&"), resulting in a stringSignTemp string, and an encryption on stringSignTemp to get the value of signature.
 
 3.Sample signature string: acqID=99020344&backURL=https://www.allpayx.com&charSet=UTF-8&detailInfo=W3siZ29vZHNfbmFtZSI6IuiLueaenCIsInF1YW50aXR5IjoiMyJ9LHsiZ29vZHNfbmFtZSI6IuapmOWtkCIsInF1YW50aXR5IjoiNyJ9XQ==&frontURL=https://www.baidu.com&goodsInfo=apple&merID=000000000000015&merReserve=iPhone&orderAmount=0.01&orderCurrency=USD&orderNum=20190104022800&paymentSchema=AP&signType=MD5&transTime=20190104022800&transType=PURC&version=VER0000000022f2c77e3718c47cfb47a89a6fbc9d361
-
+```
 ## 4.Common interface
 Common interface includes notification, asynchronous notification of transactions, transaction inquiry, refund, refund inquiry interface
 ### 4.1 General API access address 

+ 1 - 1
AllPay_Other_Integration_Specification_CH.md

@@ -14,7 +14,7 @@ AllPay 为客户提供统一的API接入,以帮助客户实 现快速、安全
 
 2.在 String1 最后直接拼接(不需要用“&”连接)双方约定的签名密钥 Key(接入 AllPay 时分配),得到 stringSignTemp 字符串,并对 stringSignTemp 进行加密运算,得到 signature 的值。
 
-3.示例签名串  merID=000000000000015&signType=MD5&transID=MQkmUGAh3Gw2HEEi2f2c77e3718c47cfb47a89a6fbc9d361
+3.示例签名串 merID=000000000000015&signType=MD5&transID=MQkmUGAh3Gw2HEEi2f2c77e3718c47cfb47a89a6fbc9d361
 ```
 
 ## 3.API 说明