Skip to main content

Point-in-time products: end-to-end walkthrough

Your company sells access to a messaging API. It charges each customer for the API calls that the customer makes. Your billing team already counts API calls with the billable metric API calls. See Usage: end-to-end walkthrough. This walkthrough follows the billing team as it creates the product API calls and its pricing preset. The walkthrough puts the following concepts into practice: the point-in-time product type, the volume pricing model, the tier-reset period, metered usage, the on-demand quantity strategy, and the default pricing preset. The product and its pricing preset use these settings: With this pricing preset, 12,000 calls in a month cost 12,000 × $0.008 = $96. 8,000 calls in a month cost 8,000 × $0.010 = $80. The company and the amounts are fictional.

Prerequisites

Create the product for API calls

  1. Go to Products.
  2. Click CREATE PRODUCT. The Add product panel opens.
  3. In Name, enter API calls. A product describes what the company sells. Here, the company sells API calls.
  4. Click Description, and enter Calls to the public API.
  5. In Product type, keep Point in time. The product type decides how consumption happens. Each API call is consumed at the moment the API serves it. Once served, the call is over. That makes API calls a point-in-time product. The wording of the price confirms it. “$0.010 per call” needs no period. A price without a period belongs to a point-in-time product. A seat is different: “$20 per seat” means nothing without “per month”.
  6. In Subtype, keep Quantity.
  7. Click SKU and unit.
  8. In Unit, enter call. The unit labels name the unit in which the product is measured: one call, several calls.
  9. In Unit, plural, enter calls.
  10. If Custom attributes shows fields, enter a value in each field that requires one. See Custom attributes.
  11. Click Set prices. The panel moves to the Set prices step.

Price API calls by volume, from the billable metric

The billing team sets up the pricing preset in five parts: the pricing model, the tiers, the tier-reset period, the source of the quantity, and the save.

Choose the volume pricing model

  1. In Pricing Model, select Volume. The billing team wants large customers to pay less per call. A customer who makes more than 10,000 calls in a month pays $0.008 for every call of that month. Other customers pay $0.010 per call. The price of a call then depends on the number of calls in the month. Such a price has two dimensions: the tier, and the price per call of each tier. Two pricing models have these two dimensions: the volume pricing model and the tiered pricing model. The volume pricing model charges every call of the month at the price of the one tier that the total selects. The tiered pricing model charges each call at the price of its own tier. With the same tiers, the two pricing models charge these amounts: Only the volume pricing model charges $0.008 for every call of a large customer. The volume pricing model is what the billing team needs.
  2. In Currency, keep USD.

Set the tiers

  1. In TIER BOUNDARY, keep Inclusive. The inclusive tier boundary decides where exactly 10,000 calls fall. With Inclusive, 10,000 stays in the first tier. With Exclusive, 10,000 would move to the second tier.
  2. Click ADD TIER. The table shows two tiers.
  3. In the From field of the second tier, enter 10000. The To field of the first tier shows ≤ 10,000.
  4. In the price field of the first tier, enter 0.01.
  5. In the price field of the second tier, enter 0.008. The selected tier changes the price of every call, not only of the calls above 10,000: A customer with more calls can pay less in total. The tiered pricing model avoids this.

Reset the tiers each month

  1. In Tier Reset Period, keep Monthly. A point-in-time product has no pricing period. Without a reset, its calls would add up across months without end. The tier-reset period starts the count again from 0. With a monthly tier-reset period, the calls of each month select the tier of that month.

Take the calls from the billable metric

  1. Select Usage is metered. The number of calls is metered usage from the billable metric API calls. Nobody enters it by hand.
  2. In Meter, select API calls.
  3. In Quantity Strategy, keep On Demand. The on-demand quantity strategy treats each quantity as a separate consumption at the moment it occurs. Each call happens once and is then over. The recurring quantity strategy would treat the calls as an allocation that stays in place. That fits seats or active users, not calls.

Save the pricing preset

You cannot change or delete a pricing preset after you save it. Check every field before you click Add product.
  1. Click Add product.
The dashboard confirms the successful creation of the product and the pricing preset.

Review the pricing preset

The pricing preset cannot change after it is saved. The billing team checks that the saved pricing preset matches the planned settings.
  1. In the Products list, click API calls. The product screen opens.
  2. Under Prices, find the card of the pricing preset. The top of the card shows 2 tiers, USD, Volume, and Default. The pricing preset is the first pricing preset of API calls in US dollars. That makes it the default pricing preset in US dollars. Zenskar uses the default pricing preset of a currency when no other pricing preset is chosen.
  3. Check the body of the card. It shows the two tiers, Every Month under Tier Reset Period, On Demand under Quantity Strategy, and Metered (API calls) under Source.

What comes next

The product API calls and its pricing preset are complete. Your company also charges for the seats that a customer’s team holds on your messaging platform. Seats need a product of their own.

Period-of-time products: end-to-end walkthrough

This walkthrough creates a period-of-time product for seats, with pricing presets in US dollars and in euros.