// the find
stripe/stripe-cli
A command-line tool for Stripe
The official Stripe CLI, written in Go, for local Stripe development. Lets you forward webhooks to localhost without exposing ports, trigger test events, tail API logs in real time, and CRUD Stripe objects from the terminal. If you're integrating Stripe payments, this replaces ngrok for webhook testing.
Webhook proxying actually works well — the `stripe listen --forward-to localhost:3000` flow is the fastest way to develop against Stripe webhooks locally without any tunnel setup. The `stripe trigger` command covers nearly every event type with realistic fixture payloads (100+ JSON files in the repo), which saves you from having to manually construct test scenarios. The resource commands are generated from Stripe's OpenAPI spec, so they stay current with the API without manual upkeep. Plugin architecture via gRPC means Stripe can ship ecosystem tools (like their Salesforce or Workato connectors) without forking the CLI.
2,076 stars for an official tool from a company this size is low — it suggests most Stripe developers don't know this exists or don't bother, which means community examples and Stack Overflow answers are thin. The Docker live-mode workflow documented in the README is genuinely painful: you need GPG, pass, a custom entrypoint script, and three named volumes just to avoid passing `--api-key` on each command. The plugin system uses gRPC with generated proto files checked into the repo, which is fine operationally but makes contributing to plugins harder than it should be. No built-in way to replay a sequence of real production events against a local server — `events resend` does one event at a time, and there's no batch or time-range replay.