Almanack.
← Stories
Rule

Win the builders who implement you by offering the cleanest integration and documentation, ride that beachhead outward across the customer's entire money workflow, then package the whole thing as an operating system.

Razorpay

Razorpay is a developer-first payments company founded in December 2014 by IIT Roorkee friends Harshil Mathur and Shashank Kumar, built to fix the miserable experience of integrating online payments in India. Its through-line is a single compounding move: win engineers with the cleanest API and documentation, then ride that beachhead outward across a business's entire money workflow, and finally package the whole thing as a financial operating system. Each story below is a stage of that arc, from getting the first developers to embed a checkout to running roughly $180 billion in annualized payment volume across more than 12 million merchants.

GTM: winning developers when the incumbents built for compliance teams

The problem. In 2014, adding a payment gateway to an Indian website or app was a document-heavy ordeal designed around banks' compliance departments, not engineers. The market was already owned: CCAvenue and BillDesk, both founded around 2000, plus PayU, held the bank relationships and a decade's head start. But their integrations were dated, their onboarding ran to days of paperwork and approval waits, and their pricing was opaque. Razorpay had no such incumbency to lean on, nearly 100 banks turned it down as an unknown fintech. It also could not simply lift Stripe's US playbook, because the Indian constraint set was harder: acquiring was fragmented across many banks, and RBI rules governed who could onboard and how fast.

The approach. Razorpay went to market developer-first: a clean REST API returning JSON, a sandbox to test before committing, transparent pricing, and documentation treated as a product rather than an afterthought. A basic payment flow that took the incumbents 15 to 20 API calls dropped to 3 or 4, and onboarding that took them days became minutes, generate keys, copy sample code, test, go live, with no sales call for a basic integration. The developer was the distribution channel, so a startup's engineers had already validated the product before a founder ever spoke to sales.

How it solved it. The move captured exactly the cohort the incumbents' compliance-first onboarding could not serve fast enough: the wave of venture-funded and bootstrapped startups being founded as UPI volumes exploded after 2016. That boom was a real tailwind, and it lifted CCAvenue, BillDesk and PayU too, they operated in the same market with more capital and more bank access. They did not win the new digital-native businesses; Razorpay did, while the incumbents stayed anchored to legacy enterprise and utility-billing accounts. The documentation grew from roughly 53 articles in 2016 to over 1,500 by 2022, and the product-led motion carried Razorpay from 100 bank rejections to unicorn status in 2020 on a $100 million Series D co-led by GIC and Sequoia India, about six years after founding. Same tailwind, opposite outcomes, the developer-first move is what decided which of the same-conditions rivals took the cohort.

Land and Expand: from checkout to the whole money workflow

The problem. A payment gateway lands a merchant at the single moment money comes in, but that is a thin, commoditizing slice of a business's finances and a race to the bottom on take rate. Customer feedback made the ceiling explicit: as Razorpay found, payment acceptance was not its merchants' only problem. The same businesses were struggling with disbursements, vendor payouts, reconciliation, payroll, and working capital, all outside Razorpay's footprint.

The approach. Razorpay used the payments relationship as the wedge and expanded into adjacent money movements the merchant already trusted it to touch. In 2018 it launched RazorpayX for business banking (current accounts, corporate cards, automated payouts and payroll) and Razorpay Capital for lending, then aggressively cross-sold both into its existing merchant base.

How it solved it. Razorpay Capital turned the transaction data already flowing through the gateway into an underwriting asset, letting it offer instant working capital to merchants a traditional lender would have treated as invisible or high-risk. The expansion re-shaped the revenue mix: payments fell from about 90% of revenue to roughly 75%, with RazorpayX and adjacent services delivering the remaining quarter, and RazorpayX grew into the fastest-growing segment at more than 50,000 businesses and about $30 billion in annualized transaction volume, some 5% of India's digital money transfers.

Platform & Ecosystem: Razorpay 2.0 and the financial operating system

The problem. A collection of point products (a gateway here, a payouts tool there) does not compound; it just adds SKUs. To become infrastructure rather than a vendor, Razorpay needed its pieces to interlock so that acceptance, disbursement, banking, and credit reinforced one another and raised the cost of leaving.

The approach. In September 2017 Razorpay rebranded its suite as Razorpay 2.0, adding Route (split payments and automated vendor payouts), Smart Collect (bank-transfer reconciliation via NEFT, RTGS and IMPS), Subscriptions, Payment Links, and Invoices, all exposed through the same API-driven model as the core gateway. This turned a single product into a composable stack a business could assemble into its own financial operations.

How it solved it. By making each layer API-native and building the neobanking (RazorpayX) and lending (Capital) products on top, Razorpay positioned itself as a full-stack financial operating system rather than a checkout button. The strategy scales today across more than 12 million merchants processing roughly $180 billion in annualized total payment volume, with the ecosystem's non-payments products carrying an increasing share of the business.