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 ACTIVE → INACTIVE.
How Usage Charges are Calculated
At invoice generation time, Fluxrate:
- Finds all
UsageEvent records for the linked meter within the billing period
- Applies the meter’s aggregation type (SUM, MAX, UNIQUE_COUNT, LAST)
- Multiplies the result by
unit_price
- 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.