rate_model and rate_properties.
Model comparison
Tiered models share one tier shape,
RateTierInput: to_value (upper bound, decimal string, null on the last open-ended tier), per_unit_amount, flat_amount and rate. Upper bounds must increase. Do not send from_value.
Model availability
Availability depends on the Product type, metric aggregation,recurring setting, proration and billing timing. Select the billing timing below. ✅ means available and ❌ means unavailable. “n/a” means the row has no separate proration setting.
Metered products
- Arrears
- Advance
aggregation_type: count_agg, unique_count_agg, latest_agg, max_agg, sum_agg, weighted_sum_agg. Proration is the rate card’s proration.
Fixed products
Fixed products use configured quantities. They have no billable metric and norecurring setting.
- Arrears
- Advance
standard, graduated and volume. volume is never billed in advance. dynamic requires a Sum metric.
Related options
Compare graduated and volume pricing
Consider 250 units with these prices: 1 USD per unit up to 100 units, 0.50 USD per unit up to 200, and 0.10 USD per unit above 200. This example has no flat fees.- Graduated pricing applies each tier’s price to the units in that tier: 100 × 1 + 100 × 0.50 + 50 × 0.10 = 155 USD.
- Volume pricing uses the tier reached by the total quantity: all 250 units cost 0.10 USD each, for a total of 25 USD.
effective_from. Pending Rates remain editable. See Rates.
Standard
One unit price.
Graduated
Tiered unit prices.
Rates
Where the rate model is set.
Create a rate
POST /rate_cards/{rate_card_code}/rates