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.

  • A fixed amount for the tier, in minor units (cents for USD).

  • The first unit in the tier. Informational.

  • perUnit: unitAmount for each unit in the tier, plus any flatAmount. flat: flatAmount once for the tier, however many units fall in it.

  • Price per unit in this tier, in minor units (cents for USD).

  • 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
}