SchedulePhaseItemWithPriceData
Phase item with inline pricing.
One-time charge: omit recurring at both the item level and inside price_data.
price _data requiredInline pricing for a schedule phase item. Like
PriceDatabutrecurringis optional — omit it (or set null) to make the item a one-time charge within the phase.- Type: integer | null
unit _amount min:0requiredAmount in the smallest currency unit (e.g. cents).
- Type: string
currency min length:3max length:3Three-letter ISO currency code.
- Type: string
product Product ID from your catalog.
- Type: object · RecurringConfig
recurring Recurring billing configuration.
- Type: string | null
unit _amount _decimal Pattern: ^\d+(?:\.0+)?$Amount as a decimal string (for high precision).
- Type: string | null
currency min length:3max length:3Currency override at item root level (optional when price_data.currency is set).
- Type: object | null
metadata Arbitrary key-value pairs for this item.
- Type: anything
property Name
- Type: integer
quantity min:1Quantity of this item.
- Type: object · RecurringConfig
recurring Recurring billing configuration.
- Type: stringenum
interval requiredBilling frequency (uppercase):
daily— every dayweekly— every weekmonthly— every monthyearly— every year
valuesdaily weekly monthly yearly
- Type: integer
interval _count min:1Number of intervals between billings. For example,
interval=monthlyandinterval_count=3bills every 3 months. - Type: integer | null
interval _total _cycles min:1Total number of billing cycles before the subscription ends. Null means unlimited.
- Type: stringenum
usage _type Usage type for billing:
licensed— a fixed recurring charge per billing cyclemetered— charge based on reported usage
valueslicensed metered
- Type: number | null
unit _amount min:0Unit amount override in cents.

