Skip to main content
Enable or disable automatic prepaid-credit top-ups and set the low-balance threshold and refill amount
Audience: application and coding agent.

Canonical metadata

  • requestId
  • traceparent

Example request

Billing funding changes require a WorkOS bearer session with billing:manage. API keys are rejected so payment setup, refunds, and auto-top-up controls stay limited to interactive billing administrators.

Example response

Give this prompt to your agent

Failure posture

  • treat non-2xx responses as contract-aware failures, not free-form errors
  • preserve requestId and traceparent in logs and downstream reports
  • if provenance or freshness metadata is present, return it unchanged so trust is not lost in the handoff