跳转到主要内容
GET
/
v1
/
public
/
accounts
/
{account_id}
/
billing
/
current-plan
获取当前计划
curl --request GET \
  --url https://api.hybridbox.io/v1/public/accounts/{account_id}/billing/current-plan \
  --header 'Authorization: Bearer <token>'
{
  "billing_period": "<string>",
  "currency": "<string>",
  "plan_id": "<string>",
  "plan_name": "<string>",
  "price": "<string>",
  "status": "<string>",
  "can_cancel_plan": false,
  "can_change_plan": false
}

Documentation Index

Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

Public API bearer credential sent as Authorization: Bearer <token>. Use either an OAuth access token or a Hybridbox Service account token.

路径参数

account_id
string<uuid>
必填

响应

billing_period
string
必填

当前计划的计费周期

currency
string
必填

计费货币代码

plan_id
string
必填

当前计费计划 ID

plan_name
string
必填

当前计费计划名称

price
string
必填

当前计划价格

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
status
string
必填

当前计划状态

can_cancel_plan
boolean
默认值:false

计划是否可以取消

can_change_plan
boolean
默认值:false

计划是否可以更改