Attaches multiple plans to a customer in a single request. Creates a single Stripe subscription with all plans consolidated.
Use this endpoint when you need to subscribe a customer to multiple plans at once, such as a base plan plus add-ons, or to create a bundle of products.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the customer to attach the plans to.
The list of plans to attach to the customer.
1The ID of the entity to attach the plans to.
Free trial configuration applied to all plans. Pass an object to set a custom trial, or null to remove any trial.
Invoice mode creates a draft or open invoice and sends it to the customer, instead of charging their card immediately.
List of discounts to apply. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code.
URL to redirect to after successful checkout.
Additional parameters to pass into the creation of the Stripe checkout session.
Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects.
always, if_required, never Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one.
Customer details to set when creating a customer
OK
The ID of the customer.
URL to redirect the customer to complete payment. Null if no payment action is required.
The ID of the entity, if the plan was attached to an entity.
Invoice details if an invoice was created. Only present when a charge was made.
Details about any action required to complete the payment. Present when the payment could not be processed automatically.