In 2014, two IIT Roorkee graduates couldn't accept online payments for their own startup — every Indian bank rejected them. So they built the payment gateway themselves. A decade later, Razorpay processes over $150 billion in annualised TPV, is valued at $7.5 billion, and quietly powers payments for 80 lakh+ Indian businesses including Facebook India, Swiggy, and the BCCI.
Get a new case study every Sunday + the free Strategy Frameworks PDF
Porter's Five Forces
The five structural forces that determine the long-run profitability of an industry.
Competitive rivalry
PayU, CCAvenue, PhonePe PG, PineLabs all competing — but on a fragmented stack Razorpay outbuilt.
Threat of new entrants
RBI's Payment Aggregator licence freeze (2020–2023) effectively grandfathered incumbents into a moat.
Bargaining power of suppliers
Acquiring banks and card networks set interchange — limited pricing power for any gateway.
Bargaining power of buyers
80 lakh+ merchants, mostly SMBs with low individual leverage; large enterprises negotiate hard.
Threat of substitutes
Direct UPI integration, in-house gateways for large merchants, and bank-led PG offerings.
Strategic takeaway · Razorpay won by monetising India's payment complexity — the same complexity that kept Stripe and PayPal from competing seriously. Regulation became its moat.
In 2014, Harshil Mathur and Shashank Kumar, two recent…
In 2014, Harshil Mathur and Shashank Kumar, two recent IIT Roorkee graduates, were building a crowdfunding platform for Indian non-profits. They had the product. They had early customers. What they didn't have was a way to actually accept money. Every Indian bank they approached for a payment gateway either rejected them outright or quoted onboarding timelines of 3–6 months, integration fees of ₹40,000–₹50,000, and a documentation pile that included incorporation certificates, audited financials, and personal guarantees from directors. For a two-person startup with no revenue, this wasn't a hurdle — it was a wall. So they did what every great founder eventually does when the infrastructure they need doesn't exist: they pivoted from being a customer of payments to building payments itself. That pivot became Razorpay.
The Indian online payments landscape in 2014 was a patchwork of legacy gateways — CCAvenue, EBS, Citrus Pay, PayU — most of which were built by banks or telecom companies in the early 2000s. Onboarding a new merchant typically took 7–15 working days. Integration documentation was scattered, often outdated, and almost never targeted at developers. Success rates on transactions hovered around 55–65%, meaning roughly one out of every three online payment attempts failed — a catastrophic number that consumers had simply learned to live with. The founders' insight was painfully obvious in hindsight: India had over 50 million MSMEs and a rapidly digitising consumer base, but the payment rails serving them were designed for a 2005 web that no longer existed.
Razorpay's first product, launched in 2015, did exactly one thing differently — it let a developer integrate a payment gateway in under 30 minutes with seven lines of code. Onboarding moved from 15 days to 24 hours. Documentation read like Stripe's, not like an RBI circular. The founders explicitly modelled the company on Stripe, the American payments unicorn that had done the same thing for US developers in 2010. The Stripe comparison wasn't lost on Y Combinator either — Razorpay became the first Indian fintech accepted into YC's Winter 2015 batch, raising a seed round of $2.4 million from Matrix Partners, MasterCard, and YC partners shortly after Demo Day.
The early growth was deceptively slow
The early growth was deceptively slow. By the end of 2016, Razorpay had roughly 10,000 merchants on its platform — respectable, but a rounding error against PayU India's claimed 3 lakh+ merchants at the time. Then demonetisation happened. On November 8, 2016, Modi withdrew ₹500 and ₹1,000 notes from circulation overnight, and India's digital payments volumes exploded. UPI, which had launched silently in April 2016, suddenly had a tailwind. Razorpay's monthly transaction volume grew 5x in the six months following demonetisation. By end of 2017, the merchant count had crossed 1 lakh and Razorpay was processing over $1 billion in annualised TPV (total payments volume).
What separated Razorpay from older gateways during this window wasn't a single feature — it was a deliberate refusal to be just a payment gateway. In 2017, the company launched Razorpay Route (split payments and marketplace settlements). In 2018, Razorpay Subscriptions for SaaS and recurring billing. In 2019, RazorpayX — a neobanking layer built on top of partner banks (initially RBL Bank) that let startups manage payouts, vendor payments, and tax filings from the same dashboard they used for collections. By 2020, the company had quietly become a four-product platform: Payments, Banking, Capital (lending), and Payroll. None of the legacy Indian gateways had built anything comparable. Stripe had — but Stripe wasn't licensed to operate as a banking-adjacent business in India.
The financial trajectory matched the product expansion. Revenue went from ₹17 crore in FY18 to ₹193 crore in FY20 to ₹841 crore in FY21 to ₹1,481 crore in FY22 to ₹2,279 crore in FY23 — a 134x increase in five years. TPV crossed $60 billion (annualised) in 2021 and over $150 billion by 2024. The company became profitable on its core payments business as early as FY20 and has remained net-positive on operating cash flow despite the heavy investment in newer verticals. Compared to PayU India (Naspers-owned), which was acquired Wibmo for $70 million in 2019 and continues to lose money on its India business, Razorpay's economics are an outlier in Indian fintech.
Ather did with EVs what Razorpay did with payments — owned the boring infra layer competitors ignored.
Funding tells the rest of the story
Funding tells the rest of the story. Razorpay raised its Series A of $11.5 million in 2018 led by Tiger Global, Series B of $20 million in 2019 led by Ribbit Capital, Series C of $75 million in 2019 led by Sequoia and Ribbit, Series D of $100 million in 2020, Series E of $160 million in 2021, and Series F of $375 million in December 2021 led by Lone Pine Capital and Alkeon Capital. That last round valued the company at $7.5 billion — making Razorpay India's most valuable private fintech and one of the top five most valuable Indian unicorns of the 2021 vintage. Total capital raised has crossed $740 million, with cap table investors that read like a who's-who: Sequoia, Tiger, Lone Pine, GIC, Y Combinator, MasterCard, and Salesforce Ventures.
The product moat is structural rather than superficial. Indian payments are uniquely fragmented — 100+ banks, multiple wallet providers (Paytm, PhonePe, MobiKwik), three card networks, UPI, NEFT, IMPS, RTGS, EMI, BNPL, and now CBDC. A single Razorpay checkout flow has to handle all of them, optimise success rates dynamically based on which acquiring bank is having outage issues at any given second, and route the transaction through the cheapest viable rail. Razorpay's intelligent payment routing engine, built in-house, is reported to push transaction success rates to 92–95% — versus the industry average of 70–80%. For a merchant doing ₹100 crore in annual sales, that 15-percentage-point improvement is worth ₹15 crore of recovered revenue. The economic value is impossible for a merchant to ignore.
Razorpay's customer base today reads like a cross-section of digital India. Facebook India and WhatsApp Business use Razorpay for select merchant flows. Swiggy, Zomato, BookMyShow, CRED, Dream11, Ola, Practo, Unacademy, and the BCCI all run payments through it. By 2024, the merchant count had crossed 80 lakh (8 million) — making Razorpay the largest payment gateway in India by merchant count, ahead of PayU and CCAvenue. The geographic spread is also notable: roughly 20% of TPV now comes from Tier 2 and Tier 3 cities, where the company has built specific KYC and onboarding flows for first-time digital merchants who have never accepted online payments before.
RazorpayX, the neobanking arm, deserves its own spotlight
RazorpayX, the neobanking arm, deserves its own spotlight. Launched in 2019, it has signed up over 50,000 startups and SMBs, and now processes over ₹1 lakh crore in annualised payouts. It does not have a banking licence — instead it sits as a software layer on top of partner banks (initially RBL, now also ICICI and Axis), giving customers a unified dashboard for vendor payouts, payroll, tax payments, and treasury management. This is the same model that Brex and Mercury built for US startups, and the same model that the RBI has explicitly endorsed through its Account Aggregator framework and the recently launched Payments Aggregator licence regime. Razorpay was one of the first Indian companies to receive in-principle PA approval from the RBI in March 2023, after a 19-month freeze on new PA licences had effectively grandfathered the existing players into a moat.
The capital play is where the strategy gets interesting. Razorpay Capital, the lending arm, has disbursed over ₹6,000 crore in working capital loans to merchants, using transaction data from the payments business as the underwriting signal. This is the classic 'data flywheel' that consumer fintechs talk about but rarely execute: every transaction a merchant runs through Razorpay generates a real-time view of their revenue, seasonality, refund rates, and customer concentration. That data is worth more than any GST return or audited balance sheet — it's effectively a live cashflow statement. NPAs on Razorpay Capital loans are reportedly under 1.5%, against industry MSME-lending NPAs of 4–7%. The lending business, while still small relative to payments, is among the highest-margin units in the company.
There are real risks. RBI regulation has tightened sharply since 2022 — the freeze on new PA licences, KYC enforcement actions against Paytm Payments Bank, and increased scrutiny on cross-border payment flows have all directly impacted Razorpay. The MDR (merchant discount rate) on UPI has been zero since 2020, which has compressed gateway margins industry-wide. New competition is also emerging from PhonePe (which acquired payment gateway PayPhi) and PineLabs (acquired Setu and built a strong online stack). And the most strategic risk: Razorpay is reportedly preparing to redomicile from the US back to India ahead of an IPO, a move that requires settling a tax bill estimated at ₹1,000–1,500 crore — a meaningful cash drag.
The deeper lesson of Razorpay is one that Indian…
The deeper lesson of Razorpay is one that Indian founders rarely articulate well: the most defensible companies in emerging markets aren't the ones that copy a US playbook directly — they're the ones that copy the architecture (developer-first, API-first, cloud-native) but then re-engineer the product layer for local complexity. Stripe in the US had to support Visa, Mastercard, AmEx, and ACH. Razorpay in India has to support 100+ banks, UPI, wallets, EMIs, BNPL, COD reconciliation, GST invoicing, TDS computation, and now cross-border CBDC. The complexity is the moat. PayPal and Stripe could have entered India aggressively in 2018 — both did half-hearted versions and effectively gave up. The reason isn't that they couldn't build the technology. It's that they couldn't price the complexity. Razorpay's revenue per merchant is roughly 3x what Stripe earns per US merchant — not because Razorpay charges more, but because the Indian merchant needs more services bundled. Complexity, monetised correctly, becomes the moat that no global player can casually buy their way past.

Xerox Invented the Personal Computer. Then It Gave It Away to Steve Jobs.
More case studies
View all →Frequently asked questions
Who founded Razorpay?
Razorpay was founded in 2014 by Harshil Mathur and Shashank Kumar, both IIT Roorkee graduates. They built it after every Indian bank rejected their earlier crowdfunding startup's request for a payment gateway.
What is Razorpay's valuation?
Razorpay was last valued at $7.5 billion in its December 2021 Series F round led by Lone Pine Capital and Alkeon Capital, making it one of India's most valuable private fintech companies.
How does Razorpay make money?
Razorpay charges merchants ~2% on card and netbanking transactions (UPI is largely zero-MDR), plus subscription fees on RazorpayX neobanking, interest spread on Razorpay Capital lending, and payroll software fees. Payments remains the largest revenue line, but newer products grow faster.
Is Razorpay better than PayU or CCAvenue?
Razorpay's intelligent routing pushes transaction success rates to 92–95% versus 70–80% for legacy gateways, and onboarding takes under 24 hours versus 7–15 days. It also bundles neobanking, lending, and payroll — a stack PayU and CCAvenue don't offer.
Compared head-to-head
Side-by-side matchups featuring Razorpay.
Get the Strategy Frameworks Cheatsheet — free
Drop your email and we'll send you the 5-framework PDF used across these case studies, plus one new breakdown every week.
No spam. Unsubscribe anytime.


