Razorpay interview questions and process
Razorpay's engineering hiring usually involves a coding round on data structures and problem solving, then rounds on practical engineering such as API design, debugging or a machine-coding exercise, and a system design round for experienced candidates. Because it builds payment gateway, payouts and business banking products for merchants, questions often touch payments reliability, developer APIs and handling failures. Processes usually end with a hiring manager discussion about past work and ownership, and an HR conversation.
Interview rounds
- Coding round: Data structures and problem-solving questions, with attention to clean code and edge cases.
- Machine coding or practical round: Building a small working module, designing an API or debugging a scenario within a time limit.
- System design (experienced roles): Designing reliable, scalable services such as gateways, webhooks or ledgers, including failure handling.
- Hiring manager round: Deep dive into past projects, decisions, ownership and how you handled incidents or disagreements.
- HR conversation: Motivation, expectations and practical details.
Sample practice questions
- Given a list of transaction amounts and a refund amount, find whether any two different transactions add up exactly to the refund amount, and return their positions.
- You have a log of payment status events (created, authorised, captured, refunded, failed) for many payments, possibly out of order. Each event has a payment id, status and timestamp. Find the payments whose event history breaks the allowed order of states.
- Design and explain a rate limiter that allows each merchant at most N API calls in any rolling 60 seconds. Compare fixed window, sliding log and token bucket approaches, and explain how you would make it work across several servers.
- Design a webhook system that notifies merchants when events such as payment success happen. Cover retries when the merchant's server is down, event ordering, duplicate deliveries, and how merchants can verify that a webhook really came from you.
- A merchant reports that a customer's money was deducted but the order shows as failed on the merchant's website. List the possible causes and explain how the system should resolve such cases.
- Design a payment routing layer that sends each transaction to one of several banks or processors, chooses the one most likely to succeed, and fails over automatically when one of them degrades.
Not affiliated with or endorsed by Razorpay. Based on publicly reported interview formats; questions are original practice questions.