How catalog and pricing fit together
Your Product catalog defines what you sell. Rate Cards and Rates define how you bill for it. A Product category groups Products; it is not a pricing target.
Applied Rate Cards can carry a fixed quantity (
units) and a sequence of rate_phases on Plans and Contracts. See Plan phases and Contract overrides for configuration details.
Billing settings
Set the currency, billing timing and proration on the Rate Card:currencyidentifies the currency used for pricing, such asUSD.billing_timingselects billing in advance (advance) or in arrears (arrears, the default).prorationcontrols whether fees are adjusted for part of a billing period. It defaults tofalse.
Rate card fields
Example
These two Rate Cards use USD,billing_timing: "arrears" and proration: false:
A Rate Card can also target a Product filter, such as Compute → Flex 512MiB. See Your first invoice for the complete billing example.
Create a rate card
Choose the Product or Product filter before creation; the target cannot change later. Set the currency and billing settings before creating the first Rate. See update restrictions for the fields that become locked. The following request createsapi_calls_usd with its first Rate.
Check the Rate Card
Retrieve the Rate Card and check its Product, currency, billing settings and Rates. UseGET /api/v2/rate_cards/api_calls_usd. Supported expansions are active_rate, rates, taxes, product and product_filter. active_rate is null until a rate becomes effective. rates are sorted by effective_from, newest first.
Apply to a Plan
Apply the Rate Card to an editable Plan withPOST /api/v2/plans/{plan_code}/applied_rate_cards. All Rate Cards on a Plan share its currency, and only one Rate Card may price each Product and filter combination. See Plans.
Use the Plan in a customer Contract. See Contract overrides for Contract-specific configuration.
Update a Rate Card
PUT and PATCH accept partial updates.
- The Product and Product filter are fixed at creation.
- Once any rate exists,
currency,billing_timing,proration,regroup_paid_feesanddisplay_on_invoicecannot change. codeandcurrencycannot change while the Rate Card is attached to a Plan or Contract.tax_codesstay editable.
Delete a Rate Card
Rates
Effective-dated prices and billing intervals.
Pricing models
Standard, graduated, volume and more.
Create a rate card
POST /rate_cardsThe rate card object
Every rate card field.