Skip to content

Latest commit

 

History

History
642 lines (469 loc) · 16.7 KB

63AD526A6F5596E9295F511090FCCC84.rst

File metadata and controls

642 lines (469 loc) · 16.7 KB

支付网关v2

Note

多商户版支付网关:✔支付宝、✔微信支付。订单创建、查询、退款和自定义接收支付通知等操作。

支付宝

电脑网站支付

官方文档:https://docs.open.alipay.com/270 Client Scopes:iot.payment.alipay.webpayUser Permissions:iot.payment.alipay.webpay

Link

手机网站支付

官方文档:https://docs.open.alipay.com/203 Client Scopes:iot.payment.alipay.wappayUser Permissions:iot.payment.alipay.wappay

Link

APP支付

官方文档:https://docs.open.alipay.com/204 Client Scopes:iot.payment.alipay.apppayUser Permissions:iot.payment.alipay.apppay

Link

扫码支付

官方文档:https://docs.open.alipay.com/api_1/alipay.trade.precreate Client Scopes:iot.payment.alipay.scanpayUser Permissions:iot.payment.alipay.scanpay

Link

条码支付

官方文档:https://docs.open.alipay.com/api_1/alipay.trade.pay Client Scopes:iot.payment.alipay.barcodepayUser Permissions:iot.payment.alipay.barcodepay

Link

交易查询

官方文档:https://docs.open.alipay.com/api_1/alipay.trade.query Client Scopes:iot.payment.alipay.queryUser Permissions:iot.payment.alipay.query

Link

交易退款

官方文档:https://docs.open.alipay.com/api_1/alipay.trade.refund Client Scopes:iot.payment.alipay.refundUser Permissions:iot.payment.alipay.refund

Link

退款查询

官方文档:https://docs.open.alipay.com/api_1/alipay.trade.fastpay.refund.query Client Scopes:iot.payment.alipay.refundqueryUser Permissions:iot.payment.alipay.refundquery

Link

交易撤销

官方文档:https://docs.open.alipay.com/api_1/alipay.trade.cancel Client Scopes:iot.payment.alipay.cancelUser Permissions:iot.payment.alipay.cancel

Link

交易关闭

官方文档:https://docs.open.alipay.com/api_1/alipay.trade.close Client Scopes:iot.payment.alipay.closeUser Permissions:iot.payment.alipay.close

Link

单笔转账

官方文档:https://docs.open.alipay.com/api_28/alipay.fund.trans.toaccount.transfer Client Scopes:iot.payment.alipay.transferUser Permissions:iot.payment.alipay.transfer

Link

转账查询

官方文档:https://docs.open.alipay.com/api_28/alipay.fund.trans.order.query Client Scopes:iot.payment.alipay.transferqueryUser Permissions:iot.payment.alipay.transferquery

Link

下载对账单

官方文档:https://docs.open.alipay.com/api_15/alipay.data.dataservice.bill.downloadurl.query Client Scopes:iot.payment.alipay.billdownloadUser Permissions:iot.payment.alipay.billdownload

Link

商户列表

Client Scopes: iot.payment.alipay.merchants User Permissions: iot.payment.alipay.merchants

Link

更新商户

Client Scopes: iot.payment.alipay.putmerchant User Permissions: iot.payment.alipay.putmerchant

Link

添加商户

Client Scopes: iot.payment.alipay.postmerchant User Permissions: iot.payment.alipay.postmerchant

Link

删除商户

Client Scopes: iot.payment.alipay.deletemerchant User Permissions: iot.payment.alipay.deletemerchant

Link

微支付

公众号支付

官方文档:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_1 Client Scopes:iot.payment.wechatpay.publicpayUser Permissions:iot.payment.wechatpay.publicpay

Link

APP支付

官方文档:https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=8_1 Client Scopes:iot.payment.wechatpay.apppayUser Permissions:iot.payment.wechatpay.apppay

Link

小程序支付

官方文档:https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=7_3 Client Scopes:iot.payment.wechatpay.appletpayUser Permissions:iot.payment.wechatpay.appletpay

Link

H5支付

官方文档:https://pay.weixin.qq.com/wiki/doc/api/H5.php?chapter=15_1 Client Scopes:iot.payment.wechatpay.wappayUser Permissions:iot.payment.wechatpay.wappay

Link

扫码支付

官方文档:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=6_1 Client Scopes:iot.payment.wechatpay.scanpayUser Permissions:iot.payment.wechatpay.scanpay

Link

条码支付

官方文档:https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=5_1 Client Scopes:iot.payment.wechatpay.barcodepayUser Permissions:iot.payment.wechatpay.barcodepay

Link

查询订单

Client Scopes: iot.payment.wechatpay.query User Permissions: iot.payment.wechatpay.query

Link

申请退款

Client Scopes: iot.payment.wechatpay.refund User Permissions: iot.payment.wechatpay.refund

Link

查询退款

Client Scopes: iot.payment.wechatpay.refundquery User Permissions: iot.payment.wechatpay.refundquery

Link

关闭订单

Client Scopes: iot.payment.wechatpay.close User Permissions: iot.payment.wechatpay.close

Link

撤销订单

Client Scopes: iot.payment.wechatpay.cancel User Permissions: iot.payment.wechatpay.cancel

Link

企业付款到零钱

Client Scopes: iot.payment.wechatpay.transfer User Permissions: iot.payment.wechatpay.transfer

Link

查询企业付款零钱

Client Scopes: iot.payment.wechatpay.transferquery User Permissions: iot.payment.wechatpay.transferquery

Link

获取RSA公钥

Client Scopes: iot.payment.wechatpay.publickey User Permissions: iot.payment.wechatpay.publickey

Link

企业付款到银行卡

Client Scopes: iot.payment.wechatpay.transfertobank User Permissions: iot.payment.wechatpay.transfertobank

Link

查询企业付款银行卡

Client Scopes: iot.payment.wechatpay.transfertobankquery User Permissions: iot.payment.wechatpay.transfertobankquery

Link

下载对账单

Client Scopes: iot.payment.wechatpay.billdownload User Permissions: iot.payment.wechatpay.billdownload

Link

下载资金账单

Client Scopes: iot.payment.wechatpay.fundflowdownload User Permissions: iot.payment.wechatpay.fundflowdownload

Link

获取OpenId

微支付 - 获取OpenId

Link

小程序登录

官方文档:https://developers.weixin.qq.com/minigame/dev/api/open-api/login/code2Session.html

Link

商户列表

Client Scopes: iot.payment.wechatpay.merchants User Permissions: iot.payment.wechatpay.merchants

Link

更新商户

Client Scopes: iot.payment.wechatpay.putmerchant User Permissions: iot.payment.wechatpay.putmerchant

Link

添加商户

Client Scopes: iot.payment.wechatpay.postmerchant User Permissions: iot.payment.wechatpay.postmerchant

Link

上传支付证书

Client Scopes: iot.payment.wechatpay.uploadcert User Permissions: iot.payment.wechatpay.uploadcert 证书类型必须是x-pkcs12,上传成功后返回证书名称

Link

删除商户

Client Scopes: iot.payment.wechatpay.deletemerchant User Permissions: iot.payment.wechatpay.deletemerchant

Link