The seven lines of code that became Stripe
In 2010, accepting a payment online required a merchant account, a payment gateway, weeks of paperwork, and PCI compliance. The Collison brothers shipped a competitor that worked in seven lines of curl.
Patrick Collison · 8 min read
When Patrick and John Collison started what would become Stripe, they didn't lead with a pitch deck. They led with a curl command.
The entire onboarding flow for a competing payments product in 2010 looked like this: fill out a 40-page merchant application, wait two weeks for underwriting, pass a PCI compliance audit, integrate a 200-page SDK, deploy. Best case, you were six weeks from your first transaction.
The Collison brothers shipped a private beta where the entire integration was a single POST request:
curl https://api.stripe.com/v1/charges \
-u sk_test_xxx: \
-d amount=2000 \
-d currency=usd \
-d source=tok_visa \
-d description="Test charge"
You've read your 5 free stories this month.
The next YC application you write could be the one that gets in. Don't stop learning from the founders who already did it.
- ✓ 1000+ deeply-researched YC founder stories
- ✓ Unfiltered Lens breakdowns: what worked, what failed
- ✓ 2 new founder deep-dives every week
- ✓ Full Q&A library + application teardowns
Free YC databases
Everything behind this page is in our open databases
This story is one slice of the data we keep open — batch lists, rejection case studies and launch playbooks, all free to read.
Database
YC Rejection Database →
Airbnb, Stripe, Reddit — founders who got rejected first, with every source linked.
Index
List of YC Companies →
Searchable index of YC alumni by batch, from Airbnb (W09) to the newest AI startups.
Database
YC Solo Founder Database →
20+ verified solo founders, their pre-YC traction and the exact application framing they used.
Browse all free YC databases → · or start on the YCInsight homepage
Go deeper on what Stripe did
Questions this story raises
Free tools for this stage
Start from the YCInsight homepage for every YC database, founder story and Q&A in one place.
Related founder stories
Keep reading — more YC founders from S09 and beyond.
Vidyard
Two engineering students in Canada — one designing toilets, one sitting idle at BlackBerry — used a day-trading windfall to buy a house, build a video company nobody asked for, and accidentally discovered the real product while trying to solve their clients' confusion. Then they drove 1,200 miles with a car covered in stickers to crash a conference and corner a keynote speaker.
Treehouse
Ryan Carson watched developers graduate from college without knowing how to code for real jobs — so he spent 6 years building a blog audience first, then launched a product to that audience and hit $1.7M revenue in under 12 months, teaching over a million people to code before anyone in Silicon Valley thought online education could work.
inDinero
A 19-year-old CS student who had never held a real job, knew nothing about accounting, and dropped out of high school at 15 — built the "Mint.com for business," nearly destroyed it through arrogance, then pivoted her way to 2,686% revenue growth and the cover of Inc. magazine.
RentHop
Two MIT-trained quants looked at Craigslist — the most-visited, least-innovated website in America — and decided the apartment hunt didn't need disruption with venture-scale fireworks. It needed a better ranking algorithm, patient bootstrapping, and fifteen years of quietly outlasting better-funded competitors.
Beetailer
A self-taught Spanish developer from Seville moved to San Francisco with a brilliant idea at exactly the right moment — got into YC, hit real traction, mentored by legends — and then watched everything collapse when Facebook changed the rules overnight. What she built next was smarter, and what she learned is priceless.
Custora
A guy who built a million-dollar sporting goods company and walked away with nothing, and a Wharton MBA studying Bayesian probability models, figured out that retailers were measuring customer value completely wrong — then turned an academic formula into a $31.8M-funded product that ended up being acquired by one of the most sophisticated customer data platforms in the world.
More stories every week.
Get 2 free stories in your inbox each week.