tier subscribe

tier [--live] subscribe [--email=[email]] <org> [plan|featurePlan]...

Tier subscribe creates or updates a subscription for the provided org, applying the features in the plan.

If a customer object does not yet exist corresponding to the provided org name, then a new customer will be created in Stripe.

See tier whois to get the Stripe customer id for a given org name.

To subscribe a customer in live mode, use the --live flag.

This will only work if the key minted with tier connect is granted write access to "Billing Resources and Core Resources", or if a suitable STRIPE_API_KEY is set in the environment. See the tier connect documentation for more information.