Design Webhook Delivery for Transfer and KYC Status Events

Last updated: November 29, 2026

Quick Overview

Design the service that delivers signed webhook events (transfer state changes, KYC approvals, deposit received) to thousands of developer endpoints with at-least-once delivery, retries, ordering hints and self-serve replay.

Bridge
System Design
Software Engineer
Bridge
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the service that delivers signed webhook events (transfer state changes, KYC approvals, deposit received) to thousands of developer endpoints with at-least-once delivery, retries, ordering hints and self-serve replay.

Developers build on Bridge by reacting to events, so webhook reliability is part of the product. The interviewer is checking that you can turn a vague reliability goal into concrete guarantees, isolate noisy endpoints, and design for developers who will debug failures at 2am.

What the Interviewer Expects
  • State the guarantee clearly: at least once, with event ids for dedupe on the receiver
  • Write events with the business transaction (outbox) so none are lost
  • Isolate slow or failing endpoints so they do not block others
  • Sign payloads and support secret rotation
  • Give developers visibility: delivery logs, replay, and endpoint disabling rules
Key Topics to Cover
webhooks
transactional outbox
at-least-once delivery
tenant isolation
HMAC signing
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • Why not promise strict ordering, and what can you give developers instead?
  • How do you handle one customer with a very slow endpoint receiving 10x normal volume?
  • How should the payload look so receivers can be stateless?
  • How would you test this end to end before a release?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: developers register endpoints and event types, receive JSON events signed with a per-endpoint secret, see delivery attempts, and replay events. Non-functional: no lost events, p99 delivery...

High-Level Design

The service changing a transfer's state writes an events row in the same database transaction (outbox). A relay tails the outbox and publishes to a queue partitioned by endpoint. Delivery workers pu...


Submit Your Answer
Markdown supported

Related Questions