How it works
The Product’s billable metric measures a monetary amount, such as payment volume. The amount fills tier 1 up to itsto_value, then tier 2, and so on. Each tier’s rate applies to the monetary amount within that tier. A tier’s flat_amount is a flat fee applied once for the whole tier, not per transaction. The last tier has to_value: null.
Availability
- Fixed Products: not available.
- Metered Products: available with Count, Count unique, Max, Sum and Weighted sum, except when metrics use
recurring: truewith proration. Not available with Latest. Advance billing is available only for Count, non-prorated Count unique and non-prorated Sum.
Configure the rate
Setrate_model to graduated_percentage and describe the tiers in rate_properties.graduated_percentage_ranges. Each tier uses these fields:
Do not send
from_value.
Example
This example uses a metered Product,payment_volume, measuring transaction amounts in USD. The total is 5,050 USD over one full monthly billing period, with no proration or spending minimum.
Tier 3 is not reached, so its flat fee is not included. The calculated fee is 591 USD before tax.
Check the result
Check the monetary amount in each tier, the percentage and any applicable flat fee. Add the tier amounts to check the calculated fee. Use Contract current usage to inspect provisional values. See Rates to check which Rate applies.Percentage
One percentage on the amount.
Graduated
Tiered unit prices.
Create a rate
POST /rate_cards/{rate_card_code}/ratesPricing models
Compare every rate model.