Stripe: how seven lines of code reshaped online payments
Patrick and John Collison founded Stripe in 2010 with a clear thesis: online payments shouldn’t require integrating with PayPal's API or going through a Bank of America merchant-services contract. Developers should be able to add payments to their site with seven lines of code. The bet was that if Stripe served developers well, developers would pull the product into every company they worked at. By 2026, Stripe processes more than $1 trillion in annual payment volume and is one of the most-valuable private companies in the world.
- Story: Patrick and John Collison founded Stripe in 2010 with a thesis: online payments shouldn't require integrating with PayPal's API or going through a Bank of America merchant-services contract. Developers should be able to add payments to their site with seven lines of code. By 2026, Stripe processes over $1 trillion in annual payment volume and is one of the most-valuable private companies in the world.
- Why it matters: Stripe is the defining developer-first B2B case study. The company succeeded because the developer-first positioning was real (great docs, simple APIs, self-serve onboarding) rather than just marketing claim. Most B2B companies say developer-first but route developers through sales calls.
- Takeaway: Match the marketing claim with operational reality. Developer-first means actually serving developers, not just claiming to.
- Takeaway: Documentation is a product. Stripe's docs are considered some of the best in software.
- Takeaway: Bottom-up adoption requires no procurement involvement. Developers should be able to integrate without a sales call.
Stripe — the four-step story
Stripe at a glance
Quick facts
Where online payments were in 2010
In 2010, adding payments to a website was painful. PayPal's API was clunky and the brand was associated with friction-heavy checkout experiences. Bank merchant-services contracts required physical paperwork, references, and weeks of underwriting. Authorize.net was the alternative for direct credit-card processing but the integration was complex and the documentation was poor.
Patrick and John Collison had built and sold an earlier company (Auctomatic) and had personally experienced the payments-integration pain. The thesis behind Stripe was that the integration friction was solvable: build APIs developers actually wanted to use, write documentation a developer could finish in 20 minutes, and let developers integrate without sales calls or contract negotiation.
The strategy
Stripe’s developer-first positioning was load-bearing for the whole company:
- Documentation as a product. Stripe's docs are considered some of the best in software. The team treats documentation as a first-class product, not as an afterthought. Developers can integrate in an afternoon because the docs actually work.
- Self-serve onboarding. A developer can create a Stripe account, get API keys, and process test transactions in minutes. No sales call required. The friction-free first experience pulled developers into the product before procurement or finance got involved.
- Bottom-up adoption pattern. A developer at a company integrates Stripe for a project. The company has Stripe-processing transactions before procurement evaluates payment vendors. By the time the procurement decision happens, switching costs are real.
- Product surface expansion. Payments was the wedge. Stripe expanded into Connect (marketplace payments), Atlas (company incorporation), Issuing (corporate cards), Climate (carbon-removal commitments), Radar (fraud), Terminal (in-person payments), and dozens of other products. Each product surface deepens the relationship with the developer audience.
What grew
Stripe scaled from a small developer-focused startup into one of the largest payment infrastructure providers globally. Annual processing volume has reached $1 trillion-plus. Major customers include Shopify (running its payment infrastructure on Stripe), Salesforce, Amazon, Google, and Microsoft alongside millions of smaller businesses. Stripe is one of the largest private fintech companies in history.
The valuation trajectory has been volatile. The peak ~$95B private valuation in March 2021 was re-rated downward to ~$50B in 2023 as private-tech valuations corrected broadly. A 2024 tender offer valued the company at ~$70B. An IPO has been discussed publicly for years but hasn't happened as of 2026. Stripe remains private with substantial cash reserves and ongoing growth.
How RGM thinks about developer-first B2B
When clients ask about developer-first B2B strategies, the Stripe case is the defining structural example. The conditions: the company has to genuinely serve developers (great docs, simple APIs, self-serve onboarding), bottom-up adoption has to be possible (developers can integrate without procurement approval), and the company has to be willing to invest in the product-surface expansion that comes with maturing developer customers.
The honest test is whether the company's actual go-to-market motion serves developers or just claims to. Many B2B companies say “developer-first” in their marketing but route developers through sales calls, gated documentation, and procurement-led onboarding. Stripe’s real differentiation was matching the marketing claim with the operational reality. Companies that say developer-first but don't deliver it usually lose to companies that actually do.
Frequently asked questions
How does “seven lines of code” actually work?
Stripe's initial pitch was that a developer could add Stripe Checkout to a website with about seven lines of JavaScript. The exact number has varied as the product has evolved, but the principle (radically simpler than alternatives) has remained.
Is Stripe going to IPO?
It's been discussed publicly for years. As of 2026, no public IPO timeline has been confirmed. Stripe has done multiple tender offers to provide liquidity to employees and existing investors, which has reduced the immediate pressure for an IPO.
How does Stripe make money?
Transaction fees on payments processed through the platform (typically ~2.9% + $0.30 per transaction with various enterprise discounts). The product surface expansion (Connect, Issuing, Atlas, etc.) adds adjacent revenue lines. The economics scale with overall payment volume.
Why is Stripe valued so much more than competitors?
Three reasons: scale (Stripe processes more volume than most competitors), product surface (Stripe has more product lines and deeper customer relationships than most), and developer-mindshare (Stripe has the strongest developer-brand position in payments, which compounds with new product launches).
Sources & references
- Stripe (company site) — Product and documentation reference.
- Stripe Press — Books and content the company publishes — itself a brand asset.
- Patrick Collison — founder writing — CEO public writing on company strategy.