How Paid works
Paid turns the work your AI product does for each customer into revenue you can explain. You tell Paid what happened, and decide in Paid what’s billable and what it costs. Paid then measures it, prices it, draws down prepaid credits, invoices the rest, and reports every step back to you and your customers.
Your product code only ever sends facts. Pricing, packaging and contract terms live in Paid, so you can change what and how you charge without shipping code, and every amount on an invoice can be traced back to the events behind it.
The flow from events to invoices
- You send events for the work you do for each customer, such as a model call or a ticket reply.
- Meters decide what in those events is billable, and measure it.
- Prices and rate cards turn measured quantities into amounts, in money or in credits.
- An order puts prices and rate cards on a customer for a term, and produces invoices on its billing cycle.
- Usage priced in credits draws down the customer’s credit balance; usage past it is overage, billed at the credit currency’s
conversionwhen it has one. - Usage summaries report usage and spend to you and your customers.
The objects
Anywhere the API asks for one of these, it takes Paid’s ID or, where the object has one, your own ID (externalId or key).
Your account
When you sign up to Paid you become a user, with your own login, in your company’s Paid organization. Your API keys, your pinned API version and the betas you’re enrolled in belong to the organization.
A production organization bills real customers. A sandbox organization belongs to a production one and never bills anyone, so use it to build and try things out. A key from a sandbox starts with paid_sk_test_, a key from production with paid_sk_live_, and every object says which it’s in with livemode. Set up your account walks through creating both.
API versions and betas
The API lives at https://api.paid.ai/v1. Breaking changes ship as a new dated version, the first being 2026-11-01. Your account is pinned to a version, and a single request can try another with the Paid-Version header. New features start as betas, which a request switches on with the Paid-Beta header. See Versioning.
Next steps
- Make your first request: call the API with your key.
- Metering: the next of the core concepts behind how Paid bills.
- Migrate from the legacy API: the new names for what you already know, and how to move an integration across.
- API reference introduction: authentication and headers.