cURL
curl --request POST \ --url https://api.example.com/api/webhooks/vault
Polar webhook endpoint for VAULT service subscriptions
POST /api/webhooks/vault
VAULT_POLAR_SECRET
export const POST = Webhooks({ webhookSecret: process.env.VAULT_POLAR_SECRET!, onPayload: async (payload) => { await handlePolarWebhook(payload, 'VAULT') }, })
UserServiceEntitlement
service: 'VAULT'