Team: $49 a month with 3 seats included, then $10 a seat.Charge per seat, with seats included free and every change prorated, while your app only tracks who joins and leaves. A held feature such as seats can carry a price per unit held. The plan then bills each period for the seats the customer holds, beside its own price, and Stripe prorates a change within the period. Your integration is the same as for a limit: track an add when a member joins and a remove when one leaves.
The catalog
price.modelisper_unit: billed per unit held, in advance, at the plan’s billing interval. To bill what was held over the month instead, in arrears, usemeasured.unitAmountCentsis the price per seat per billing interval: a month on a monthly plan, a year on an annual one. For prices that change with the count, usetiersinstead (Tiered pricing).includedQuantityis how many seats are free (default 0).included(orunlimited: true) is still the most seats the customer may hold.included: 20caps the team at 20; an add past it is refused withlimit_reached.
Changing the count
Seats are a held count:track with quantity: 1 adds one, quantity: -1 removes one, and count sets it outright. Limits has the calls. The new count is usable at once. Ledger then moves the Stripe subscription’s seat item to it from its own queue, so track never waits on Stripe. The change is prorated from the moment it was made, however late Stripe hears of it.
price.proration decides what a change bills:
What check, track and the customer API return
check and track answer as for any held feature: balance.used is the seats held. GET /v1/customers?customerId= adds a billing object to a priced held feature:
Response
quantityis the count held, andbilledQuantityhow many are billed past the free ones.nextChargeCentsis what one more seat adds to each period’s bill: 0 while it’s still free. Show it on an “Add member” button.unitAmountCentsisnullwhen tiers price the seats.
Rules
- Seat prices go on held items. A held item’s
pricetakesunitAmountCentsortiers, one of the two; metered, credits and boolean items take noprice. - On the invoice. Each invoice has the plan’s own line and the seat lines for the count. Free seats are a $0 first band of the seat's Stripe Price, so 5 seats with 3 free show as two lines, 3 at $0 and 2 at $10. Prorations appear as their own lines. Invoices and Stripe shows them.
- Upgrades carry the count to the new plan’s seat price, billed in full on the upgrade invoice with the new plan.
- Immediate downgrades move the seats to the cheaper plan’s seat price, at the same count.
- Downgrade a seat plan immediately. A period-end downgrade of a plan with seats returns
400 seat_plan_downgrade_now_only. To switch at the period end, cancel at the period end and attach the cheaper plan. Upgrades and downgrades has the rest. - Seat prices recur. They go on monthly and annual plans; a one-off plan refuses them (
one_off_plan_cannot_bill_later). - A price change is a new version. Changing the seat price publishes a new plan version.
Related
- Tiered pricing: seat prices that fall with volume.
- Limits: a held count without a price.
- Annual plans: seats priced per year.