What is the transfer protocol for requests to Alipay?
The requests you sent to Alipay follows HTTPS protocol, the data is in key-value pairs.
See the following table for details:
Transfer method | HTTPS transmission is used for transaction security. |
Request method | GET or POST (equivalent) |
Data format | The request data is in the form of key-value pairs. The response data is in XML or JSON format. |
Charset | Unified UTF-8 character encoding. Some interfaces also support GBK. |
Signature algorithm | RSA/RSA2/MD5 |
Signature verification | Both request and response data require signature verification. |
商户到支付宝的请求走的是哪种传输协议?
商户到支付宝的请求走https协议,数据格式为k-v对形式。
传输方式 | 为保证交易安全性,采用HTTPS传输 |
提交方式 | GET或者POST(两者等效) |
数据格式 | 请求数据为k-v对形式,返回数据为xml或者json格式 |
字符编码 | 统一采用UTF-8字符编码(部分接口也支持GBK) |
签名算法 | RSA/RSA2/MD5 |
签名要求 | 请求和接收数据均需要校验签名 |
NEED HELP?