timestamp
that an event is labeled with
can lag the current wall time (usually 12 hours). As a side-effect, this is the minimum amount of time
that Orb waits before issuing an end of period invoice that contains usage.external_customer_id
field on every Orb customer to a stable ID in your system, such as your customer’s primary key.
This allows you to avoid denormalizing any Orb Customer IDs in your datastore, and makes both event reporting and resource management easier.Resource | Description |
---|---|
Customer API reference | Used to create, update, and fetch customers in Orb. If you have a self-serve business where users can sign up for service without your intervention, you should use this API to create a customer in Orb every time a user signs up. |
Customer ID aliases | Use customer aliases for more ergonomic interaction with Orb’s customer APIs. |
Resource | Description |
---|---|
Ingestion quickstart | Takes you through some simple API commands so you can familiarize yourself with sending events to the API. |
Ingestion guide | The developer guide includes examples of domain-specific events, how to determine your customized event schema, and the various ingestion integrations that Orb supports. |
Batch ingestion API | A key part of any Orb integration, used to send events to the Orb platform. Orb is responsible for storing and appropriately indexing your event data. |
Events backfill API | Event backfills support overwriting previously ingested events in an audit-friendly way. |
COUNT
or a SUM
) can then be tied to a pricing model.
Conceptually, think of a metric as a materialized view that Orb is responsible for keeping up to date for the relevant
set of customers and billing periods; a metric doesn’t need to contain any customer or time specific context to operate.
Resource | Description |
---|---|
Metrics quickstart | Walks through the creation of some simple metrics, and is a useful starting point to understand filters available in the Orb webapp. |
Metric creation guide | Learn more about how to compose a metric, its component parts, and how custom metrics can be built via the flexibility of SQL. |
Resource | Description |
---|---|
Configure pricing quickstart | Shows the creation of a new plan in the Orb webapp, to help familiarize you with the basics. |
Product catalog | Details the different pricing levers that are available in the Orb webapp. |
Plan API reference | Used to fetch the pricing structure and any associated metadata for a specific plan. |
Resource | Description |
---|---|
Subscription quickstart | Guides you through the creation of a new subscription in Orb, and highlights important elements of the subscription lifecycle including your first set of invoices. |
Subscription creation | A detailed overview of the subscription lifecycle, and how core billing mechanics operate on Subscriptions. |
Subscription modifications | A walkthrough of the ways to modify an existing subscription, including creating add-ons, changing pricing, and changing plans. |
Subscription API reference | Used to create subscriptions in Orb, including any overrides required to the pricing configuration of the base plan. |
Subscription costs API | Used to fetch accrued costs across a timeframe of the subscription. Integrate this API with your in-product billing portal to provide real-time transparency to your users. |
Resource | Description |
---|---|
Invoicing quickstart | Setting up and testing Orb’s invoicing product, including the metadata to customize your invoices for your business. |
Invoicing guide | A collection of guides to help you understand the key pieces of Invoicing functionality that Orb offers. |
Invoice API reference | Used to fetch an invoice by ID, or the upcoming invoice. Integrate this API to provide a detailed breakdown of charges to your customer. |