Skip to content

GET /v1/user/balance

查询当前登录用户的账户余额和总已用金额。

请求

内容
方法GET
路径/v1/user/balance
鉴权API Key 或登录 JWT

返回值

json
{
  "success": true,
  "remain_balance": "10.5",
  "remain_credits": 10500000,
  "used_balance": "1.2",
  "used_credits": 1200000
}

基于 MIT 协议发布(社区版)