REST — /api/stripe
10 route handlers under /api/stripe · 4 public (auth-optional).
Public flags are cross-referenced against
PUBLIC_API_PREFIXESinsrc/lib/route-access.ts. Routes without a public prefix require an authenticated session (or, where applicable, a signed federation request). See Auth models.
| Route | Methods | Access | Description |
|---|---|---|---|
/api/stripe/checkout | POST | Public | - Validates an authenticated user's membership checkout request. |
/api/stripe/connect | GET | Session | - Handles the redirect after a user completes (or returns from) Stripe Express onboarding. |
/api/stripe/connect/group | GET | Session | - Handles the redirect after a group admin completes (or abandons) Stripe's |
/api/stripe/dashboard-link | POST | Session | - Returns a single-use Stripe Express dashboard login URL for the authenticated |
/api/stripe/marketplace-checkout | POST | Public | Creates a Stripe Checkout Session for marketplace listing purchases with |
/api/stripe/payment-intent | POST | Public | - Preserves the existing API surface for offering purchases. |
/api/stripe/subscription-success | GET | Session | After a membership subscription checkout completes, Stripe redirects here. |
/api/stripe/v2-webhook | POST | Session | 'ignored' reason returned when this instance cannot talk to Stripe at all. |
/api/stripe/wallet | GET | Session | - Returns the current available and pending balance entries for the |
/api/stripe/webhook | POST | Public | - Verifies inbound Stripe webhook signatures using the raw request payload. |