Skip to content
UniAPI Doc
Search
K
Main Navigation
首页
文档
Appearance
Menu
Return to top
余额
GET
/v1/billing/usage
Authorizations
bearer
Type
HTTP (bearer)
Parameters
Query Parameters
type
token 表示查询当前令牌,不传入则查询用户
Type
string
Example
token
unit
usd 表示返回值为美元,不传入则为积分值
Type
string
Example
usd
Responses
200
Content-Type
application/json
Schema
JSON
JSON
{
"data"
:
{
"balance"
:
0
,
"used"
:
0
,
"cache_used"
:
0
}
,
"success"
:
true
}
GET
/v1/billing/usage
Playground
Authorization
bearer
Variables
Key
Value
type
unit
Try it out
Samples