Career Guide · May 2026

Razorpay Interview Preparation India 2026 – Complete SDE Guide

From OA to system design — crack India's leading fintech company with real questions, payment domain knowledge, salary data up to ₹100 LPA, and a practical switch plan from service companies.

👤 By Pranjal Jain 📅 May 22, 2026 ⏱ 19 min read 🏗 SDE I · SDE II · Senior SDE
Why Razorpay is every fintech engineer's dream

Razorpay processes ₹10+ lakh crore in payments annually for 8M+ businesses — making it one of India's most critical digital infrastructure companies. At a $7.5B valuation, engineers here solve hard problems: sub-second transaction latency, 99.99% uptime for payment rails, and real-time fraud detection at scale.

Company Overview

Founded in 2014 by Harshil Mathur and Shashank Kumar (IIT Roorkee alumni), Razorpay has evolved from a payment gateway to a full financial infrastructure platform. The product suite includes Razorpay Payment Gateway, Razorpay X (business banking), Razorpay Capital (lending), and Magic Checkout.

DetailInfo
HeadquartersBengaluru, Karnataka
Other India OfficesMumbai, Delhi NCR, Hyderabad, Chennai
Employees~3,500+ (India-first, global offices in US, Malaysia)
Primary Tech StackJava (core), Go, Python, Node.js, React, MySQL, Redis, Kafka, Kubernetes, AWS
Interview DifficultyHard — comparable to Swiggy/Flipkart; harder than Freshworks/Zoho
Valuation$7.5B (Series F, 2021)

Hiring Tracks & Salary

RoleExperienceBaseESOP GrantTotal CTC
SDE I0–2 yrs₹14 – 20 LPA₹10 – 20 L (4-yr)₹18 – 28 LPA
SDE II2–5 yrs₹25 – 40 LPA₹25 – 50 L (4-yr)₹32 – 55 LPA
Senior SDE5–8 yrs₹40 – 60 LPA₹60 – 1.2 Cr (4-yr)₹55 – 80 LPA
Staff Engineer8–12 yrs₹60 – 90 LPA₹1 – 2 Cr (4-yr)₹80 – 110 LPA
Principal Engineer12+ yrs₹80 – 120 LPA₹2 Cr+ (4-yr)₹100 LPA+
ESOPs at Razorpay

Razorpay is not yet publicly listed. ESOPs are a key part of compensation but are illiquid. Razorpay has run two secondary sale opportunities for employees (2020, 2022), giving partial liquidity. Factor this into your decision — ESOPs are valuable but not guaranteed to convert to cash on a predictable timeline.

Interview Process

Round 1

Online Assessment

HackerRank / Razorpay portal: 2–3 coding problems (Medium–Hard). 90 mins. Strictly proctored. Expect at least 1 Hard problem.

Round 2

Technical – DSA

Live coding on CoderPad. 1–2 problems. Expect follow-ups: "Optimise it further", "What if the input is 1B items?". 45–60 min.

Round 3

Technical – Concepts

CS fundamentals: concurrency, DB transactions, networking, caching. Past project deep-dive with "How did you scale it?" probing. 45–60 min.

Round 4

System Design

Mandatory for 2+ yrs experience. Payment-domain design: transactions, idempotency, reconciliation. HLD + LLD expected. 45–60 min.

Round 5

Hiring Manager / Culture

Behavioural: ownership, cross-team collaboration, past failures. Razorpay's culture focuses on "First Principles" thinking. 30–45 min.

Round 6

HR / Offer

CTC discussion, ESOP explanation, joining date, team matching. Multiple competing offers strengthen your position significantly.

OA Patterns

Razorpay's OA is notably harder than Freshworks or Zoho. Expect at least one Hard-level problem.

TopicFrequencyNotes
Graphs (BFS/DFS/Dijkstra)Very HighShortest path, connected components, topological sort
Dynamic ProgrammingVery HighInterval DP, tree DP, bitmask DP for Hard problems
Trees (BST + General)HighSegment trees for range queries in senior roles
Sliding Window / Two PointersHighOften the "easy" warm-up in a problem set
Heaps / Priority QueuesHighTop K, scheduling, median-of-stream problems
Binary Search on AnswerMedium–High"Minimum maximum" type problems
Greedy AlgorithmsMediumInterval scheduling, activity selection
TriesMediumAutocomplete, longest prefix matching
Concurrency ProblemsMedium (senior)Producer-consumer, deadlock prevention

Real Questions Asked at Razorpay

OA — Graphs (Hard)

Given a weighted directed graph representing payment routes between banks, find the minimum cost to route a payment from source bank to destination bank. If no path exists, return -1. Constraints: up to 10,000 nodes. (Dijkstra's with negative weight awareness.)

OA — Dynamic Programming (Medium-Hard)

Given a list of transaction amounts, find the maximum sum of a non-contiguous subsequence such that no two selected amounts are at adjacent indices, AND the total does not exceed a given fraud limit. (Variant of house robber with an upper bound constraint.)

Technical Round 1 — Sliding Window

Given a log of transactions with timestamps and amounts, find the time window of length W seconds that has the highest total transaction volume. Then: "What if transactions can be out of order by up to 5 seconds?" Redesign your solution.

Technical Round 1 — Concurrency

Implement a thread-safe LRU cache in Java. Then: "Now make it distributed — multiple instances need to share the same cache state." Discuss synchronisation, consistency trade-offs, and whether you'd use Redis. (No coding required for distributed part — design discussion.)

Technical Round 2 — DB Transactions

"Walk me through what happens at the database level when 1,000 concurrent users try to book the last seat on a flight." Cover: optimistic vs pessimistic locking, SELECT FOR UPDATE, deadlock scenarios, and how you'd avoid them in Razorpay's payment processing context.

System Design — Payment Gateway

"Design Razorpay's payment gateway. A merchant calls your API with an order; you need to route it to the correct bank, handle failures, ensure exactly-once processing, and return the result within 3 seconds." Cover: API design, idempotency keys, retry logic, database schema, and monitoring.

System Design — Reconciliation

"Design a daily reconciliation system that compares Razorpay's internal transaction records with bank settlement files. Handle 10M+ transactions/day, detect discrepancies, and flag them for human review." (Tests distributed data processing knowledge: batch jobs, checkpointing, alerting.)

Hiring Manager — Behavioural

"Tell me about a time you identified a problem that nobody else on your team noticed. How did you convince others it was real?" (Razorpay loves "first principles" thinkers who surface issues proactively.)

Fintech Domain Knowledge (Must-Know)

Razorpay interviewers often ask domain questions, especially in system design. You don't need to be a fintech expert, but these basics will set you apart:

Payment Fundamentals

Reliability & Correctness in Payments

Prepflix Success Story: Infosys → Razorpay

Infosys (₹8.5 LPA) Razorpay SDE II · ₹34 LPA 4× Hike

Rahul Verma, a Prepflix student, spent 3 years at Infosys on a banking domain project — giving him just enough fintech context to resonate in the Razorpay hiring manager round. After 4 months of DSA + system design prep, he cleared all 5 rounds in his first attempt. Rahul's advice: "I failed the OA the first time because I tried to solve the hard problem first and ran out of time. Second attempt: I solved the medium problem in 25 minutes, then attacked the hard one with the remaining 65 minutes. That order change made all the difference."

90-Day Roadmap: Service Company → Razorpay

Month 1

Strong DSA Foundation

  • Arrays, Strings, Two Pointers, Sliding Window
  • Trees, Graphs (BFS, DFS, Dijkstra, Topo Sort)
  • Heaps, Priority Queues
  • 100 LeetCode Medium problems
  • Read Razorpay Engineering Blog for domain context
Month 2

Hard DSA + Java Concurrency

  • DP patterns: interval, tree, bitmask (30 Hard problems)
  • Java concurrency: locks, futures, thread-safety patterns
  • DB: ACID, transactions, indexing, sharding strategies
  • Fintech domain: read UPI spec, understand payment flows
  • System design patterns: idempotency, circuit breaker, saga
Month 3

System Design + Mock Rounds

  • Design: Payment gateway, fraud detection, reconciliation
  • Design: Rate limiter, notification service, URL shortener
  • 5 mock interviews (at least 2 with payment domain focus)
  • Prepare behavioural stories: first principles, ownership
  • Apply via LinkedIn/referral; warm intro = 10× conversion

Frequently Asked Questions

How hard is Razorpay's interview compared to other Indian unicorns?
Razorpay sits above Freshworks and Zoho in difficulty, roughly comparable to Swiggy and Flipkart. The OA has at least one Hard problem, and the system design round expects you to understand payment-specific challenges (idempotency, distributed transactions). It's below Amazon/Google in algorithmic difficulty but above them in domain-specific depth.
Do I need fintech experience to interview at Razorpay?
No, but it helps significantly. Many Razorpay engineers come from non-fintech backgrounds. What you DO need: solid understanding of distributed systems concepts and the ability to learn the domain quickly. Study UPI flow and basic payment gateway concepts — 4–5 hours of reading is enough to seem well-prepared.
Is system design asked for engineers with 2 years of experience?
Yes, for 2+ year lateral hires, a system design round is standard at Razorpay. At 2 years it's more LLD-focused — design a class system or a small schema — rather than full distributed architecture. True HLD + LLD is expected from 3+ year candidates.
Can engineers from TCS/Infosys/Wipro get into Razorpay?
Yes — Razorpay doesn't care about your previous employer's brand; they care about your coding ability and system thinking. Candidates from TCS/Infosys regularly clear Razorpay when they've prepared properly (3–4 months of dedicated DSA + system design). Our Prepflix student Rahul Verma (Infosys → Razorpay, ₹34 LPA) is proof.
How negotiable is Razorpay's salary?
Significantly negotiable, especially with competing offers. Razorpay's initial offers are typically based on 30–40% over your current CTC. Candidates with offers from Swiggy, Flipkart, or Meesho have successfully negotiated 20–30% above the initial Razorpay offer. Always come to HR with a target number backed by market data.
What's the best way to get a Razorpay referral?
LinkedIn is your best bet. Search "Razorpay SDE" on LinkedIn, find 2nd-degree connections, and send a personalised message — not a generic "refer me" note. Mention something specific about Razorpay's engineering blog or a tech talk you watched. A genuine, specific outreach converts at ~15–20% vs <2% for cold applications.
P

Pranjal Jain

IIT Kanpur alumnus · Ex-Microsoft · Founder at Prepflix. Has mentored 1,572+ engineers from TCS, Infosys, Wipro and HCL to crack product companies including Razorpay, Swiggy, Flipkart, and Freshworks.