Skip to content

Billing and Entitlements

Polar is the billing source of truth.

Supabase stores the entitlement cache used during normal requests.

The UI never grants Pro directly. Access changes only after the platform verifies billing state and updates the internal entitlement model.

  1. UI requests checkout from ClawOS
  2. API creates Polar checkout
  3. Polar sends webhook events
  4. ClawOS verifies the webhook
  5. ClawOS updates entitlement state
  6. UI and worker behavior reflect the updated cache

Routine product requests stay fast and stable because they do not depend on live billing calls on every interaction.