A command-line tool for Stripe
open sourceApache-2.0self-hostablefree
The Stripe CLI is Stripe's official command line tool for building and testing an integration: it forwards webhook events to a local server without a third-party tunnel, triggers or resends test events, tails API request logs in real time and creates, reads, updates and deletes API objects. It runs on macOS, Windows and Linux and is Apache-2.0 licensed.
Ways to install
Package managers
Problems it solves
- test Stripe webhooks against my localhost without ngrok
- trigger a fake payment_failed event to test my handler
- see the Stripe API requests my app is making in real time
- resend a webhook event that my server failed to process
- create test customers and subscriptions from the terminal
Features
- webhook forwarding to localhost
- trigger and resend events
- tail request logs
- API object commands
- install script with automatic updates
Capabilities
| Agents can report problems | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what Stripe CLI does.
- ngrok Start on localhost, ship to prod.
- Cloudflare Tunnel (cloudflared) Cloudflare Tunnel client
