查询企业额度及余额
https://openapi.guanaitong.tech/assets/limit/enterprise/get
POST
(1)公共参数
发送请求是必须传入公共参数,详见公共参数
(2)私有参数
| 参数名称 | 是否必须 | 参数类型 | 长度限制 | 描述 |
| account_openid | 否 | string | [32] | 额度账户的 openid。不填时,返回所有的额度账户。 |
| enterprise_code | 否 | string | [1,20] | 企业编号(集团和运营商同步,企业不填) |
POST /assets/limit/enterprise/get HTTP/1.1 Host: openapi.guanaitong.tech Content-Type: application/x-www-form-urlencoded Cache-Control: no-cache access_token=61b74556b4eb62ba84ea990a10d68dc6&account_openid=ea6977a16bccfce0e4d09e728ff64b64& timestamp=1494317866&sign=d94bbd5de270435d879988b2ca3040b120efa8b7
| 参数名称 | 描述 |
| code | 返回码。详见错误代码。 |
| msg | 如果错误,返回错误信息。 |
| data | 如果没有错误,返回企业资产数组 |
| data.account_openid | 账户openid |
| data.name | 账户名称 |
| data.balance | 账户余额 |
| data.status | 账户状态 |
{
"code": 0,
"data": [
{
"account_openid": "ea6977a16bccfce0e4d09e728ff64b64",
"name": "基本户",
"balance": 77540391,
"status": 1
}
],
"msg": "OK"
}
{
"code": 1000210004,
"data": null,
"msg": "tokeninfo check failed!"
}