Skip to main content
The debt of a payment intent in data.object (additive, api_version stays 2026-11-15)

Payment intents carry their debt

Every payment-intent event now carries, next to debt (its id), the debt in full as debt_detail, in the exact shape of the payment-debt object: dates (created_at, due_date, grace_period_ends_at), amount and currency, status and the attempt and retry counters. applied_amount says how much of the payment was applied to the debt. A subscriber of payment-intent.authorized or payment-intent.failed no longer needs to read the debt.The change only adds keys, so api_version stays 2026-11-15; a subscriber that rejects unknown keys must accept them. See The debt of a payment intent.
Breaking — owning account, system events and the resource in the body (api_version 2026-11-15)

The body names the owner and carries the resource

Breaking change. api_version moves from 2026-09-11 to 2026-11-15. There is one body version for every subscriber: every delivery sent after the release, including the replay of an older one, has the new shape. No production subscriber existed on 2026-11-15.
What changed in the bodyWhat else changed
  • Owning account with its identity. dni is formatted by document type (a Chilean RUT always arrives as 17.100.082-3), the legacy rut document type is delivered as CHL_RUT, and one document can hold one person and one company account, so match on dni + type + type_dni.internal. The account is read when the delivery is sent: a retry or a replay shows the owner as it is at that moment. The identity document is delivered over HTTPS only, and is never stored in the delivery ledger or logged. See Delivery and signature.
  • Every event with an owner resolves it. Records several steps away from their account, the caller’s own data, memberships, signatures, payments, and *.deleted and *.purged events now carry the resource id and the owner, so account-scoped webhooks receive them. Reference data, platform configuration, batch triggers and internal staff records stay global-only. Two resources changed owner: subscription-product-license.* events go to the account of the subscription, and code-coupon-maihue-club-assignment.* events to the account of the merchant. The caller’s own person data (account-me-*, the inbox and the notification preferences) goes to the personal account, never to the organization active in the token. See Event catalogue.
  • System events. 60 events for facts that no API request produces: payments authorized, failed or refunded, payment methods enrolled, debts paid or overdue, tax documents issued, plans contracted and renewed, contracts sent, signed and activated, accounts merged and validated, coupons granted and expired, notifications bounced, machines connected, exports ready. They are published once per fact and are not guaranteed: an event can be lost if the process stops right after the change. When the same fact can also happen through the REST API you receive both the route event and the system event. See System events.
  • data.object. One explicit list of fields per resource type; never a name, an email, a phone number, a card holder, a token or a file URL. Cards are delivered as brand, type, last four digits and expiry; payments carry their authorization code; payment-link URLs are not delivered. See Delivery and signature.
  • Past-tense names. 81 business action events were renamed to say what happened, and no event is named after its HTTP method any more. 17 routes that state no fact (previews, prechecks, internal retries, a deprecated route) no longer publish an event.
  • API reference. Event.method and Event.route are nullable (system events), and the delivered body is documented as WebhookDeliveryBody in the Webhook Dispatch schemas.
Migration notes
  1. Read the owner from data.account.document_id; stop reading data.account as a string and data.account_id.
  2. Accept route: null and data.object: null.
  3. Treat the body as personal data: keep it out of your logs and serve your endpoint over HTTPS, or you will receive dni: null.
  4. Replace the renamed event names in your handlers (table below). Your subscriptions were carried over by the catalogue sync: a webhook subscribed to an old name is subscribed to the new one.
  5. Subscriptions to removed events deliver nothing; remove them.
  6. If you subscribed to a route event to learn about a fact that also has a system event (for example a refund), decide which one drives your logic: you will receive both.
  7. Account-scoped webhooks start receiving deletes, purges and action events of their own records. Deduplicate on id as before.
Renamed events (routes are relative to /api/v3)Removed events
Replay keeps the delivery attempt counter
Operator replay of a webhook_dispatch row no longer resets attempts. The next POST increments the same lifetime counter so Entregas and the subscriber attempt field keep a full history. Automatic retries still stop at five POSTs; replaying an exhausted row performs one additional POST. See Retries and failures.
Outbound webhooks — first release

Outbound webhooks (first release)

horizon-api now notifies external systems when a resource changes.What shipped
  • Event catalogue generated from the v3 route tree (<resource>.<action>), synced to the event table on every deploy and checked in CI. See the catalogue.
  • Subscriptions — global or per-account webhooks with a one-shot whsec_ secret, PUT /webhook/webhook/{id}/events to manage the event set, secret rotation and test deliveries. See Subscriptions.
  • Signed deliveries — x-bbrands-signature: t=<ts>,v1=<hmac> over <ts>.<raw body>, 300 s tolerance, thin body with api_version 2026-09-11. See Delivery and signature.
  • Retries — 1 m → 5 m → 30 m → 2 h, then exhausted; automatic disable after 20 consecutive failed deliveries; operator replay with confirm_duplicate. See Retries and failures.
  • Operations — GET /webhook/dashboard/summary, GET /webhook/catalogue/status, health component webhook-out, metric webhook_out_deliveries_total{status}, development/certification sink. See Operations.
  • API reference — every webhook endpoint documented from a real OpenAPI spec: Webhook, Webhook Event, Webhook Dispatch, Event.
Breaking / migration notes
  • Webhooks created before this release are disabled with disabled_reason = "legacy-secret-rotation-required". Rotate the secret, deploy it on the subscriber, then activate.
  • Callback URLs must be HTTPS on a public host. Existing rows that no longer pass validation are rejected on the next update.
  • Publishing is behind ENABLE_API_EVENT_QUEUE, enabled per environment by the platform team after the catalogue sync.
  • Redirects (3xx) are never followed and count as terminal failures.
Schema — migration 0236 splits the webhook-in / webhook-out queue lanes; 0237 adds webhook.is_global, description, consecutive_failures, disabled_at, disabled_reason, makes webhook.account nullable, renames webhook_dispatch.retry to attempts and adds event.account_scope, method, route. See the Webhook schema.