Developers

Build on Lumenchain

Ship crypto-native billing with a typed SDK, OpenAPI schema, and sandbox bootstrap tokens.

SDK install
pnpm add @l2-layer/sdk

Typed client for pay-once, subscriptions, and webhook verification.

OpenAPI
/api/openapi

Schema mirrors the payments service with analytics and onboarding endpoints.

Docs
/docs/sdk

Examples for JWT helpers, WorkOS/Supabase auth, and CLI snippets.

Sandbox-ready

Use fixture subscriptions or the live API at https://api.lumenchain.io with sandbox JWTs. Customer portal tokens can be generated from the onboarding flow for targeted testing.

Request sandbox tokens
Sandbox tokens and fixture subscriptions for instant previews
JWT helpers for WorkOS/Supabase auth flows
CLI snippets for pay-once, subscriptions, webhook verification, and refresh jobs
Status links and incident playbooks for SRE teams
Sandbox login: `GET /ui/onboarding/register` (email link) or WorkOS/Supabase invite, plus customer portal token for reviewers

Deep links to try now

These use live API surfaces where available. Toggle fixtures with ?fixtures=1 for deterministic demos.

Explore surfaces