Get Webhook URLs
Stripe Configuration
Get Webhook URLs
Get the webhook endpoint URLs to configure in your Stripe dashboard
GET
Get Webhook URLs
Get the webhook endpoint URLs for your project. Use these URLs when configuring webhook endpoints in your Stripe Dashboard for both test and live modes.Documentation Index
Fetch the complete documentation index at: https://devkit4ai.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
This endpoint requires developer authentication via OAuth2 Bearer Token. You must own the project.
Path Parameters
The unique identifier of the project
Response
Webhook URL for test mode events
Webhook URL for live mode events
Example Request
Example Response
Configuring Webhooks in Stripe
Open Stripe Dashboard
Navigate to Developers > Webhooks in Stripe Dashboard.(((REPLACE_THIS_WITH_IMAGE: stripe-dashboard-webhooks-page.png: Stripe Dashboard webhooks page showing the Add endpoint button)))
Create Test Endpoint
Click Add endpoint and paste the
test_webhook_url. Make sure you’re in Test mode.Select Events
Select the events to listen for:
checkout.session.completedcustomer.subscription.createdcustomer.subscription.updatedcustomer.subscription.deletedinvoice.paidinvoice.payment_failed
Get Signing Secret
After creating the endpoint, click to reveal the Signing secret (starts with
whsec_).Save Webhook Secret
Use Update Stripe Config to save the webhook secret.
Required Webhook Events
Configure these events for full functionality:| Event | Purpose |
|---|---|
checkout.session.completed | Track successful checkouts |
customer.subscription.created | New subscription created |
customer.subscription.updated | Subscription plan changed |
customer.subscription.deleted | Subscription cancelled |
invoice.paid | Payment received |
invoice.payment_failed | Payment failed |
Webhook URL Format
| Parameter | Description |
|---|---|
project_id | Your project’s UUID |
mode | test or live |
Error Responses
| Status | Description |
|---|---|
401 | Unauthorized - Invalid or missing authentication |
403 | Forbidden - You don’t own this project |
404 | Project not found |
Related Pages
Stripe Webhook Handler
How webhooks are processed
Update Stripe Config
Save webhook secrets

