Billing
Revenue
infrastructure.
31 billing capabilities through the ee.billing face. Payments, subscriptions, metering, tax — the complete monetization stack, without Stripe glue code.
31
Billing capabilities
130+
Tax jurisdictions
15+
Payment methods
$0
Revenue leakage
Capabilities
Payment Processing
Accept cards, ACH, wire, and 15+ local payment methods. PCI DSS Level 1 compliant by default.
Subscriptions
Recurring billing with trials, proration, plan changes, pauses, and automated lifecycle management.
Invoicing
Generate, send, and track invoices with line items, tax, discounts, and PDF rendering.
Usage Metering
Track and bill usage in real time — API calls, storage, compute minutes, seats, or custom units.
Tax Calculation
Automatic tax calculation for 130+ countries. VAT, GST, sales tax — always compliant.
Refunds
Full and partial refunds with automatic ledger entries, proration, and customer notifications.
Payouts
Multi-currency payouts to bank accounts, Stripe Connect, or custom destinations with split logic.
Dunning Management
Automated retry schedules, grace periods, and escalation flows for failed payments.
Code Example
Subscription in one call.
import { ee } from "@vertebase/sdk";
// Create a subscription with usage-based billing
const { data: subscription } = await ee.billing.createSubscription({
customerId: "cus_abc123",
plan: "pro-monthly",
trial_days: 14,
usage: {
metric: "api_calls",
included: 10_000,
overage_price: 0.001, // per call after included
},
tax: { auto: true }, // automatic tax calculation
});
console.log(subscription.id); // => "sub_xyz789"
console.log(subscription.status); // => "trialing"
console.log(subscription.trial_end); // => "2024-11-14T00:00:00Z"Monetize on day one.
Payments, subscriptions, and invoicing — ready before your first customer.
Get the SDK