Connecting Stripe Webhooks to HookLens
Learn how to connect your Stripe account to HookLens in less than 2 minutes. Monitor checkout sessions, failed payments, and subscription upgrades with automatic AI diagnostics.
1. Copy your HookLens Ingest URL
Log into your HookLens Dashboard at usehooklens.com/dashboard, open your project (e.g., "HookLens Core Billing"), and click the "Copy Ingest URL" button. It looks like: https://usehooklens.com/api/ingest/hl_cdd50...
2. Open Developers > Webhooks in Stripe
Log into your Stripe Dashboard. In the top-right search bar or left navigation, go to Developers > Webhooks (or direct URL: dashboard.stripe.com/test/webhooks).
3. Add Destination / Add Endpoint
Click the "+ Add destination" (or "+ Add endpoint") button in Stripe. Choose "Your account" as the destination scope.
4. Configure Payload Style & Insert URL
Choose "Snapshot payload" (this includes full order & customer metadata, giving HookLens AI maximum diagnostic power). Paste your HookLens Ingest URL into the Endpoint URL field.
5. Select Events to Monitor
You can choose "Select all" or specifically pick the most critical subscription and billing events:
• checkout.session.completed
• customer.subscription.created
• customer.subscription.updated
• customer.subscription.deleted
• invoice.payment_succeeded
• invoice.payment_failed6. Test the Connection
Click "Add destination". Inside Stripe, click "Send test event" or "Test in test mode", select "invoice.payment_failed", and hit send. Within seconds, the test event and AI diagnosis will appear in your HookLens dashboard!
Ready to test your webhooks?
Head over to your dashboard and manage live events.