Design Daily Reconciliation Between Card Ledger and Network Settlement Files
Last updated: November 29, 2026
Quick Overview
Design a pipeline that each day matches the bank's internal card transaction ledger against settlement files from the card networks and processors, classifies every unmatched or mismatched item as a break, and gives operations a worklist before the books close.
JPMorgan Chase
November 29, 20260
0
0 solved
Design a pipeline that each day matches the bank's internal card transaction ledger against settlement files from the card networks and processors, classifies every unmatched or mismatched item as a break, and gives operations a worklist before the books close.
Chase card and J.P. Morgan Payments reconcile hundreds of millions of records a day against external networks, and breaks that age past a deadline become financial and regulatory exposure. The interviewer wants a data engineer's design: ingestion of messy files, matching keys and tolerances, idempotent reruns, and controls auditors can trust.
What the Interviewer Expects
- Clarifies sources, volumes, file formats, cut-off times and the definition of a match
- Designs a layered pipeline (raw, standardized, matched, breaks) with lineage
- Uses deterministic keys first, then fuzzy matching with tolerances for amount and date
- Makes daily runs idempotent and re-runnable per business date
- Includes control totals, break aging, and an operations feedback loop
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- A network sends a corrected file at 2pm for yesterday. How does the pipeline handle it?
- How would you match one ledger entry to several settlement lines (split shipments, partial captures)?
- How do you prove to auditors that no record was dropped between stages?
- When would you move from daily batch to intraday streaming reconciliation?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Sources: internal authorization and posting ledger, network clearing and settlement files (fixed-width or ISO 8583 derived), processor reports, and FX rates. Volume: around 200M records per day per si...
High-Level Design
Landing zone in object storage (immutable raw files, checksums recorded) -> Parse and standardize job (Spark) into a common schema: `txn_ref, card_token, merchant_id, amount_minor, currency, txn_d...