Skip to content
All features
commercepackages/commerce

commerce surface

Access, billing, license, marketing, and metering contracts

Open docs
Stability
Stable
Scope
Tenant-scoped
Boundary
packages/commerce
commerce
System of record
Transaction recordSettled
$249.00USD

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%

packages/commerce·commercial record
Usagecheckout.ts
typescript
checkout.ts
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);
Advanced analytics
Pro · $29/mo
requireEntitlement('analytics:advanced')
access-gatePackage

access-gate

Pre-launch access gate — invite-code redemption, position queue, drip-release windows. Layers on top of @nebutra/waitlist.

Explore
billingPackage

billing

Multi-provider billing — Stripe, Polar, LemonSqueezy, ChinaPay, manual. Same Subscription / Invoice / Customer surface for every backend.

Explore
contracts.events.ts4
  • eventinvoice.paid{ id, amount, currency }
  • eventuser.created{ id, email }
  • eventsubscription.canceled{ tenantId, reason }
  • eventfeature.gated{ flag, actorId }

TypeScript-validated · zero-runtime contracts

contractsPackage

contracts

Cross-package event, identity, billing, and notification type contracts. The shared TypeScript boundary that lets commerce talk to iam, queue, webhooks.

Explore
legalPackage

legal

Legal entity primitives — corp filings, registered agents, jurisdiction-aware ToS/Privacy generation. Feeds the legal section of @nebutra/preset.

Explore
licensePackage

license

License key generation, validation, and revocation. Ed25519-signed, offline-verifiable, with seat-count and expiry enforcement.

Explore
marketingPackage

marketing

Shared marketing-site primitives — hero blocks, pricing tables, FAQ accordions — reused by landing-page and tsekaluk-dev with the brand tokens already wired.

Explore
meteringPackage

metering

Usage metering on ClickHouse — sub-second ingestion, per-tenant quota lookup, ready to feed Stripe metered billing or in-product limits.

Explore
waitlistPackage

waitlist

Pre-launch waitlist for the foundation tier — invite codes, position queues, referral counts, and operator dashboards.

Explore