Payment intents carry their debt
Everypayment-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.The body names the owner and carries the resource
What changed in the bodyWhat else changed
- Owning account with its identity.
dniis formatted by document type (a Chilean RUT always arrives as17.100.082-3), the legacyrutdocument type is delivered asCHL_RUT, and one document can hold onepersonand onecompanyaccount, so match ondni+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
*.deletedand*.purgedevents 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, andcode-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.methodandEvent.routeare nullable (system events), and the delivered body is documented asWebhookDeliveryBodyin the Webhook Dispatch schemas.
- Read the owner from
data.account.document_id; stop readingdata.accountas a string anddata.account_id. - Accept
route: nullanddata.object: null. - Treat the body as personal data: keep it out of your logs and serve
your endpoint over HTTPS, or you will receive
dni: null. - 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.
- Subscriptions to removed events deliver nothing; remove them.
- 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.
- Account-scoped webhooks start receiving deletes, purges and action
events of their own records. Deduplicate on
idas before.
/api/v3)Removed events
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)
horizon-api now notifies external systems when a resource changes.What shipped- Event catalogue generated from the v3 route tree
(
<resource>.<action>), synced to theeventtable 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}/eventsto 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 withapi_version2026-09-11. See Delivery and signature. - Retries —
1 m → 5 m → 30 m → 2 h, thenexhausted; automatic disable after 20 consecutive failed deliveries; operator replay withconfirm_duplicate. See Retries and failures. - Operations —
GET /webhook/dashboard/summary,GET /webhook/catalogue/status, health componentwebhook-out, metricwebhook_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.
- 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.
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.