PREPROD
ReaderAuthor

suite

Subscription

A tenant's active billing relationship to a plan, mirrored from Stripe.

1 min read · 2 depth levelsstratum-suite · vdevMatches production
Everyday

A Subscription is the live billing link between a tenant and a plan. It tracks the status of the relationship, the seatCount being paid for, and the current billing window through currentPeriodStart and currentPeriodEnd. A trialEndsAt marks any free period, and cancelAtPeriodEnd flags a subscription set to lapse rather than renew. It mirrors Stripe through stripeSubscriptionId, so the platform's view of who-pays-for-what stays in sync with actual charges. When payments fail, the related dunningEvents record the escalating reminders sent before access is affected.

Technical section
Data model, API, and internals — visible to developers.
View as developer →
Was this helpful?