Const
Parse and normalize a canonical wholesale-feed webhook notification.
The normalized shape intentionally separates idempotencyKey (delivery replay/dedupe) from eventId / notificationId (domain event identity). It validates envelope-level invariants, including the canonical notification_id === event.event_id match.
idempotencyKey
eventId
notificationId
notification_id === event.event_id
Parse and normalize a canonical wholesale-feed webhook notification.
The normalized shape intentionally separates
idempotencyKey(delivery replay/dedupe) fromeventId/notificationId(domain event identity). It validates envelope-level invariants, including the canonicalnotification_id === event.event_idmatch.