Stripe Integration
Complete payment processing with webhooks, checkout sessions, and subscription management.
Quick Setup
1
Install the CLI: npx @integrateapi/cli add stripe
2
Get your Stripe API keys from dashboard.stripe.com/apikeys
3
Add keys to .env.local: STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
4
Create products in Stripe Dashboard and add price IDs to config
5
Set up webhook endpoint in Stripe Dashboard pointing to /api/stripe/webhook
What You Can Build
✓
Create checkout sessions for one-time or recurring payments
✓
Handle webhooks for payment confirmation
✓
Manage customer subscriptions
✓
Process refunds and disputes
Installation Command
npx @integrateapi/cli add stripe