Pricing Schemes

Learn about different pricing structures.

🚧

Recommended Reading: Creating Price Plans, Metered Components

Price schemes allow flexibility in terms of how you want to price your product. They allow you to charge based on different units (applicable to the meter) and different time units (if the meter is a gauge). Additionally, you can choose the scheme and select the prices for those schemes.

Definition

Field Name

Description

Type

Required

unit_name

String

Required

time_unit_name

String

Optional

Required for gauge meters.

scheme_type

Enum

Required

prices

List[Dict[String, Float]]

Required

Price Scheme Types

Flat Pricing

A fixed price per unit of consumption.

Examples:

Price ($ per request)

0.50

Price ($ per GB Month)

10.00

Volume Pricing

A price per unit of consumption that depends on total consumption in the plan period.

Examples:

Number of requests (total for period)

Price ($ per request)

0 to 100

0.50

101 to 200

0.40

otherwise

0.30

Total amount of storage (GB)

Price ($ per GB Month)

0 to 10

10

11 to 20

9

otherwise

8

Tiered Pricing

A price per unit of consumption that changes as consumption increases. This is similar to Volume Pricing, but the customer pays for each consumption unit according to the consumption up to that point.

Examples:

Number of requests so far

Price ($ per request)

First 100

0.50

Next 100

0.40

otherwise

0.30

Amount of storage (GB)

Price ($ per GB Month)

First 10

10

Next 10

9

otherwise

8

Stair-step Pricing

A price for different ranges of consumption values.

🚧

Gauge Meter Caveat

As gauge meters fluctuate up or down, we will use the 'latest' gauge meter value to determine the stair-step price.

Examples:

Number of Requests

Total Price ($)

0 to 100

50

101 to 200

90

201 to 1000

150


Did this page help you?