GET
/
credit
/
balance
获取当前用户余额
curl --request GET \
  --url https://geekai.co/api/credit/balance \
  --header 'Authorization: Bearer <token>'
{
  "balance": 123
}
查询指定当前用户充值账户余额。
注意:调用此接口需要通过系统 KEY 进行认证,需要创建后复制进行使用。

Authorizations

Authorization
string
header
required

系统KEY

Path Parameters

uuid
string<uuid>
required

资源唯一标识符

Response

200
application/json

成功响应

余额信息