全部
在线测试

修改支付账号接口


接口介绍: 修改支付账号接口 点击查看详情


接口地址

/v1/update/user/account

请求方式

POST

请求头参数

参数 类型 必选 值 示例
appKey string 是 联系客服获取 72a6dc974139XXXX
appSecret string 是 联系客服获取 2c9909875h1b61c58af4fcf6ff6dXXXX

参数简介

参数名 参数类型 参数介绍 是否必须
id string 账号 ID 是
accountPayType string 支付方式(0 微信支付 1 支付宝支付) 是
accountType string 账户类型(0 个人 1 个体户 2 企业账户) 账户类型不同直接影响收款总金额,请务必联系运营确定方案 是
accountDayMax string 当日收款上限,请务必联系运营确定方案 是
accountCheckStatus string 照抄传参数 1 是
accountStatus string 照抄传参数传 1 是
accountAppId string 微信支付 appId(支付方式微信必传)
accountMchId string 微信支付商户 ID(支付方式微信必传) 是
accountKey string 微信支付 API 密钥(支付方式微信必传) 是
alipayAppId string 支付宝 appId(支付方式支付宝必传) 是
alipayPhone string 支付宝绑定手机号码(支付方式支付宝必传) 是
alipayEmail string 绑定邮箱 是
alipayShopName string 支付宝收款商户名 是
alipayAccountName string 支付宝账号(支付方式支付宝付必传) 是
alipayName string 支付宝实名(支付方式支付宝付必传) 是
alipayAppPrivateKey string 支付宝商户私钥(支付方式支付宝必传) 是
alipayPublicKey string 支付宝公钥(支付方式支付宝必传) 是

请求示例

  id:1
  accountPayType : 0
  accountType: 0
  accountDayMax: 100
  accountCheckStatus:1
  accountAppId:123456
  accountKey:123456
  accountMchId:132355

返回值说明

参数名 返回值类型 备注
status boolean 状态码(true 请求成功 false 请求失败)
data array 正确相应的数据
msg string 错误信息
url string 重定向地址
code string 错误码

返回值示例


{
  "status": "true",
  "data": [],
  "msg": "",
  "url":"www.baidu.com",
  "code":"200"
}