The Problem
If you were a small business in India around 2013 and wanted to accept payments online, you were in trouble.
You needed to visit a bank. Fill out mountains of paperwork. Wait weeks for approvals. Then hire a developer to integrate a payment system that was clunky, unreliable, and clearly not built for someone like you.
Big companies had the resources to deal with all of this. But small businesses, freelancers, and early-stage startups? They were just left out. Payments were supposed to be the start of doing business, but instead they were a wall blocking it.
The core insight:
Harshil Mathur and Shashank Kumar saw this wall every day. And they decided to tear it down. Not by working around the system — but by rebuilding the system from scratch.
Two Engineers Who Got Bored of Their Dream Jobs
Harshil grew up in Jaipur and studied at IIT Roorkee, one of the most respected engineering colleges in India. After graduating in 2013, he landed a job at Schlumberger, a global oil and gas company. It was a prestigious role with a good salary. Exactly what you work toward for four years of engineering college.
He lasted less than a year.
“I love challenges. I got really bored of doing the same nine to six job.”— Harshil Mathur
Shashank had a similar story. He landed at Microsoft after IIT Roorkee. Another dream job on paper. Another person quietly feeling like he was meant to be building something of his own.
The two had been friends since college. When they started talking about building a company together, it did not take long for both of them to quit their jobs and go all in.
The First Idea That Did Not Work
Their first real attempt was a payment system for schools. The idea was simple: schools collect a lot of fees from parents, and most of it was still happening in cash or cheques. What if schools could accept payments digitally?
Harshil and Shashank rode around on a motorbike for three to four months, visiting school after school, pitching their product. Out of all the schools they spoke to, one agreed to try it.
One.
It was deflating. They started questioning everything. Was this worth continuing? Should they just call it?
Then something unexpected happened.
A few startups based out of Startup Oasis, a small incubation centre in Jaipur, started using their payment gateway on their own. Nobody had sold it to them. They just found it and signed up.
That was a signal. Schools were not the right customer. Startups were.
The YC Rejection
With a clearer direction, Harshil and Shashank decided to apply to Y Combinator, the famous startup accelerator from Silicon Valley that had backed companies like Airbnb, Dropbox, and Stripe.
Getting into YC is extremely hard. Thousands of startups apply every batch. A few hundred get in.
Razorpay did not get in. Not the first time.
The specific details of the rejection are not public, but what followed tells you everything about how Harshil and Shashank responded. They did not give up on YC. They went back and fixed whatever needed fixing. They applied again.
The comeback
The second time, they got in. Razorpay was part of YC's Winter 2015 batch, where they were mentored by Paul Buchheit, the man who built Gmail, and Dalton Caldwell, a respected founder and investor.
Getting rejected and coming back with a better product is one thing. But getting in, after a rejection, to one of the most selective programs in the world? That says something about the founders.
100 Banks Said No
Getting into YC was a breakthrough. But back in India, there was still a massive problem.
To run a payment gateway, you need banks to partner with you. You cannot process money without them. So Harshil and Shashank went to banks. Over and over again.
They knocked on more than 100 bank doors. They waited hours for meetings. They submitted proposals to 20 or 30 banks. Almost every single one turned them down.
The pushback was not just about Razorpay specifically. Banks simply did not understand fintech yet. They did not see online payments as a serious business. They were not convinced that a small startup deserved to be trusted with their infrastructure.
Then one banker said yes.
He was young, understood startups, and had the vision to see where digital payments in India were heading. He agreed to partner with Razorpay, and that one yes was enough to get the engine started.
The Product That Developers Actually Loved
Once they had a banking partner and came back from YC with sharper thinking, Razorpay launched properly in 2014 and 2015.
What made it different from every other payment gateway in India at that time was simple: it was built for developers.
Most payment systems in India were built for banks and finance teams. The documentation was confusing. The integration process took days. Pricing was unclear. Customer support was slow.
Razorpay did the opposite
For a startup founder trying to launch a product quickly, this was a completely different experience. Word spread fast.
Growing by Solving Every New Problem
Razorpay did not stop at payments.
As their merchant base grew, they started hearing new problems. Businesses wanted to pay their vendors quickly. They wanted to manage payroll. They needed small loans to grow but banks were still slow to help.
Razorpay built for each of these problems one by one.
RazorpayX
A business banking platform for payroll, vendor payments, and expense management — all from one place.
Razorpay Capital
Loans to businesses based on their payment history on the platform. No traditional bank process.
Razorpay Route
Automatic payment splitting for marketplaces between multiple vendors.
Each product came from listening to their own customers. They were not chasing trends. They were following real pain.
Unicorn During a Pandemic
In October 2020, in the middle of COVID-19, Razorpay raised $100 million at a $1 billion valuation and entered the Unicorn club.
Most people expected the pandemic to slow startups down. For Razorpay, the opposite happened. More businesses moved online out of necessity. Physical payments became complicated. Digital payments became essential. Razorpay was exactly where the demand was going.
The valuation rocket
October 2020: $1 billion valuation — Unicorn status
April 2021: Raised $160M at $3 billion — value tripled in under a year
2023: Valued at $7.5 billion
Harshil and Shashank became two of India's youngest self-made billionaires, both at 34 years old, according to the Hurun Global Rich List.
What the Future Looks Like
Today Razorpay processes more than 30% of all internet payments in India. Over 10 million businesses use the platform. Annual transactions run into hundreds of billions of dollars.
The company is now working on moving its legal home from the United States back to India, preparing for an IPO in the Indian market. For two engineers from IIT Roorkee who once rode a motorbike to sell software to schools, that is not a small thing.
What You Can Take Away From This
Your first customers will tell you who your real customers are.
Razorpay went to schools. Schools said no. Startups came on their own. Pay attention to who actually shows up versus who you expected.
A rejection from the best is still a lesson from the best.
Getting rejected by YC could have meant 'this idea is bad.' Harshil and Shashank read it as 'this idea needs work.' Then they came back and got in.
One yes can unlock everything.
After 100 bank rejections, one banker said yes. That is all it took. The number of no's does not matter as much as finding the one yes that opens the door.
Build for the person doing the work, not the person signing the cheque.
Every other payment gateway was built for CFOs and procurement teams. Razorpay was built for developers. Whoever actually uses your product every day is your real customer.
Solve the next problem for the same customer.
Razorpay did not pivot away from their merchants. They kept solving new problems for the same people. That is how you build a platform instead of just a product.
The Numbers
| Milestone | Detail |
|---|---|
| Founded | 2014 |
| YC Batch | Winter 2015 (after initial rejection) |
| Unicorn status | October 2020 |
| Valuation after 6 months | $3 billion (April 2021) |
| Current valuation | $7.5 billion |
| Share of India's internet payments | Over 30% |
| Businesses on the platform | 10 million+ |
| Annual transaction volume | $150 billion+ |
| Founder net worth (each) | ~$1 billion (2025) |
Two people who quit good jobs, failed with schools, got rejected by YC and 100 banks, and still ended up processing nearly a third of all online payments in India. The story of Razorpay is not about being exceptional from the start. It is about refusing to stop.
