Billing
Plan catalogue and the tenant's plan/subscription + usage vs quota (admin-only). Faz 3 Dilim A is plan/subscription domain only β POST /api/billing/subscribe drives a deterministic fake provider, with NO real Stripe charge. Paid checkout arrives in Dilim B.
Event promotions applied to this workspace
What the workspace was given by event promo cards (E7.10, doc 59): the
Redeem an event promo card for this workspace
Applies a promo card after sign-up. One promotion per campaign per
List the plan catalogue
Returns the platform plan catalogue, in catalogue order. The same tiers
Get the tenant's plan + usage vs quota
Returns the current tenant's subscription (current plan + lifecycle status
Plan & usage at a glance
The workspace's plan, wallet, promotions, usage vs limits and warnings in
Get the tenant's billing history
Returns the tenant's invoices (most recent first), sourced from the active
Choose a plan (checkout-gated)
Subscribe the tenant to a catalogue plan. Admin only.
What choosing a paid plan costs right now
The numbers the plan-change confirmation shows, and exactly what
Leave the paid plan (at period end, or now)
Admin only.
Undo 'cancel at period end'
Re-enables renewal while the paid period is still running. Admin only.
Buy or shed a recurring add-on
Adjust the tenant's recurring add-ons (ENT-2): extra standard/premium
Open the Stripe Billing Portal
Create a hosted Stripe Billing Portal session and return its URL so the
Stripe webhook receiver (server-to-server)
Inbound Stripe webhook endpoint (Faz 3 Dilim B). Called by Stripe