Design Refund and Chargeback Handling for Instagram Shopping Orders
Last updated: November 29, 2026
Quick Overview
Design how Instagram checkout handles buyer refund requests, merchant-issued refunds, and card network chargebacks, keeping buyers, merchants, and Meta's ledger consistent.
Meta
November 29, 20260
0
0 solved
Design how Instagram checkout handles buyer refund requests, merchant-issued refunds, and card network chargebacks, keeping buyers, merchants, and Meta's ledger consistent.
Commerce on Instagram and Facebook means Meta sits between buyer and merchant on disputes. This screen-level question checks state machines, who bears the money at each step, and deadlines imposed by card networks.
What the Interviewer Expects
- Model order, refund, and dispute as separate state machines
- Post ledger entries for each money movement
- Handle partial refunds
- Meet chargeback response deadlines with evidence
- Recover funds from merchants
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
- What if the merchant's balance is already paid out when a chargeback arrives?
- How do you prevent a refund and a chargeback on the same order both paying the buyer?
- How would you automate evidence submission?
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
Functional: buyer requests refund; merchant approves or Meta decides under purchase protection; partial refunds per item; chargebacks from card networks with evidence submission; merchant notifica...
High-Level Design
- Order service keeps order and item states.
- Refund service with states
requested -> approved -> submitted_to_processor -> refunded | failed. - Dispute service ingests chargeback notif...