Design Payment Reconciliation Between the Ledger and External Processors

Last updated: November 29, 2026

Quick Overview

Design the daily job that reconciles Meta's internal payment records against settlement files from card processors and banks, flagging missing, duplicated, or mismatched transactions.

Meta
System Design
Data Engineer
Meta
November 29, 2026
Data Engineer
Phone Screen
System Design
Easy

0

0

0 solved


Design the daily job that reconciles Meta's internal payment records against settlement files from card processors and banks, flagging missing, duplicated, or mismatched transactions.

Every payments team at Meta, from ads billing to Shops, reconciles against processors. It is a gentle design question that tests matching logic, timing windows, and an exceptions workflow that finance trusts.

What the Interviewer Expects
  • Ingest and normalize processor settlement files
  • Match on reference IDs, then amount and currency
  • Handle timing differences across cutoff windows
  • Classify breaks and route exceptions
  • Report totals and aging
Key Topics to Cover
Reconciliation
Matching keys
Settlement files
Exception handling
Idempotent ingestion
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 match when the processor batches several of your charges into one line?
  • What if a file arrives late or twice?
  • How do you handle partial refunds?
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: each day compare internal charge, refund, and chargeback records with each processor's settlement report; produce matched, unmatched, and mismatched sets; summary totals for finance.

...

High-Level Design
  1. Ingest: fetch processor files (SFTP or API), store raw immutably, parse into a normalized table (processor, ref_id, type, amount, currency, settle_date). File checksums dedupe repeated delive...

Submit Your Answer
Markdown supported