Razorpay’s fresher interview process starts with a 90-minute online assessment of 2-3 coding problems, then a technical round on DSA plus backend and payments concepts, a second technical round on machine coding or payment and ledger system design, an optional managerial round, and a 20-30 minute HR and culture round. What separates candidates is how they handle payments-domain follow-ups layered onto standard DSA, and most loops finish within 2-4 weeks from OA to offer.
Typical loop (candidate-reported): Online Assessment (90 min, 2-3 coding problems) → Technical Round 1 (45-60 min, DSA + payments/domain) → Technical Round 2 (45-60 min, machine coding or payment/ledger system design) → optional Managerial round (behavioral + impact) → HR / culture (20-30 min). Timeline is often 2-4 weeks from OA to offer; some 2025-2026 SDE-1 accounts describe four live rounds over ~30 days.
How Razorpay differs from generic fintech campus loops
- Payments product awareness helps “Why Razorpay” and project framing even when rounds are classic DSA.
- Intern vs SDE vs frontend tracks change emphasis (JS/React depth vs backend DSA).
- Expect SQL/OOP + project follow-ups alongside coding, not payments ledger design for every fresher.
Round-wise process
| Round | Duration | What they test |
|---|---|---|
| Online Assessment | 90 min | Coding (DSA) + sometimes MCQs |
| Technical Round 1 | 45-60 min | DSA + backend / payments concepts |
| Technical Round 2 | 45-60 min | Machine coding / system design (payments / ledger) |
| Managerial (some drives) | 45-60 min | Behavioral fit, ownership, impact stories |
| HR / Culture | 20-30 min | Motivation, integrity, relocation |
Real interview experiences
These are condensed from public candidate write-ups. Two things stand out across them: the DSA bar is genuinely high (medium-hard DP and constant-space tricks, not warm-ups), and the shortlist ratios are brutal - Razorpay takes very few people per campus.
Experience 1: SDE, on-campus, October 2022 (GeeksforGeeks write-up)
Reported background: a student from a non-CS branch who had switched into software.
Round 1 - Online assessment (90 min)
- 15 MCQs across OS, DBMS, OOPS and DSA, with different questions carrying different point values.
- Three coding problems: a subarray-sum check, a helicopter-rescue optimization solved with two pointers, and an array manipulation using a doubly linked list.
- 12 candidates advanced.
Round 2 - Technical (45 min, with a Senior Software Engineer)
- One problem, close to “find the next palindrome larger than a given number”.
- The interviewer wanted the brute force stated first, then the optimization, then the code, then the complexity. 11 candidates cleared.
Round 3 - Hiring manager (60 min, with a Senior Engineering Manager)
- System design for UPI transactions.
- OS, networking and database fundamentals.
- Deep follow-ups on the candidate’s project and tech stack choices.
- Behavioral: why this career path, how you handle conflict, where you are headed. Some candidates got puzzles instead.
Outcome: Selected - 3 students in total from the drive.
Takeaways
- What decided it: Narrating brute force → optimization → code → complexity on the next-palindrome problem, then holding a UPI transaction design with OS/DB fundamentals.
- Common fail: Jumping straight to code without stating the brute force, or a shallow “Why fintech” with no payments context.
- How to practice: Time three OA-style problems; rehearse a 10-minute UPI flow (order → auth → webhook) on a whiteboard.
Experience 2: SDE internship, on-campus (GeeksforGeeks write-up)
Structure: one coding round, two technical rounds, one managerial round.
- Coding round: 15-20 MCQs on CSE core subjects (DBMS, OS) plus 3 coding questions. Only candidates who finished all three were shortlisted.
- Technical 1: 10-15 minutes on resume and projects, then a dynamic programming problem the candidate described as a harder variant of Regular Expression Matching.
- Technical 2: again resume-first, then find the MEX of an array in O(N) time without extra space.
- Managerial: behavioral questions and puzzles.
Funnel as reported: 8 shortlisted for interviews, 5 to the second technical, all 5 to the managerial round, and 1 offer. That candidate later converted the internship into a PPO.
Takeaways
- What decided it: Clearing all three coding problems on the OA, then solving MEX in O(N) without extra space and a hard regex-style DP with spoken complexity.
- Common fail: Partial OA solves in a drive that only shortlists candidates who finish all three; weak resume openers before the algorithm.
- How to practice: Constant-space array drills and one Regular Expression Matching variant timed; keep a 3-minute project narrative ready.
What both accounts share: every interview opens on your resume and projects before the algorithm question, so have a crisp 3-minute project narrative ready. The differentiator is not finishing the problem - it is stating brute force, optimization and complexity out loud in that order.
Experience 3: Software Developer Intern, on-campus (GeeksforGeeks write-up)
Reported funnel: about 180 students at a Bengaluru campus drive; 3 final selections after HR.
Round 1 - Resume shortlisting
Resumes were screened for DSA background, fintech or backend projects, and internships or hackathons. 50 students moved on.
Round 2 - Technical 1 (~60 min)
Arrays, strings, hash maps, sliding window and complexity analysis. The author was asked for the longest substring with at most K distinct characters, with weight on the optimized approach and edge cases. 25 students moved on.
Round 3 - Technical 2 (~60 min)
Trees, graph basics, recursion and backtracking, plus DBMS transactions and indexing. The author solved a tree traversal problem, then discussed a simple payment transaction system with data consistency under concurrent transactions. 10 students moved on.
Round 4 - HR (~25 min)
Why Razorpay, interest in fintech, career goals, and working in a fast-paced environment.
Outcome: Not selected (author report). 3 of about 180 students got offers.
Pre-interview checklist (Razorpay)
- Confirm role track: SDE, intern, or frontend
- Drill arrays/strings/hashmaps mediums; one tree/graph
- Revise SQL joins and OOP for technical follow-ups
- Prep Why Razorpay with one payments-product concrete point
- One project deep-dive: APIs, failure modes, what you would rebuild
Questions that come up often
Coding / technical
- Design an LRU cache. Usually expects HashMap + doubly linked list
- Implement a rate limiter. Usually expects sliding window / token bucket
- Merge overlapping time intervals. Usually expects sort + sweep
- Discussion on payment gateway and webhooks, bottlenecks, failure modes, simple APIs
- Detailed project discussion, architecture, hardest bug, what you would change
HR / behavioral
- Why fintech / payments?
- A production bug or outage you helped with
- An integrity / pressure scenario
- Joining timeline
Practical tips for Razorpay
- Clear the screening round first. Timed practice beats last-minute topic hopping.
- For domain questions, explain payment gateway in plain language, inputs, outputs, what breaks at scale.
- OOPs and SQL still open a lot of Razorpay panels. Do not skip fundamentals.
- HR answers should be concrete. One story with a result beats five slogans.
HR interview
After technical rounds, Razorpay usually closes with a short HR / hiring-manager conversation: motivation, location, notice period, and a couple of behavioral stories.
Sample answers for high-frequency questions
Q. How would you implement a rate limiter, and which algorithm would you choose?
A. Token bucket is the usual production answer: each key holds a bucket of capacity N refilled at R tokens per second; a request consumes one token and is rejected when the bucket is empty. It allows short bursts up to N while enforcing an average rate of R, and it needs only two stored values per key - token count and last refill timestamp - which you can update lazily on each request. Fixed-window counters are simpler but allow up to double the limit across a window boundary. Sliding-window log is exact but stores every timestamp; sliding-window counter interpolates between two fixed windows and is the usual compromise. In a distributed setup, store counters in Redis and apply the check-and-decrement in a Lua script so it is atomic.
Q. How do you make a payment API idempotent so retries never double-charge?
A. The client sends a unique idempotency key with each create-payment request, typically a UUID generated once per user intent and reused across retries. The server inserts that key into a table with a unique constraint inside the same transaction that creates the payment, so a duplicate request loses the insert race and instead returns the stored response of the original. The record must also store a fingerprint of the request body so a reused key with different parameters is rejected rather than silently returning the wrong result. Keys are usually retained for at least 24 hours, and in-flight duplicates return a conflict status so the client retries with backoff rather than creating a second charge.
Q. How does a payment gateway flow work end to end?
A. The merchant server creates an order with the gateway and receives an order ID, which the checkout page uses to open the gateway’s UI. The customer enters card or UPI details directly with the gateway or the issuer, so the merchant never touches raw card data - that is what keeps them outside PCI-DSS scope. The gateway routes an authorization request through the acquirer and card network to the issuing bank, adding 3-D Secure or a UPI PIN step for authentication. On success the funds are held, not moved; capture and later settlement transfer them, minus fees, on the settlement cycle. The gateway then returns a signed response to the browser and, independently, fires a server-to-server webhook.
Q. Why can you not trust the browser redirect for payment status, and how are webhooks secured?
A. The client-side redirect can be dropped if the user closes the tab, loses network, or tampers with the response, so it is a UX signal, not a source of truth. The authoritative status comes from the gateway’s server-to-server webhook, backed by an explicit status-fetch API call as a fallback. Webhooks are secured by verifying an HMAC-SHA256 signature computed over the raw request body with a shared secret, compared using a constant-time function - never by trusting the payload alone or the source IP. Because gateways retry until they see a success response, the handler must be idempotent, keyed on the event ID, and should acknowledge quickly while doing heavy work asynchronously.
Q. Why do payment systems use a double-entry ledger instead of updating a balance column?
A. A double-entry ledger records every movement as at least two entries - a debit and a credit - that sum to zero across accounts, so the books are self-checking: if the sum of all entries in a currency is not zero, something is wrong. Entries are append-only and immutable, which gives a full audit trail and lets you reconstruct any balance at any point in time by replaying entries, something a mutable balance column destroys. A balance column also invites lost updates under concurrency and leaves no evidence of what changed. In practice you keep a materialized balance for fast reads, but derive it from the ledger and reconcile it continuously against the entry sum.
Tips from successful candidates
Assessment tips
- Confirm the current Razorpay pattern from the drive mail before practicing old papers
- Finish one problem or section fully before starting the next
- Revise the fundamentals listed in the round table on this page
Interview tips
- Narrate trade-offs; expect “why” after every answer
- Only list projects you can defend under follow-ups
- Prepare 3-4 STAR stories for behavioral prompts
HR tips
- Know why Razorpay, not just why the industry
- Be clear on location / notice period / higher studies
- Practice answers on the dedicated HR page
Sources
Cross-check the current drive mail or careers posting for timings and pattern changes. Experience cards cite the GeeksforGeeks write-ups linked in each heading.
For the company overview and FAQs, see the Razorpay hub. For behavioral STAR prompts, use the Razorpay HR page. For OA drills, use Razorpay on placementpapers.app.