Skip to content

余额

GET
/v1/billing/usage

Authorizations

bearer
TypeHTTP (bearer)

Parameters

Query Parameters

type

token 表示查询当前令牌,不传入则查询用户

Typestring
Exampletoken
unit

usd 表示返回值为美元,不传入则为积分值

Typestring
Exampleusd

Responses

application/json
JSON
{
"data": {
"balance": 0,
"used": 0,
"cache_used": 0
},
"success": true
}

Playground

Authorization
Variables
Key
Value

Samples