ItemWithPrice
Subscription item referencing an existing price from your product catalog.
Currency Handling:
currencyis optional at item level- Falls back to the subscription-level
currencyif not provided - At least one of item.currency or subscription.currency must be set
- priceType: stringrequired
Price ID from your product catalog (ULID format).
- recurringType: object · RecurringConfigrequired
Recurring billing configuration.
- intervalType: stringenumrequired
Billing frequency (uppercase):
daily— every dayweekly— every weekmonthly— every monthyearly— every year
values- daily
- weekly
- monthly
- 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
- currencyType: stringmin length:3max length:3
Three-letter ISO currency code (e.g.
usd). Optional — falls back to subscription.currency if not provided. - quantityType: integermin:1
Quantity of the subscription item.
- unitType: number | null
_amount min:0Unit amount override in cents. Falls back to the catalog price if omitted.

