CLI Finder / tools / stripe-cli

Webhook テストと決済開発のための Stripe CLI

Stripe Webhook、テストイベント、決済連携のデバッグに使える CLI。

Agent 適合度: 84/100 検証済み発行元 継続的にメンテナンス中
84 /100

Strong for local payment testing when limited to test mode and webhook workflows.

Structured output 86/100

Whether the CLI can return JSON, YAML, or stable machine-readable output.

Non-interactive use 82/100

Whether common workflows can run predictably without an interactive prompt.

Safety boundaries 66/100

Whether read-only, dry-run, scoped auth, and destructive command boundaries are clear.

インストール方法

Homebrew $ brew install stripe/stripe-cli/stripe
Docker $ docker run --rm -it stripe/stripe-cli

よく使うコマンド

Listen for webhooks · 安全 $ stripe listen --forward-to localhost:3000/api/webhooks/stripe

Forwards test webhooks to local development.

Trigger checkout event · 安全 $ stripe trigger checkout.session.completed

Creates a test event for webhook validation.

Create live refund · 破壊的 $ stripe refunds create --charge ch_...

Moves money and must not be agent-autonomous.

Agent 使用例

Claude Code Use Stripe CLI in test mode to trigger webhook events and verify handlers. Never run live refund or cancellation commands without approval.

安全メモ

  • Listen and trigger commands are good for local webhook testing.
  • Commands that create, refund, or cancel live resources must require explicit approval.
  • Use test mode keys for agent-driven development work.

Agent が使えること

Stripe CLI はテストモードで Webhook ハンドラを検証し、決済イベントを再現する用途に向いています。

向いている用途

ローカル決済開発、Webhook 転送、テストイベント、連携スモークチェックに適しています。