Skip to main content
POST
VAULT Webhooks

Endpoint

Overview

Receives and processes Polar webhooks for VAULT service subscriptions. Updates user entitlements based on subscription events.

Security

Webhook secret: VAULT_POLAR_SECRET environment variable

Implementation

Supported Events

See Webhooks Overview for complete list of supported events.

Service-Specific Behavior

When processing VAULT webhooks:
  • Updates UserServiceEntitlement with service: 'VAULT'
  • Links Polar customer and subscription IDs
  • Updates tier and premium status
  • Sends Discord notifications (if configured)

Configuration

Set VAULT_POLAR_SECRET in environment variables to match Polar webhook secret.