支付

支付设置

POST - /payment/edit
参数 是否必填 说明
type 类型,wechat_mp微信公众平台支付
config 否,存在status字段时失效 配置,数组
status 是否开启,1 开启 0 关闭

config 字段说明

  • wechat 微信公众平台支付
参数 是否填 说明
appid APP APPID,可以为空
app_id 公众号 APPID,可以为空
app_secret 微信AppSecret,可以为空
miniapp_id 小程序 APPID,可以为空
mch_id 微信商户ID,可以为空
notify_url 交易异步通知地址,可以为空
key 微信商户API密钥,可以为空
apiclient_cert 是(用到原路返回退款功能时需要) 微信商户平台下载证书 cert.zip 中的 apiclient_cert.pem 文件,可以为空
apiclient_key 是(用到原路返回退款功能时需要) 微信商户平台下载证书 cert.zip 中的 apiclient_key.pem 文件,可以为空
rootca 是(用到原路返回退款功能时需要) 微信商户平台下载证书 cert.zip 中的 rootca.pem 文件,可以为空

支付设置详情

GET - /payment/info
参数 是否必填 说明
type 类型,wechat微信支付

支付宝接口设置介绍,待完善文档

image

上次更新: 2018/12/26 下午11:35:12