The webhook endpoint object
A webhook endpoint is a URL Bachs delivers events to, together with the set of events it is subscribed to. Manage endpoints with an API key that has the webhooks scopes, or from your dashboard.
GET /v1/webhooks/endpoints/{endpoint_id}/secret with an API key that has webhooks:read, or view it in the dashboard, which needs permission to manage webhooks. Treat it like a password. If it leaks, rotate the secret to generate a new one.A webhook endpoint: a URL Bachs delivers events to, and the events it is subscribed to.
The HTTPS URL we POST each subscribed event to. It must be reachable from the public internet and return a 2xx within 10 seconds. Anything else is recorded as a failed attempt; see Retries for which failures we try again.
"https://api.example.com/webhooks/bachs"
When true, matching events are delivered here. When false, nothing is sent to this URL, not even retries that were already queued, and events from while it was off are not sent later. We set it to false ourselves when deliveries keep failing; see disabled_reason and When an endpoint keeps failing.
true
The event types this endpoint receives, stored lowercase. Anything not listed is never delivered here, so add a type before you rely on it.
collection.succeeded, collection.failed, collection.underpaid, checkout.completed, checkout.expired, payout.created, payout.paid, payout.failed, refund.created, refund.paid, refund.failed, conversion.completed, conversion.failed, customer.created, customer.updated, dispute.created, dispute.updated, customer.subscription.created, customer.subscription.updated, customer.subscription.deleted, invoice.created, invoice.paid, invoice.payment_failed ["collection.succeeded", "collection.failed"]
When we turned this endpoint off because its deliveries kept failing, as an ISO 8601 timestamp in UTC. null while the endpoint is enabled, and when you turned it off yourself. See When an endpoint keeps failing.
"2026-03-12T14:05:00.000Z"
Why we turned this endpoint off. consecutive_failures: every delivery to it failed for at least 72 hours, with no success in between, and we emailed a warning at least 48 hours earlier. null while the endpoint is enabled, and when you turned it off yourself.
consecutive_failures, null "consecutive_failures"

