Stripe CLI
Test webhooks, trigger events, tail API logs, and manage Stripe resources from the terminal.
Installation
brew install stripe/stripe-cli/stripe
stripe login
Key Commands
stripe listen --forward-to localhost:4242/webhook
stripe trigger payment_intent.succeeded
stripe logs tail
stripe resources list
stripe customers list --json
stripe payments list --limit 5 --json
Agent-Friendly Features
--jsonflag for structured output- API key auth via
STRIPE_API_KEY - Non-interactive webhook forwarding
- Event triggering for testing