Create Webhook Endpoint
create_webhook_endpointRegister a new webhook endpoint to receive Stripe events at a specified HTTPS URL, listening for selected event types.
Instructions
Register a new webhook endpoint with Stripe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTPS URL that will receive webhook events | |
| enabled_events | Yes | Event types to listen for, e.g. ["payment_intent.succeeded", "customer.subscription.deleted"]. | |
| description | No | Endpoint description | |
| metadata | No | Metadata | |
| api_version | No | Stripe API version for events (defaults to account version) | |
| idempotency_key | No | Optional idempotency key for safe retries |