3eapi/doc/阿里支付公共参数.txt
2026-03-10 16:40:19 +08:00

48 lines
2.4 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

公共参数
参数 类型 是否必填 最大长度 描述 示例值
app_id String 是 32 支付宝分配给开发者的应用ID 2014072300007148
method String 是 128 接口名称 alipay.trade.app.pay
format String 否 40 仅支持JSON JSON
charset String 是 10 请求使用的编码格式,
如utf-8,gbk,gb2312等 utf-8
sign_type String 是 10 商户生成签名字符串所使用的签名
算法类型目前支持RSA RSA
sign String 是 256 商户请求参数的签名串,详见签名 详见示例
timestamp String 是 19 发送请求的时间,
格式"yyyy-MM-dd HH:mm:ss" 2014-07-24 03:07:50
version String 是 3 调用的接口版本固定为1.0 1.0
notify_url String 是 256 支付宝服务器主动通知商户服务器里
指定的页面http/https路径。
建议商户使用https https://api.xx.com/receive_notify.htm
biz_content String 是 - 业务请求参数的集合,最大长度不限,
除公共参数外所有请求参数都必
须放在这个参数中传递,具体参
照各产品快速接入文档
业务参数
参数 类型 是否必填 最大长度 描述 示例值
body String 否 128 对一笔交易的具体描述信息。如
果是多种商品,请将商品描
述字符串累加传给body。 Iphone6 16G
subject String 是 256 商品的标题/交易标题/订单标题
/订单关键字等。 大乐透
out_trade_no String 是 64 商户网站唯一订单号 70501111111S001111119
timeout_express String 否 6 该笔订单允许的最晚付款时间,
逾期将关闭交易。取值范围:
1m15d。m-分钟h-小时,
d-天1c-当天1c-当天
的情况下,无论交易何时创建,
都在0点关闭。 该参数数
值不接受小数点, 如 1.5h
可转换为 90m。 90m
total_amount String 是 9 订单总金额,单位为元,精确到
小数点后两位,取值范围
[0.01,100000000] 9.00
seller_id String 否 16 收款支付宝用户ID。 如果该值
为空,则默认为商户签约
账号对应的支付宝用户ID 2088102147948060
product_code String 是 64 销售产品码,商家和支付宝签约
的产品码,为固定值
QUICK_MSECURITY_PAY QUICK_MSECURITY_PAY