The complete billing, metering, and payment operating system built for AI agents, API products, and usage-based pricing.
// Meter usage, bill customers, settle payments
const client = Starpay.connect('sk_live_...)
await client.usage.ingest({
meter: 'gpt-4-tokens',
customer: 'cust_01H...',
value: 1847,
})Why Starpay
One platform replaces the patchwork of billing, metering, payment, and agent management tools.
Ingest millions of usage events per second. Aggregate by meter, customer, and time window with sub-second latency.
Budget-capped wallets for autonomous AI agents. Reserve-before-spend pattern with multi-level approval workflows.
Tiered, volume, per-unit, and formula-based pricing. Customer-specific overrides with version-controlled price books.
Automated invoicing, payment collection, settlement, dunning, and revenue recognition. Zero manual intervention.
Architecture
A composable architecture where each layer is independently deployable and horizontally scalable.
For Developers
RESTful endpoints, typed SDKs, real-time webhooks, and a domain event system that makes every state change observable.
| Endpoint | Method | Description |
|---|---|---|
| /v1/products | GET | List products |
| /v1/products | POST | Create product |
| /v1/meters | GET | List meters |
| /v1/usage-events | POST | Ingest usage |
| /v1/invoices | GET | List invoices |
Start with the console to explore products, meters, agents, and billing flows — or dive into the API.