Skip to content
All features
commercepackages/commerce/billing

billing package

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

Open docs
Stability
Stable
Scope
Tenant-scoped
Boundary
packages/commerce/billing
Subscriptions · billing
live

MRR

$12,400

+12%

Active subscribers

847

+34

MoM growth

+5.2%

vs last

Churn

1.2%

-0.3%
Next invoiceactive

Acme Robotics, Inc.

[email protected]

Pro
$249.00/ month
RenewsJun 12, 2026
Stripe
Revenue · last 7 days
  • Mon
    x
    42%
  • Tue
    x
    58%
  • Wed
    x
    51%
  • Thu
    x
    67%
  • Fri
    x
    73%
  • Sat
    x
    80%
  • Sun
    x
    92%

$12,400 this month

Usagebilling.ts
typescript
billing.ts
1import { createCheckoutSession, getSubscription } from "@nebutra/billing";
2
3// Auto-routes to Stripe / Polar / LemonSqueezy / ChinaPay.
4const session = await createCheckoutSession({
5  customerId: org.id,
6  priceId: "price_pro_monthly",
7  successUrl: `${origin}/billing/success`,
8});
9
10const sub = await getSubscription(org.id);
11if (sub.plan === "pro" && sub.status === "active") {
12  // unlock pro features
13}