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
More stories every week.
Get 2 free stories in your inbox each week.