ItemWithPriceData
Subscription item with inline pricing. Use this to create subscription-specific pricing without a pre-existing catalog price.
- price
_data requiredInline pricing details for a subscription item. Use this when you want to specify custom pricing directly rather than referencing an existing catalog price. Either
unit_amountorunit_amount_decimalis required.Note:
currencyis required when usingprice_datafor inline pricing.Inline pricing details for a subscription item. Use this when you want to specify custom pricing directly rather than referencing an existing catalog price. Either
unit_amountorunit_amount_decimalis required.Note:
currencyis required when usingprice_datafor inline pricing.- unitType: integer | null
_amount min:0requiredAmount in the smallest currency unit (e.g. cents for USD).
- currencyType: stringmin length:3max length:3
Three-letter ISO currency code (e.g.
usd,eur). Required for inline pricing. - productType: string
Product ID from your catalog.
- recurringType: object
Recurring billing configuration.
- unitType: string | null
_amount _decimal Pattern: ^\d+(?:\.0+)?$Amount as a decimal string for high-precision pricing.
- currencyType: stringmin length:3max length:3
Three-letter ISO currency code (optional at root level when price_data is provided).
- quantityType: integermin:1
Quantity of the subscription item.
- recurringType: object
Recurring billing configuration.
- intervalType: stringenumrequired
Billing frequency. Both lowercase and uppercase are accepted; the API normalizes internally.
hourly— every hourdaily— every dayweekly— every weekmonthly— every monthyearly— every year
values- daily
- weekly
- monthly
- quarterly
- yearly
- intervalType: integer
_count min:1Number of intervals between billings. For example,
interval=monthlyandinterval_count=3bills every 3 months. - intervalType: integer | null
_total _cycles min:1Total number of billing cycles before the subscription ends. Null means unlimited.
- usageType: stringenum
_type Usage type for billing:
licensed— a fixed recurring charge per billing cyclemetered— charge based on reported usage
values- licensed
- metered

