Skip to main content
GET
/
v1
/
dashboard
/
billing
/
subscription
查询令牌余额
curl --request GET \
  --url https://api.qclawrouter.com/v1/dashboard/billing/subscription \
  --header 'Authorization: Bearer <token>'
{
  "object": "billing_subscription",
  "has_payment_method": true,
  "soft_limit_usd": 100,
  "hard_limit_usd": 100,
  "system_hard_limit_usd": 100,
  "access_until": 1735689600
}

Authorizations

Authorization
string
header
required

使用您的 API Key 作为 Bearer Token。在控制台创建令牌获取。

Response

查询成功

object
string
Example:

"billing_subscription"

has_payment_method
boolean
Example:

true

soft_limit_usd
number

总额度(美元)

Example:

100

hard_limit_usd
number

总额度(美元)

Example:

100

system_hard_limit_usd
number
Example:

100

access_until
integer

令牌过期时间(Unix 时间戳)

Example:

1735689600