201Successful Response
Schema: SuccessEnvelope_ToggleAddonResponse_
successbooleanmessagestringcodestringdataToggleAddonResponse
/api/v1/billing/addonAdd or remove an add-on from the business's Stripe subscription.
Request Body:
addon_slug: Add-on module slug from AddOnModule enumaction: 'add' (charges prorated amount immediately) or 'remove' (effective at period end, no refund)Effect:
Returns: Updated active_addons list and effective date.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: AddonToggleRequest
addon_slugstringrequiredAdd-on module slug (e.g. 'ai_pro').
actionstringrequired'add' or 'remove'.
One of: add, remove
Schema: SuccessEnvelope_ToggleAddonResponse_
successbooleanmessagestringcodestringdataToggleAddonResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject