Design a Daily Reconciliation Pipeline Between the Ledger and Bank Settlement Files

Last updated: November 29, 2026

Quick Overview

Design the pipeline that ingests daily settlement and statement files from dozens of partner banks and card networks, matches them against Stripe's internal ledger entries, and surfaces unexplained differences to finance operations.

Stripe
System Design
Software Engineer
Stripe
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the pipeline that ingests daily settlement and statement files from dozens of partner banks and card networks, matches them against Stripe's internal ledger entries, and surfaces unexplained differences to finance operations.

Stripe moves money through many acquiring banks and networks, and finance must prove every day that what the ledger says happened matches what partners actually settled. The interviewer checks a robust ingestion layer for messy external files, a matching engine that tolerates fees and timing differences, idempotent reprocessing and an operations workflow for breaks.

What the Interviewer Expects
  • Treat partner files as untrusted input: version parsers per partner and file format, validate totals
  • Store raw files immutably and make every stage re-runnable from them
  • Normalize to a canonical settlement record before matching
  • Match in tiers: exact keys, then fuzzy rules (amount tolerance, date window), then manual
  • Classify breaks (timing, fee, FX, missing) and age them, with alerts on totals
  • Keep the pipeline idempotent so a late or corrected file can be reprocessed safely
Key Topics to Cover
data pipelines
reconciliation
idempotency
batch processing
ledgers
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
  • How would you handle a bank that resends a corrected file for a day already reconciled?
  • How would you detect that a partner silently changed its file format?
  • What service level would you set for having the books closed each day, and how do you meet it?
  • How would you prove to auditors that a given break was resolved and by whom?
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

Inputs: files over SFTP or APIs (CSV, fixed-width, ISO 20022 XML) arriving on partner schedules, some late, some corrected; internal ledger entries from the double-entry ledger service. Outputs: per-p...

High-Level Design
  1. Ingestion: fetchers pull or receive files, compute a content hash, and write them unchanged to an object store with metadata (partner, file type, business date, hash). Duplicate hashes are igno...

Submit Your Answer
Markdown supported