Skip to main content
A Rate defines a price within a Rate Card. It specifies the pricing model, the values used to calculate the amount, the billing interval and when the price takes effect. Create a new Rate to schedule a price change. Earlier Rates remain available to explain past billing.

How it fits together

The Rate Card supplies the currency and billing timing. The Rate defines the price and billing interval. Plans and Contracts can also have pricing overrides in their phases; check the applicable phase when reviewing a customer’s price.

Rate fields

For a Rate Card priced in USD, rate_properties.amount: "100" represents 100 USD. The spending minimum uses cents: min_amount_cents: 3000 represents 30 USD.

Billing interval

The interval sets the length of each billing period for this rate: Each rate has its own interval, so one plan can mix a yearly fee and monthly usage.

Example

These examples define monthly Rates for two USD Rate Cards: monthly_service_usd and api_calls_usd.
The first Rate sets a price of 100 USD per unit per month. The second sets a price of 0.01 USD per API call, billed monthly. See Your first invoice for the complete calculation.

Before you schedule a price change

Check the scheduling rules for effective_from:
  • It cannot be before today in your organization timezone.
  • It must be unique on the Rate Card and later than the active Rate.
  • Rates billed in arrears start at the beginning of the day.

Schedule a price change

This request adds a Rate to api_calls_usd with an amount of 0.008 USD per API call and effective_from: "2027-07-01T00:00:00Z".

Rate statuses

Update or delete a Rate

  • Pending Rates are fully editable and can be deleted.
  • Active Rates reject effective_from, rate_model, min_amount_cents and billing interval fields, even when the supplied values are unchanged.
  • Terminated Rates cannot be edited.
DELETE /api/v2/rate_cards/{rate_card_code}/rates/{code} works only on pending rates. Active and terminated rates cannot be deleted: they explain past invoices.

List rates

GET /api/v2/rate_cards/{rate_card_code}/rates returns the complete list, ordered by effective_from, newest first. It has no cursor pagination.

Check which Rate was used

To explain an invoice fee, start with its rate_code and billing period: from_datetime and to_datetime. Check the applicable Plan or Contract phase for overrides. Use the Rate and settings that applied to that period rather than today’s catalog price.

Pricing models

Choose a rate model and its properties.

Spending minimums

A minimum per billing interval.

Create a rate

POST /rate_cards/{rate_card_code}/rates

The rate object

Every rate field.