支付中台

支付接口

1. 接口域名

地址:https://pay.sqzw.com/

2. 参数说明

M:必填C:可选

3.1支付接口

请求参数
名称 说明 类型 是否必填
nonce 随机数 Long M
version 版本号,默认为v1 String M
sign 签名 String M
sign_type 签名类型,默认256位加密方式,值为SHA256withRSA,如果是128位加密方式,请设置值为SHA1withRSA String M
app_id 应用ID String M
store_no 商户/门店编号,不可空 String M
terminal_no 终端编号 String M
terminal_trade_no 终端流水号,不超过40位且同一门店下流水号需唯一 String M
total_amount 支付金额,以分为单位 integer M
auth_code 付款码 String M
third_store_no 第三方商户/门店编号 String C
third_store_name 第三方商户/门店名称 String C
third_terminal_no 第三方终端号 String C
third_trade_no 第三方订单/交易流水号 String C
async 是否异步操作 boolean C
discountable_amount 参与优惠计算的金额,单位为分,取值范围 [1,1000000000]。 integer C
goods_detail 商品清单, 订单包含的商品列表信 息,json 格式,其它说明详见商品明 细说明。 [{"goods_id":"apple-01", "goods_name":"ipad", String C
product_code "quantity":1,"price":2000,"goods_catego ry":"34543238","body":"特价手机 ","show_url":"http://www.alipay.com/xx x.jpg"}] product_code ALIPAY_F2F_PAYMENT:阿里刷脸支付 String C
响应参数
名称 说明 类型 是否必填
accountNo 支付账户信息 String C
acquirerTradeNo 收单方流水号 String C
amount 交易金额,以分为单位 integer C
centerTradeNo 支付宝/微信流水号 String C
centerTradeNo 支付宝/微信流水号 String C
gatewayTradeNo 网关流水号 String C
terminalTradeNo 终端流水号 String M
tradeCode 交易状态码 String C
tradeMsg 交易消息 String C
tradeStatus 交易状态 String M
tradeTime 支付时间,时间格式 yyyyMMddHHmmss String C
payType 支付类型 String C
receipt_amount 实收金额, 以分为单位(样例:8888) integer M
buyer_pay_amount 买家付款的金额,单位分(样例:8888) integer M
mdiscount_amount 商家优惠金额,单位分(样例:8888) integer C
discount_amount 平台优惠金额,单位分(样例:8888) integer C
invoice_amount 交易中可给用户开具发票的金额,单位分(样例:8888) integer C
point_amount 使用集分宝付款的金额,单位分(样例: 8888) integer C
discount_goods_detail 本次交易支付所使用的单品券优惠的商品优惠信息 [{"goods_id":"STANDARD1026181538""goods_name":"雪碧 ","discount_amount":"100.00","voucher _id":"2015102600073002039000002D5 O"}] String C
fund_bill_list 交易支付使用的资金渠道,数组"fund_bill_list": [ {"fund_channel": "ALIPAYACCOUNT", "amount":10, "real_amount": 11.21 }] String C
voucher_detail_list 交易支付使用的资金渠道,数组 "fund_bill_list": [ {"fund_channel": "ALIPAYACCOUNT", "amount":10, "real_amount": 11.21 }] String C
buyer_user_id 买家的用户 id String C