API referenceBilling
`POST /billing/payment-methods/{id}/default` — make a saved card the default (what top-up charges hit). **Owner-only**.
POST
/billing/payment-methods/{id}/defaultPath Parameters
id*string
Stripe payment method id
Response Body
curl -X POST "https://example.com/billing/payment-methods/string/default"Empty
`GET /billing/plans` — the public plan catalog. **Unauthenticated** (the signup page reads it before an org exists) and stateless: composed from the compiled-in `plan-defaults` / `pricing-defaults` codegen + the hand-written plan-catalog labels/features. The single wire source that replaces the frontend's `PRICING_PLANS` constant. GET
Previous Page
`GET /billing/top-up` — the top-up pack (per-dimension headroom + price) + the org's current packs/spend/cap, for the purchase UI's cost preview. Admin-read. GET
Next Page