Skip to main content
The REST API is the source of truth for everything in Flexprice. The API Reference tab is generated from the same OpenAPI document that produces the SDKs, the CLI, and the MCP server, so an endpoint documented there behaves identically in every client.

API conventions at a glance

API endpoints by billing lifecycle

The reference groups endpoints by resource. Read them in the order a billing lifecycle runs:

Webhook payload reference

The reference also documents every webhook payload under Webhook Events. Those pages describe the JSON Flexprice sends to you, not endpoints you call. Start from the event catalog to find the event you want.

Customer portal API endpoints

Endpoints under /v1/customer/portal authenticate with a short-lived session token instead of an API key and are scoped to one customer. They are documented separately in the Portal API reference.

Trying an endpoint in the playground

Every endpoint page in the reference has a playground. Choose your region in the server selector, paste an API key, and send a request from the browser. For a terminal, flexprice get /customers sends the same request through the CLI.

Open the API Reference

Download the OpenAPI spec

Use an SDK instead