Razorpay started as a payment gateway in 2014 — a market that was already crowded with PayU, CCAvenue, and Citrus. A decade later it processes more than $90B in annual TPV, banks 10M+ Indian businesses, and ships products that touch every corner of B2B money movement. The story is a clinic in how a developer-first wedge becomes a multi-product platform.
Origin story
Founders Harshil Mathur and Shashank Kumar met at IIT Roorkee. Their first attempt at a startup — a crowdfunding platform for social causes — kept dying on the same problem: the existing payment gateways were a nightmare to integrate. Two-week onboardings, PDF contracts, and APIs that returned XML in 2014. The pivot was obvious: build the gateway they wanted as developers.
YC accepted them in 2015 — the first Indian fintech in YC. The early product was a single, well-documented REST API + a hosted checkout that took ~30 minutes to integrate. That's it. No PDF contract, no relationship manager required.
The developer-first wedge
Razorpay's first three years can be summarised in one sentence: they competed on integration time, not pricing. Every legacy gateway charged ~2% MDR and so did Razorpay — the wedge was that startups could go live in an afternoon instead of a month.
- Self-serve KYC with an online dashboard, not an account manager. Salesforce-grade pipelines compressed into a 10- minute form.
- Public API + SDKs for every major language. Documentation that rivalled Stripe's, in a market where documentation was an afterthought.
- Webhook-first design meant developers could build idempotent systems. Legacy gateways had no webhooks at all.
From checkout to neo-bank
Once Razorpay had a million businesses on the gateway, it had a unique data asset: the cash flow of small Indian businesses. Every product after 2018 was a bet that this distribution + this data could be re-used to sell adjacent fintech:
- RazorpayX (2018) — neo-banking. Vendor payouts, automated reconciliation, expense cards. The bet: gateway customers were already losing 4 hours a week on manual bank ops.
- Razorpay Capital (2019) — working-capital loans underwritten on gateway-level cash-flow data. Underwriting accuracy beats banks by 30%+ because Razorpay sees the order book in real time.
- Razorpay Payroll (2020) — salary disbursal + compliance. Same playbook: piggy-back on the gateway distribution.
- International expansion (2022+) — Curlec acquisition in Malaysia, then a license in Singapore. The product pattern travels; the regulatory work doesn't.
Where the moats are
Three durable advantages compound:
- Switching cost — once a business runs payouts, payroll, and reconciliation through RazorpayX, the gateway becomes sticky by association.
- Data flywheel — every transaction sharpens fraud scoring, underwriting, and merchant onboarding. Newer entrants can match the API but not the data.
- Regulatory access — payment-aggregator licence, NBFC arm, banking partnerships. Each took 18+ months to secure and is non-trivial to replicate.
Lessons for builders
Key takeaways
- 01Don't fight on price when you can fight on time-to-integration. Developers will switch for documentation.
- 02A wedge product is just permission to ship the next ten products into a captive customer base.
- 03Data assets compound — every new product makes the others smarter. Stripe knows this; PayPal didn't.
- 04Regulatory work is a moat in fintech. Treat licences as product roadmap, not back-office overhead.
- 05The API-first playbook is a 10-year game. Razorpay's compounding really started in year 6.

