Design Daily Reconciliation Between the Payments Ledger and Card Processors

Last updated: November 29, 2026

Quick Overview

Design the system that, every day, matches every charge, refund and chargeback in Amazon's internal payments ledger against settlement files from card processors and banks, and surfaces every mismatch.

Amazon
System Design
Software Engineer
Amazon
November 29, 2026
Software Engineer
Onsite
System Design
Hard

0

0

0 solved


Design the system that, every day, matches every charge, refund and chargeback in Amazon's internal payments ledger against settlement files from card processors and banks, and surfaces every mismatch.

Finance technology teams ask this because reconciliation is where silent payment bugs are caught. The interviewer checks how you match records with imperfect keys, handle timing differences, scale to hundreds of millions of rows, and route breaks to people.

What the Interviewer Expects
  • Ingest and normalize processor settlement files in many formats
  • Define matching keys and fallback fuzzy matching
  • Account for timing differences across settlement days and time zones
  • Classify breaks and route them to owners with aging
  • Produce totals that finance signs off on
Key Topics to Cover
Reconciliation
Batch Processing
Record Matching
Data Quality
Financial Controls
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 do you handle one internal charge that settles as two processor records?
  • What is your plan when a processor sends a corrected file a week later?
  • How would you detect a systematic issue versus random breaks?
  • How would you make this near-real-time instead of daily?
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: daily, match internal transactions (authorizations captured, refunds, chargebacks) to processor settlement records; report matched, unmatched-internal, unmatched-external and amount mismat...

High-Level Design

Ingestion: processor files land in S3 by SFTP or API; per-processor parsers normalize into a common schema (processor, merchant_ref, processor_txn_id, type, amount, currency, settle_date). Internal ...


Submit Your Answer
Markdown supported