Skip to main content
A Charge is a price component attached to a plan. Plans can have multiple charges — for example, a base subscription fee plus per-unit charges for multiple usage meters.

Charge Types

Creating a Fixed Charge

Creating a Usage Charge

Charge Fields

Managing Charges

View Plan Charges

The response includes a charges array with all active charges.

Deactivate a Charge

Charge deactivation is permanent. An inactive charge cannot be reactivated. Create a new charge to replace it.Status can only transition from ACTIVEINACTIVE.

How Usage Charges are Calculated

At invoice generation time, Fluxrate:
  1. Finds all UsageEvent records for the linked meter within the billing period
  2. Applies the meter’s aggregation type (SUM, MAX, UNIQUE_COUNT, LAST)
  3. Multiplies the result by unit_price
  4. Creates a line item on the invoice

Multiple Charges on One Plan

Plans can have multiple charges of any type:
Each charge generates a separate line item on the invoice, giving customers full transparency into what they’re being billed for.