PricingTier
One tier of a tiered price. Tiers are told apart by upperBound, so whether you count lowerBound from 0 or 1 makes no difference.
- flatType: number
Amount min:0A fixed amount for the tier, in minor units (cents for USD).
- lowerType: number
Bound min:0The first unit in the tier. Informational.
- tierType: "perUnit" or "flat"enum
Billing Type perUnit:unitAmountfor each unit in the tier, plus anyflatAmount.flat:flatAmountonce for the tier, however many units fall in it. - unitType: number
Amount min:0Price per unit in this tier, in minor units (cents for USD).
- upperType: number | null
Bound The last unit in the tier. Leave it out, or null, on the last tier, which has no limit.
Examples
{
"upperBound": 10,
"tierBillingType": "flat",
"flatAmount": 50000
}