Skip to main content
In Fluxrate, a Customer represents one of your end users or companies. Each customer can have subscriptions, usage history, and invoices.

Creating a Customer

  1. Go to Customers in the sidebar
  2. Click Add Customer
  3. Fill in name, email, and optional external ID
  4. Click Save

Customer Fields

FieldRequiredDescription
nameCustomer display name
emailBilling contact email
external_idYour own system’s customer ID (used in SDK tracking)
phoneCustomer phone number
billing_address_*For invoicingUsed for tax calculation
A billing address with country is required to create manual invoices (needed for tax calculation). Add it when creating the customer or update it before creating their first invoice.

External ID

The external_id is the bridge between your system and Fluxrate. When sending usage events via the SDK, you reference customers by their external_id:
{
  "meter_token": "...",
  "customer_external_id": "acme-corp-001",
  "quantity": 100
}
Use your existing customer identifier (user ID, account ID, etc.) as the external_id to avoid maintaining ID mappings.

Customer Subscriptions

View all subscriptions for a customer:
GET /api/v1/customers/<customer_id>/subscriptions

Customer Invoices

View all invoices for a customer:
GET /api/v1/customers/<customer_id>/invoices

Customer Usage

View aggregated usage across all meters for a customer:
GET /api/v1/customers/<customer_id>/usage

Listing Customers

GET /api/v1/customers?page=1&page_size=20
Response includes pagination metadata and a list of customer objects.