0 day streak
Anonymous · shared experience20 Jan 2026 · 10 views

PhonePe: Merchant settlement system with T+1 payouts and a daily ledger

Interview question #PhonePe SDE 3 / Senior System design

Problem. Design the system that settles money to merchants.

Requirements.

  • Each transaction is settled on T+1, after the platform's commission is taken out
  • A merchant can see a ledger for each day
  • Once a day, a merchant can ask for a one-off settlement of an amount they choose

Direction the candidate took.

  • A ledger built on a write-ahead log, for durability and high write throughput
  • Data partitioned by date. On T+1, once a day's partition stops receiving writes, background workers aggregate it and run the settlement
  • A separate read-optimised search store serves the GET APIs, fed by a pipeline from the primary store

What the interviewer cared about. Data modelling got the most attention, alongside the overall architecture. The candidate said the round went well and moved on to the next stage. The post gave no scale numbers.

0 comments

Comments 0

No comments yet. Ask the author something, or add what happened in your own round.