billing

Subscribe to a billing plan

[cloud-only] Creates a new subscription to the specified billing plan.

post/api/billing/subscribe

Request body

plan_idstring required

ID of the plan to subscribe to

payment_method_idstring

Stripe payment method ID

Response

Subscription created

idstring required
status'active' | 'cancelled' | 'past_due' | 'trialing' required
plan_idstring required
plan_namestring
current_period_startstring date-time
current_period_endstring date-time
cancel_at_period_endboolean

Changes