Passer au contenu principal
GET
/
v1
/
public
/
accounts
/
{account_id}
/
billing
/
current-plan
Obtenez le plan actuel
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.

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

account_id
string<uuid>
requis

Réponse

billing_period
string
requis

Période de facturation du forfait actuel

currency
string
requis

Code devise de facturation

plan_id
string
requis

ID du plan de facturation actuel

plan_name
string
requis

Nom du forfait de facturation actuel

price
string
requis

Prix ​​du forfait actuel

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

Statut actuel du plan

can_cancel_plan
boolean
défaut:false

Si le plan peut être annulé

can_change_plan
boolean
défaut:false

Si le plan peut être modifié