Delete or archive a plan
Plans
Delete or archive a plan
Archive-by-default. If the plan has any subscriptions it is archived (active=false): existing subscribers keep billing, history is preserved, and it stops accepting new sign-ups. Only a plan that was never subscribed is permanently hard-deleted. Historical invoices are never affected either way (they snapshot the amount at billing time).
DELETE
Delete or archive a plan
Authorizations
Use sk_test_ keys for sandbox. Use sk_live_ keys for production. Obtain your key from the dashboard.