Pay As You Go
Why PAYG is the default
PAYG keeps the path from signup to first utility short:- no fixed monthly fee
- card attachment only when the starter grant is exhausted
- public per-call pricing that maps cleanly to API usage
Activation flow
- sign in with WorkOS
- use the starter grant
- call
POST /v1/billing/payg/activate - attach a card in Stripe Checkout
- continue in
payg_active
Relevant endpoints
GET /v1/billingGET /v1/billing/ratesPOST /v1/billing/payg/activatePOST /v1/billing/portal
Failure posture
If the starter grant is exhausted and no card is attached, billable routes return402 billing_required with the current plan, billing state, and quota details.