PREPROD
ReaderAuthor

suite

Capacity Block

A purchasable unit of extra storage capacity with its price and Stripe mapping.

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

A CapacityBlock defines one buyable increment of storage that tenants can add to their plan. Each block has a code and human-readable label, and a kind that says whether it applies to object or database storage. bytesPerBlock sets how much capacity one block grants, and priceCents with its linked stripePriceId set the cost and how it is billed. An isActive flag controls whether the block is currently offered, and sortOrder arranges the choices for display. These blocks turn raw storage into clean, priced products customers can self-serve.

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