Client Billing
- Written for
- + Written for
- Deprecated
- + Deprecated
- Applies to
- + Applies to
Client Billing
Frontend API — publishable key (x-publishable-key) plus the user session.
4 routes. Each row is one endpoint with its explanation and whether it honours the Idempotency-Key header.
Method & path | Idem | Explanation |
|---|---|---|
| Public list of the instance's active end-user billing plans for display (no Stripe price ids or secrets). | |
| Create a Stripe Checkout Session to subscribe the signed-in user (or an org they administer) to a plan. Returns {url}; never changes subscription state. | |
| Read the signed-in user's subscription, or an org's (org_id) when the caller is a member — status plus the active plan and its features. | |
| Create a Stripe Billing Portal session for the subject's customer (self, or an org the caller administers) to manage or cancel. Returns {url}. |