Design Payment Ingestion and Posting for a Mortgage Servicing Platform

Last updated: November 29, 2026

Quick Overview

Design the system that receives borrower payments from ACH, card, lockbox check files and wires, posts them to loans through the servicing waterfall, handles returns and reversals, and produces a ledger that reconciles to the bank every day.

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

0

0

0 solved


Design the system that receives borrower payments from ACH, card, lockbox check files and wires, posts them to loans through the servicing waterfall, handles returns and reversals, and produces a ledger that reconciles to the bank every day.

Money movement is one of the pillars ValonOS combines with loan data and compliance logic, and a servicer moving millions of homeowners cannot lose, double post or mis-date a payment. The interviewer probes idempotency, double-entry ledgers, effective dating, return handling, and daily bank reconciliation.

What the Interviewer Expects
  • Separate ingestion, posting and ledger concerns
  • Make every payment idempotent with a stable external key
  • Use a double-entry, append-only ledger
  • Handle NSF returns and reversals days after posting
  • Reconcile ledger cash against bank statements daily
  • Respect effective dates and the cutoff for same-day credit
Key Topics to Cover
Idempotency
Double-entry ledger
Payment returns
Reconciliation
Event-driven architecture
Effective dating
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 a lockbox file that is re-sent by the bank with a few changed rows?
  • How would you support a borrower paying through a third-party bill pay service with no loan number?
  • What happens when posting is down for an hour at month end?
  • How do you remit collected funds to investors and prove it?
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: accept payments from borrower portal (ACH and debit card via processors), recurring autopay drafts, bank lockbox files for checks, and wires; identify the loan; post through the waterfall;...

High-Level Design
  1. Ingestion adapters per channel normalize to a PaymentReceived record with source, external reference, amount in cents, received_at, and raw payload stored in object storage.
  2. **Payment inta...

Submit Your Answer
Markdown supported

Related Questions