余额接口
最后更新于
最后更新于
POST /api/open/balance_left HTTP/1.1
Host: api.ipidea.net
Accept: */*
{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": {
"balance_left": 31950
},
"timestamp": 1653372307
}POST /api/open/balance_warning_set HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 78
{
"phone": "18888888888",
"balance_upper_limit": "101",
"operate": "1",
"status": "1"
}{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": [],
"timestamp": 1653372658
}POST /api/open/balance_proxy_account_use_record HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 64
{
"start_time": "1656518400",
"end_time": "1656604800",
"id": "28670"
}{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": [
{
"account_id": 3123123, // 认证账号ID
"balance": 100, // 余额
"day": 1653998400, // 日期
"isp_flow_use": 0, // isp流量使用
"isp_use": 0, // isp使用
"residential_flow_use": 0,
"residential_use": 0,
"static_flow_use": 0,
"static_use": 0,
"total_use_balance": 0, // 总消耗余额
"total_use_flow": 0 // 总消耗流量
}
],
"timestamp": 1653374667
}POST /api/open/balance_use_record HTTP/1.1
Host: api.ipidea.net
Content-Type: multipart/form-data
Accept: */*
Content-Length: 51
{
"start_time": "1653321600",
"end_time": "1653321600"
}{
"ret": 0,
"code": "1",
"msg": "success",
"ret_data": [
{
"balance": 100, // 余额
"day": 1653998400, // 日期
"isp_flow_use": 0, // isp流量使用 单位B
"isp_use": 0, // isp使用
"residential_flow_use": 0, // 动态住宅流量使用
"residential_use": 0, // 动态住宅流量使用
"static_flow_use": 0, // 动态数据中心流量使用
"static_use": 0, // 动态数据中心使用
"total_use_balance": 0, // 总消耗余额
"total_use_flow": 0, // 总消耗流量
"static_order_user": 0, // 独享数据中心
"static_house_orderUse": 0, // 静态住宅数据中心
}
],
"timestamp": 1653374667
}