Webhook Management
Discover and manage webhook subscriptions
bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v3/webhooks/event-types"{ "object": "list", "data": [ { "object": "webhook_event_type", "event_type": "dispute.created", "description": "A new dispute was opened against a charge.", "status": "available" }, { "object": "webhook_event_type", "event_type": "alerts.created", "description": "A new alert was received for one of your transactions.", "status": "available" }, { "object": "webhook_event_type", "event_type": "alerts.updated", "description": "An alert's outcome or status changed.", "status": "available" }, { "object": "webhook_event_type", "event_type": "alerts.transaction.linked", "description": "An alert was matched to one of your transactions.", "status": "available" }, { "object": "webhook_event_type", "event_type": "alerts.enrollment.status_changed", "description": "A provider on one of your alert enrollments changed status.", "status": "coming_soon" }, { "object": "webhook_event_type", "event_type": "*", "description": "Every event type, current and future.", "status": "available" }, { "object": "webhook_event_type", "event_type": "evidence.ready", "description": "A dispute's evidence document finished generating.", "status": "coming_soon" }, { "object": "webhook_event_type", "event_type": "evidence.error", "description": "Evidence generation failed for a dispute.", "status": "coming_soon" } ], "has_more": false}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v3/webhooks/registrations"{ "object": "list", "data": [ { "id": "whr_0199a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b", "object": "webhook_registration", "url_target": "https://partner.example/hooks/chargeflow", "event_types": [ "dispute.created", "evidence.ready" ], "is_active": true, "created_at": "2026-10-20T09:30:00.000Z", "updated_at": "2026-10-20T09:30:00.000Z", "livemode": true } ], "has_more": false}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
application/json
The https URL that receives deliveries. It must carry no username or password. Its host must not be localhost or a non-public IP address, such as a private, loopback, link-local or cloud-metadata one. A URL that breaks a rule is 400 WEBHOOK_URL_TARGET_INVALID. A host name is not resolved here: we check its addresses before each delivery (see the 201 response). One registration per URL per account: a second, including a retried create, is 409 WEBHOOK_ALREADY_EXISTS.
uriAt least one: an empty list is 400 WEBHOOK_EVENT_TYPES_REQUIRED. Duplicates are dropped.
["*"] alone subscribes to every type your key can see, current and future. * mixed with specific types is 409 WEBHOOK_WILDCARD_ALREADY_EXISTS. A type your key cannot see (unknown, or platform-only on a merchant key) is 400 WEBHOOK_EVENT_TYPES_INVALID.
Value in
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v3/webhooks/registrations" \ -H "Content-Type: application/json" \ -d '{ "url_target": "https://partner.example/hooks/chargeflow", "event_types": [ "dispute.created", "evidence.ready" ] }'{ "id": "whr_0199a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b", "object": "webhook_registration", "url_target": "https://partner.example/hooks/chargeflow", "event_types": [ "dispute.created", "evidence.ready" ], "is_active": true, "created_at": "2026-10-20T09:30:00.000Z", "updated_at": "2026-10-20T09:30:00.000Z", "livemode": true, "signing_secret": "whsec_3f8a1c9b2d7e4a6f0b5c8d1e3a7f9b2c4d6e8a0b1c3"}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
The registration id (whr_ prefix).
^whr_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$application/json
Send at least one field.
A new https URL, under the same rules as on create. Pending retries go to the new URL. A URL that another of your registrations has is 409 WEBHOOK_ALREADY_EXISTS.
uriReplaces the whole list. Same rules as on create, including *. An event that is already waiting for a retry is still sent, even when its type is no longer in the list.
Value in
false turns delivery off and keeps the id and signing secret. While it is off, new events are never sent, and a retry that comes due is dropped for good. Only true turns delivery on again, also after a 410 or repeated failures turned it off. A new url_target or event_types alone does not. Turning it on applies to new events only: what was dropped does not come back.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v3/webhooks/registrations/whr_0199a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b" \ -H "Content-Type: application/json" \ -d '{ "event_types": [ "dispute.created" ], "is_active": true }'{ "id": "whr_0199a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b", "object": "webhook_registration", "url_target": "https://partner.example/hooks/chargeflow", "event_types": [ "dispute.created" ], "is_active": true, "created_at": "2026-10-20T09:30:00.000Z", "updated_at": "2026-10-21T14:05:00.000Z", "livemode": true}bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
The registration id (whr_ prefix).
^whr_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v3/webhooks/registrations/whr_0199a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b"bearerAuth Your secret key, sent as Authorization: Bearer cf_live_<key_id>_<secret>.
In: header
The registration id (whr_ prefix).
^whr_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$application/json
A specific type your key can see. *, an unknown type, or a platform-only type on a merchant key returns 400 WEBHOOK_EVENT_TYPES_INVALID. It does not need to be a type the registration subscribes to.
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v3/webhooks/registrations/whr_0199a3c4-5d6e-7f80-9a1b-2c3d4e5f6a7b/test" \ -H "Content-Type: application/json" \ -d '{ "event_type": "dispute.created" }'{ "id": "whd_0199a3c5-7b1e-7c2a-9f4d-3e8b6a1c0d2f", "object": "webhook_test_delivery", "livemode": true}