Loading...
Subscribe to real-time event notifications.
/v1/webhooksList configured webhook endpoints.
{ "data": [{ "id": "wh_601", "url": "https://example.com/hook", "events": ["payment.succeeded"], "active": true }] }/v1/webhooksCreate a webhook endpoint.
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | required | HTTPS endpoint URL |
| events | string[] | required | Events to subscribe to |
{ "url": "https://example.com/hook", "events": ["payment.succeeded", "user.created"] }{ "id": "wh_602", "url": "https://example.com/hook", "secret": "whsec_abc123...", "active": true }/v1/webhooks/:idUpdate a webhook endpoint.
{ "events": ["payment.succeeded", "payment.failed"] }{ "id": "wh_601", "events": ["payment.succeeded", "payment.failed"], "active": true }/v1/webhooks/:idDelete a webhook endpoint.
{ "success": true }