AllAccess Playground

Click through the whole flow (signup, pay, entitlements, Trebel handoff) against an in-memory sandbox at /demo/*. No Keycloak, no Stripe, no SFTP. State resets when the server restarts.

Session

user_id
email
name
end_date
entitlements
token

1Sign up

Creates a sandbox user. Returns a demo token + a fake client_secret for Stripe Embedded Checkout.

2Pay (simulated Stripe Embedded Checkout)

Real flow: /billing/checkout-session returns a client_secret, frontend mounts Stripe's Embedded Checkout. Here we just flip the user to paid.

3Entitlements

What SeatClub or any other integrator would read.

4Manage plan + order history

Stripe Customer Portal URL (stand-in) and recent invoices.

5Update profile

6Cancel

Sets end_date to yesterday, dropping all entitlements.