Billing

Withdraw the cancellation

Withdraws a pending cancellation or a scheduled switch to another plan, so the subscription renews on its current plan, and returns the subscription.

DELETE
/billing/subscription/cancellation

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

application/json

Success

plan_idstringrequired

The id of the plan subscribed to.

statusenum<string>required

trialing: in the free trial. active: paid and renewing. past_due: a payment failed. canceling: canceled, ends at ends_at.

Available options: trialing, active, past_due, canceling

price_usdnumber | nullrequired

The plan's price per interval in US dollars; null when unknown.

trial_ends_atstring | nullrequired

When the free trial ends or ended, ISO 8601; null without a trial.

current_period_endstring | nullrequired

When the current billing period ends, ISO 8601; null when unknown.

canceled_atstring | nullrequired

When the subscription was canceled or switched to another plan, ISO 8601; null when neither is pending.

ends_atstring | nullrequired

When the current plan ends, ISO 8601: the end of a cancellation, or when next_plan_id takes over. Null while it renews.

next_plan_idstring | nullrequired

The plan that takes over at ends_at after a scheduled switch; null when none.