Skip to main content
POST
Annuler le plan de facturation

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

Corps

application/json

Schéma de demande client pour annuler le plan d’abonnement d’un compte.

cancel_at_period_end
boolean
défaut:true

Annuler le forfait à la fin de la période de facturation

cancel_immediately
boolean
défaut:false

Annulez le plan immédiatement

Réponse

status
string
requis

Statut de l'opération de facturation

account_status
string | null

Statut du compte après l'opération

effective_at
string<date-time> | null

Quand le changement de facturation est entré en vigueur

eligible
boolean | null

Si le compte était éligible à l'opération

previous_plan_id
string | null

ID du plan de facturation précédent

target_plan_id
string | null

ID du plan de facturation cible