Fintech · CRED · Razorpay India 2026

CRED & Razorpay Interview Preparation India 2026

Complete guide for SDE-1 and SDE-2 roles — hiring process, DSA topics, fintech system design (payment systems, fraud detection, rate limiting), engineering culture, and 2026 salary data.

✍️ Pranjal Jain, Ex-Microsoft · IIT Kanpur 📅 June 8, 2026 ⏱ 20 min read

CRED & Razorpay at a Glance

CRED

  • Founded 2018 by Kunal Shah
  • Valuation: ~$6B (2024 funding round)
  • ~1,000 employees (lean, selective)
  • Products: credit card rewards, CRED Pay, CRED Cash, CRED Travel
  • Headquarters: Bengaluru
  • Known for: extremely high bar, curated member base (750+ credit score)

Razorpay

  • Founded 2014 by Harshil Mathur & Shashank Kumar
  • Valuation: ~$7.5B
  • ~3,500 employees
  • Products: payment gateway, Razorpay Capital, RazorpayX, POS
  • Headquarters: Bengaluru
  • Processes 60%+ of Indian internet transactions
💡
Why these companies are worth targeting: CRED and Razorpay are two of the best engineering cultures in India — strong technical bar, high compensation, interesting problems (payment reliability, fraud, scale), and pre-IPO ESOPs. Both have very low offer-to-headcount ratios, which means preparation quality matters enormously. Most candidates need 3–6 months of structured prep to crack these.

CRED Interview Process

1

Resume Screening / Referral

CRED doesn't hire from campus extensively — most hires come from referrals, LinkedIn outreach from their talent team, or direct applications with strong profiles (GitHub, published work, previous notable employers). Non-referral cold applications have a low response rate. Build genuine connections at CRED via engineering blog posts, meetups, or Twitter/X interactions.

2

Online Coding Assessment — 90 min

2-3 problems, Medium to Hard difficulty on LeetCode equivalents. Topics: graphs (BFS/DFS/shortest path), trees, dynamic programming, heaps, sliding window. CRED expects clean, well-commented code — not just a working solution. Brute-force approaches rarely score well; optimal time complexity is expected.

3

Technical Round 1 — DSA (60 min)

Deep walk-through of 1-2 problems. Interviewer challenges your approach: "Can you do better?", "What if constraints change?", "What's your space complexity?" Behavioral questions about your most technically challenging project are woven in.

4

Technical Round 2 — System Design (60 min)

Design a component of CRED's infrastructure: reward points engine, credit score lookup service, payment routing, or user segmentation. CRED values: scalability + data consistency + simplicity. Don't over-engineer. Explain tradeoffs clearly.

5

Culture / Bar Raiser Round (30 min)

Senior engineering leader assesses: depth of ownership in past work, intellectual curiosity, product thinking, values alignment with CRED's mission. Not a technical round — prepare honest, specific stories about impact.

Razorpay Interview Process

1

Online HackerEarth Assessment — 90 min

2-3 coding problems (Easy to Medium-Hard). Razorpay uses HackerEarth/CodeSignal. Focus: data structures, string manipulation, graph problems, time complexity optimization. Both test cases and edge cases are evaluated.

2

Technical Round 1 — DSA + Low-Level Design (60 min)

1-2 DSA problems followed by a low-level design (LLD) question: design a rate limiter, a notification system, or an idempotency key manager. Expects clean OOP code (class diagram + implementation sketch). LLD is a strong differentiator at Razorpay.

3

Technical Round 2 — System Design (60 min)

Design a payment gateway, webhook delivery system, or settlement engine. Razorpay specifically tests: idempotency, retry mechanisms, distributed transaction handling, and monitoring/observability for financial transactions.

4

Hiring Manager / Culture Round (30 min)

Team fit, leadership potential, past experience depth, why Razorpay. Kunal Shah's philosophy at Razorpay: "Solve for the user, everything else follows." Engineers who demonstrate user empathy and product ownership tend to do well.

DSA Preparation (Both Companies)

TopicKey ProblemsFrequency
GraphsBFS/DFS, Dijkstra, Topological sort, Number of islands, Course ScheduleVery High
Dynamic ProgrammingCoin change, Longest subsequence, Knapsack, Edit distance, Matrix chainHigh
TreesLCA, Serialize/Deserialize, Path sum, BST validation, Vertical order traversalHigh
Heaps / Priority QueueKth largest, Merge K sorted lists, Median from data streamHigh
Sliding Window / Two PointersLongest substring without repeating, Minimum window substringMedium
Design Problems (LLD)Rate limiter, Cache (LRU/LFU), Task scheduler, Parking lot, Library systemHigh (Razorpay)

Fintech System Design Topics

Payment Gateway Architecture

Core challenge: exactly-once payment processing in the face of network failures, retries, and double charges.

  • Idempotency keys for all payment APIs (client-generated UUID per payment attempt)
  • Two-phase state machine: INITIATED → PROCESSING → CAPTURED | FAILED
  • Distributed locking (Redis SETNX) to prevent concurrent processing of same payment
  • Webhook delivery with exponential backoff and dead-letter queue
  • Reconciliation service (async) to detect and fix inconsistencies between internal DB and bank systems

Fraud Detection System

Real-time scoring of transactions with low latency (<50ms) and high accuracy.

  • Event-driven: transaction event → Kafka → real-time fraud scorer
  • Rule engine (Drools / custom): velocity rules (10 txns/min from same card), merchant risk rules
  • ML model serving: feature extraction (user history, merchant history, geolocation) → model inference → risk score
  • Feature store (Redis for real-time features, Hive/BigQuery for batch features)
  • Feedback loop: chargebacks → retrain model

Reward / Points Engine (CRED-specific)

Credit card spend → CRED coins → redeemable across merchants. Core challenge: consistency and auditability.

  • Ledger-based model: append-only transaction log for all point credits/debits
  • Idempotent credit: same card payment event must credit exactly once (dedup via transaction ID)
  • Eventual consistency acceptable for display; strong consistency required for redemption
  • Batch nightly reconciliation: bank statement parsing → coins credit jobs
  • Expiry policy: background job marking expired points, with grace period

Rate Limiter for Payment API

Prevent API abuse and protect backend services from traffic spikes.

  • Token Bucket (Razorpay favorite): smooth burst handling. Redis INCR + TTL for distributed counter
  • Sliding Window Counter: more accurate, higher storage (per-second or per-minute buckets)
  • Implementation: Nginx (lua-resty-limit-traffic), Redis (EVAL with Lua scripts for atomicity)
  • Per-merchant limits, per-IP limits, global limits — tiered enforcement
  • Response: HTTP 429 Too Many Requests + Retry-After header

Salary 2026

RoleCRED (CTC)Razorpay (CTC)
SDE-1 (0–2 years)₹30–50 LPA₹18–28 LPA
SDE-2 (2–5 years)₹50–80 LPA₹28–45 LPA
SDE-3 / Senior SDE (5–8 years)₹80–120 LPA₹45–75 LPA
Staff / Principal (8+ years)₹120–180 LPA₹75–120 LPA
🚀
ESOPs at pre-IPO fintech: Both CRED and Razorpay offer significant ESOP grants as part of compensation. At current valuations, SDE-2 ESOP grants can be worth ₹30-80 LPA in addition to cash. However, ESOPs are vested over 4 years (typically 1-year cliff + monthly thereafter) and are only liquid at IPO or secondary sale. Read our full guide on ESOPs at Indian startups before making decisions based on ESOP value.

Frequently Asked Questions

How hard is it to get into CRED vs Razorpay?
CRED is significantly harder. CRED has a sub-1% offer rate and extreme selectivity — most candidates with 5+ years experience at top companies don't make it past the culture round. Razorpay is also highly selective but has a more structured process and higher hiring volume (more openings). For a typical engineer with 2-3 years at a mid-level product company: Razorpay is a realistic 3-4 month prep target; CRED requires exceptional depth + referral to even get interviews.
Do CRED and Razorpay hire freshers?
Rarely for CRED — they prefer engineers with 2+ years of strong product company experience. Razorpay does hire freshers via selective campus programs at IITs and RECs, but volumes are very small (20-30 freshers per year). Both companies heavily prefer referrals. Freshers targeting these companies should first spend 2-3 years at a good product company (Flipkart, Swiggy, Zomato, PhonePe) or a funded startup, then lateral-move.
What tech stack does Razorpay use?
Razorpay's primary stack: PHP (legacy core payment processing), Golang (newer services, high-throughput APIs), Python (data science, ML), React (frontend), MySQL and PostgreSQL, Redis (caching + rate limiting), Kafka (event streaming), Elasticsearch, Kubernetes on AWS. Engineers don't need to know Razorpay's specific stack — they interview for fundamentals. But demonstrating knowledge of high-performance Go or distributed Java systems helps.
Pranjal Jain
Pranjal Jain

Ex-Microsoft SDE · IIT Kanpur · Founder of Prepflix. Has coached dozens of engineers to crack top fintech product companies across India.