
Monthly cost
$0+ / mo
2.9% + $0.30 per charge
Popularity
5/5
LLM knowledge
5/5
Difficulty
Medium
#typescript
What Stripe is good at
Strengths
- +Best API / docs
- +Subscriptions, Connect, Issuing
- +Global
Tradeoffs
- −2.9% + 30¢
- −Webhooks complexity
Coding-agent prompt
Drop into Claude / Cursor to get idiomatic Stripe code.
You're integrating Stripe. Follow these rules: - Use Stripe Checkout or Payment Element — don't hand-roll card forms. - Prices and products live in Stripe, referenced by ID from your DB. Don't duplicate pricing. - Webhooks over polling. Verify the signature with `stripe.webhooks.constructEvent`. - Handle these events at a minimum: `checkout.session.completed`, `invoice.paid`, `customer.subscription.updated`, `customer.subscription.deleted`. - Idempotency keys on every state-changing call — replays must be safe. - Test mode keys in dev; production keys only in production env. - Never log raw card data; Stripe tokens are the only thing you should ever see.
Beginner's guide to Stripe
In one line: The default way to accept credit cards on the internet.
Stripe gives you an API and pre-built checkout page to take payments, manage subscriptions, and pay out money. Their docs are famously good.
Try it in your terminal
npm install stripeInstall the server SDK.
Browse all categories