Skip to main content
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.model is per_unit: billed per unit held, in advance, at the plan’s billing interval. To bill what was held over the month instead, in arrears, use measured.
  • unitAmountCents is 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, use tiers instead (Tiered pricing).
  • includedQuantity is how many seats are free (default 0).
  • included (or unlimited: true) is still the most seats the customer may hold. included: 20 caps the team at 20; an add past it is refused with limit_reached.
A $0 plan with only a seat price ("$12 a seat, no base fee”) bills through Stripe like any paid plan, rather than as a free plan.

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:
Adding a seat and removing it again in the same period with the defaults nets to about zero.

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
  • quantity is the count held, and billedQuantity how many are billed past the free ones.
  • nextChargeCents is what one more seat adds to each period’s bill: 0 while it’s still free. Show it on an “Add member” button.
  • unitAmountCents is null when tiers price the seats.

Rules

  • Seat prices go on held items. A held item’s price takes unitAmountCents or tiers, one of the two; metered, credits and boolean items take no price.
  • 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.