latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-18268508990.6 KB

ff85db3452b4

credits

Update credit bundle details

put/billing/credits/bundles/{bundle_id}

Path parameters

bundle_idstring required

bundle_id

Request body

bundle_namestring required
compatible_plan_idsstring[] nullable

Plans whose companies may purchase this bundle. Omitted leaves compatibility unchanged; empty resets the bundle to purchasable on every plan.

expiry_type'duration' | 'end_of_billing_period' | 'end_of_next_billing_period' | 'end_of_trial' | 'no_expiry'
expiry_unit'billing_periods' | 'days'
expiry_unit_countinteger nullable
price_per_unitinteger required
price_per_unit_decimalstring nullable
quantityinteger nullable
status'active' | 'inactive'

Response

OK

paramsobject required

Input parameters