commerce surface
Access, billing, license, marketing, and metering contracts
- Stability
- Stable
- Scope
- Tenant-scoped
- Boundary
- packages/commerce
Tenant
org_8d2f••••
Recorded
May 23, 2026 · 14:02 UTC
Total volume
$1.24M
Active records
8,472
MoM growth
+8.4%
Success rate
99.6%
1import { createCheckoutSession } from "@nebutra/billing";
2
3const session = await createCheckoutSession({
4 customerId: orgId,
5 priceId: "price_pro_monthly",
6 successUrl: `${origin}/billing/success`,
7});
8
9return Response.redirect(session.url);access-gate
Pre-launch access gate — invite-code redemption, position queue, drip-release windows. Layers on top of @nebutra/waitlist.
Explorebilling
Multi-provider billing — Stripe, Polar, LemonSqueezy, ChinaPay, manual. Same Subscription / Invoice / Customer surface for every backend.
Explore- eventinvoice.paid{ id, amount, currency }
- eventuser.created{ id, email }
- eventsubscription.canceled{ tenantId, reason }
- eventfeature.gated{ flag, actorId }
TypeScript-validated · zero-runtime contracts
contracts
Cross-package event, identity, billing, and notification type contracts. The shared TypeScript boundary that lets commerce talk to iam, queue, webhooks.
Explorelegal
Legal entity primitives — corp filings, registered agents, jurisdiction-aware ToS/Privacy generation. Feeds the legal section of @nebutra/preset.
Explorelicense
License key generation, validation, and revocation. Ed25519-signed, offline-verifiable, with seat-count and expiry enforcement.
Exploremarketing
Shared marketing-site primitives — hero blocks, pricing tables, FAQ accordions — reused by landing-page and tsekaluk-dev with the brand tokens already wired.
Exploremetering
Usage metering on ClickHouse — sub-second ingestion, per-tenant quota lookup, ready to feed Stripe metered billing or in-product limits.
Explorewaitlist
Pre-launch waitlist for the foundation tier — invite codes, position queues, referral counts, and operator dashboards.
Explore