201Successful Response
Schema: SuccessEnvelope_PreviewAddonChangeResponse_
successbooleanmessagestringcodestringdataPreviewAddonChangeResponse
/api/v1/billing/addon/previewPreview the billing impact of adding or removing an add-on.
Request Body:
addon_slug: Add-on module slug from AddOnModule enumaction: 'add' or 'remove'Returns: Prorated amount (cents), addon price, and effective date for removals.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: AddonPreviewRequest
addon_slugstringrequiredAdd-on module slug (e.g. 'ai_pro').
actionstringrequired'add' or 'remove'.
One of: add, remove
Schema: SuccessEnvelope_PreviewAddonChangeResponse_
successbooleanmessagestringcodestringdataPreviewAddonChangeResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject