Stripe CLI Cheat Sheet/Tail logs and filter in your shell

Use jq to watch only error conditions.

Section: Webhooks, Event Testing, and Logs

Tail logs and filter in your shell

bash
bash
stripe logs tail | jq "select(.status >= 400)"

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Webhooks, Event Testing, and Logs
Tail real-time API request logs
Stream API request logs from Stripe to your terminal.
OpenIn sheetbashsame section
Forward webhook events to local development
Listen for Stripe events and forward them to a local endpoint.
OpenIn sheetbashsame section
Forward only selected event types
Filter forwarded events to a focused set of names.
OpenIn sheetbashsame section
Skip TLS verification for local endpoints
Disable HTTPS certificate verification when testing locally.
OpenIn sheetbashsame section
Reuse a registered webhook endpoint config
Load event configuration from a Stripe-registered endpoint and forward locally.
OpenIn sheetbashsame section
Trigger a Checkout completion fixture
Create the object graph for checkout.session.completed testing.
OpenIn sheetbashsame section