PriceBase
- activeType: boolean
Whether the price can be used for new purchases.
- billingType: "per_unit" or "tiered"enum
_scheme Describes how to compute the price per period. Either
per_unitortiered.per_unitindicates that the fixed amount (specified inunit_amountorunit_amount_decimal) will be charged per unit inquantity(for prices withusage_type=licensed), or per unit of total usage (for prices withusage_type=metered).tieredindicates that the unit pricing will be computed using a tiering strategy as defined using thetiersandtiers_modeattributes. - createdType: numberFormat: date-time
Time at which the object was created. Measured in seconds since the Unix epoch.
- currencyType: stringFormat: currency
Three-letter ISO currency code, in uppercase. Must be a supported currency.
- livemodeType: boolean
Has the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - lookupType: string | null
_key max length:5000A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.
- product
The ID of the product this price is associated with.
- Type: ProductIdmax length:100
The ID of the product this price is associated with.
- productType: Product
_data Properties: 5These fields can be used to create a new product that this price will belong to.
- recurringType: RecurringProperties: 4
The recurring components of a price such as
intervalandusage_type. - typeType: "one_time" or "recurring"enum
One of
one_timeorrecurringdepending on whether the price is for a one-time purchase or a recurring (subscription) purchase. - unitType: integer | null
_amount The unit amount in cents (or local equivalent) to be charged, represented as a whole integer if possible. Only set if
billing_scheme=per_unit. - unitType: string | nullFormat: decimal
_amount _decimal The unit amount in cents (or local equivalent) to be charged, represented as a decimal string with at most 12 decimal places. Only set if
billing_scheme=per_unit.

