← All stories
Stripe· S09

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"
Founder Stories · Members Only

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.

$5/month

Cancel anytime. Less than one bad coffee.

Unlock Every Founder Story →
  • 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

Not ready? Keep exploring, free

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.

Browse all free YC databases → · or start on the YCInsight homepage

Go deeper on what Stripe did

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 · Summer 2011 (S11) · 18 min

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 · Not YC — 2011 · 19 min

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 · Summer 2010 (S10) · 19 min

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 · Summer 2009 (S09) · 14 min

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 · Winter 2011 (W11) · 18 min

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 · Winter 2011 (W11) · 18 min

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.

Browse all founder stories →

More stories every week.

Get 2 free stories in your inbox each week.