Skip to main content
TerminalSync
All CLIs

Stripe CLI

Stripe's official CLI. Forward webhooks to localhost while you build, trigger any event for testing, browse charges and customers from the shell, and tail real-time logs. TerminalSync keeps the Stripe workflow close to the project terminal and protects `.env` secrets through the encrypted vault.

payments$ stripeby Stripe
Install
brew install stripe/stripe-cli/stripe
Authenticate
stripe login

What it does

stripe is the official Stripe CLI. The killer feature is stripe listen --forward-to localhost:3000/api/webhooks/stripe, which proxies live webhook events to your local server so you can test the full payment flow without ngrok. Beyond that: trigger events (stripe trigger checkout.session.completed), browse customers and charges, generate test cards, and tail logs in real-time.

What TerminalSync adds

  • Workflow guide. Install, login and webhook commands live next to the terminal where your AI is working, so a new machine has the right Stripe runbook immediately.
  • Webhook secret in env vault. Put the whsec_… value from stripe listen in a project .env file and TerminalSync can keep that file encrypted in the folder vault.
  • MCP bridge. Pair with the Stripe MCP connector and Claude can read customers, refund charges and query subscriptions through the connector's own Stripe auth.

Typical commands

stripe listen --forward-to localhost:3000/api/webhooks/stripe
stripe trigger checkout.session.completed
stripe customers list --limit 5
stripe logs tail
stripe products list
How does sync work? Today TerminalSync syncs GitHub CLI through a dedicated Auth Sync flow. For the other CLIs, this page gives you install, login and recommended commands; project secrets that land in .env files can travel through the folder's encrypted vault. Automatic per-CLI auth sync is a future layer.