Skip to main content
GET
查询账户余额
本接口要求 Admin Key 具备 billing:read 作用域。

授权

Authorization
string
header
必填

Authorization 请求头携带 Admin API secret 作为 Bearer 令牌,格式为 Bearer sk-admin-***。Admin Key 可在「控制台 → 组织管理 → Admin API Keys」创建。

响应

账户余额与累计金额(毫分)。

available_balance
integer<int64>
必填

可用余额(充值+赠送合计,毫分)。

total_consume
integer<uint64>
必填

总消费(充值+赠送合计,毫分)。

total_recharge_amount
integer<uint64>
必填

累计充值金额(毫分)。

total_voucher_amount
integer<uint64>
必填

代金券累计发放金额(毫分)。