talira

Stripe CLI

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

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 problemsplan not known
Has a command line toolplan not known

Alternatives

The same job

These do what Stripe CLI does.

  1. ngrok Start on localhost, ship to prod.
  2. Cloudflare Tunnel (cloudflared) Cloudflare Tunnel client

Compare Stripe CLI with the top 3