Update a plan. Fields period_amount and billing_interval are immutable. Credit bundles use reconciliation: include credit_bundle_id to update, add is_deleted: true to remove, omit credit_bundle_id to create new.
Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'
Plan ID
Update a plan. Note: period_amount and billing_interval cannot be changed after creation.
Name of the plan
Whether unused included credit rolls over
full, none Whether unused bundle credit rolls over
full, none Credit included per billing cycle in USD
ID of a credit bundle to set as the default auto top-up bundle for new subscriptions. Set to null to disable.
Meter IDs to link (full replacement — existing links are removed)
Credit bundles to create, update, or delete
Plan updated
Unique identifier for the plan
Merchant ID that owns this plan
Name of the plan
Period amount in USD (high precision decimal as string)
Included credit per billing cycle in USD (high precision decimal as string)
How often the subscription is billed
day, week, month, year Cycle rollover: whether unused included credit rolls to next cycle
full, none Bundle rollover: whether unused bundle credit rolls to next cycle
full, none ID of the credit bundle that will be auto-purchased when a subscription cycle runs out of credit. Null if auto top-up is disabled.
Meters linked to this plan
Credit bundles available for this plan
When the plan was created