Unit cost, currency and interval for a given
price
with a given fixed-recurring plan, with a given unit of its corresponding tier, or charges all units based on volume purchased.
tiers
object.
Name | Type | Required | Description |
---|---|---|---|
id | string | Yes | Unique identifier for this price. |
name | string | No | The name of a price. Use a brief description of the price. |
interval | string | Yes | Billing frequency. Either day , week , month or year . |
interval_count | integer | Yes | How many times a plan should recur. |
billing_scheme | string | Yes | How to understand the price per period. Either per_unit or tiered . |
currency | string | Yes | Three-letter ISO currency code, in lowercase. |
active | boolean | Yes | Whether this price is active for new purchases. |
unit_amount | integer | Yes | The unit amount in cents to be charged, represented as an integer. |
tiers | array of hashes | Yes | The pricing tier this price belongs to. See tiers . |