Pause Ai Features
POST
/api/v1/billing/ai/pause
Pause all AI features for the authenticated business.
Sets businesses.ai_paused_at so:
check_ai_quotareturnsallowed=False, paused=Truefor any subsequent AI call (chat, panels, OCR, etc.).track_business_usageshort-circuits, stopping the Stripe overage fire-and-forget.AITransactionCleanerdownshifts to rule-only cleaning during Plaid sync (no LLM calls).
Idempotent. Returns the refreshed AI usage payload so the widget / banner can transition to the paused state without a second round-trip.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Responses
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-