home / utilities / stripe

Stripe CLI

Official · Stripe
1.9k

Official Stripe CLI for webhook testing, API requests, request logs, and local integration workflows.

$brew install stripe/stripe-cli/stripe
Language
Go
Stars
1,880
Category
Utilities
Agent
Ready
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis

Stripe CLI is Stripe's official command line for local integration development, webhook testing, direct API requests, and request-log inspection. It combines generic API access with Stripe-specific helpers for common test and debugging loops.

What It Enables
  • Forward Stripe webhooks to a local server, print signing secrets, and trigger or resend test events while developing integrations.
  • Create, retrieve, update, and delete Stripe resources from the shell across a large generated command tree, or fall back to generic get, post, and delete requests.
  • Tail live API request logs, inspect webhook traffic, and use fixtures or sample commands to reproduce integration scenarios faster.
Agent Fit
  • Resource commands return JSON responses, and streaming commands like listen --format JSON and logs tail --format JSON are straightforward to parse in follow-up shell steps.
  • The command surface maps well to inspect, change, and verify loops, but unattended use depends on API keys or existing login state, and some flows open a browser or prompt before destructive actions.
  • Best fit for agents working inside Stripe development or support workflows, especially sandbox testing, webhook debugging, and targeted API operations.
Caveats
  • Initial auth is browser-based by default with stripe login, though --api-key and an interactive fallback exist for non-browser setups.
  • Some commands are long-running local development loops or safety-gated mutations, so they need extra orchestration in CI or unattended agent runs.