Design Deposit and Transfer Webhooks for Exchange Clients

Last updated: November 29, 2026

Quick Overview

Design the system that notifies client backends by webhook when a transfer to or from their wallet is seen, confirmed, or reversed, across many chains, with at-least-once delivery, retries and signing.

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

0

0

0 solved


Design the system that notifies client backends by webhook when a transfer to or from their wallet is seen, confirmed, or reversed, across many chains, with at-least-once delivery, retries and signing.

Exchanges credit their own users based on BitGo transfer webhooks, so lost, duplicated or forged notifications translate directly into lost money. The round checks event pipelines, delivery guarantees and how a candidate makes consumer-side processing safe.

What the Interviewer Expects
  • Separates event production from delivery with a durable queue
  • Guarantees at-least-once delivery and gives clients an idempotent event id
  • Signs payloads and documents verification
  • Uses retries with exponential backoff, a dead-letter state and replay
  • Isolates slow or failing endpoints so they do not delay other clients
  • Covers reversal events from reorgs
Key Topics to Cover
webhooks
at-least-once delivery
message queues
HMAC signing
backoff and retries
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 exactly-once delivery?
  • How do clients verify that the transfer in a webhook is real?
  • How do you deliver ordered events per wallet without blocking everything?
  • How would you let a client backfill after a long outage?
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: clients register URLs per wallet with event types (transfer seen, confirmed, failed, reversed) and confirmation thresholds. Each event is delivered at least once, signed, retried for up to...

High-Level Design

Chain indexers write transfer state changes to the transfers database and an outbox table in the same transaction. A relay publishes outbox rows to a partitioned log (Kafka) keyed by wallet id. A matc...


Submit Your Answer
Markdown supported

Related Questions