stripe versionUseful when checking compatibility in CI or debugging CLI behavior.
Core Stripe CLI commands for login, auth, help, webhooks, testing, logs, and common resource operations.
Bootstrap the Stripe CLI and inspect available commands.
stripe versionUseful when checking compatibility in CI or debugging CLI behavior.
stripe helpstripe listen --helpstripe loginstripe logoutstripe config --listUse this to verify which profile or account context your CLI commands will use.
stripe customers list --livestripe customers list --api-key sk_test_xxxstripe customers list --profile my-sandboxstripe products create --name="My Product" --stripe-version 2026-02-25.cloverstripe products create --name="My Product" --latestGlobal flags, JSON output, and shell-friendly usage patterns.
stripe customers list --limit 5stripe subscriptions list --expand data.customerstripe customers list --limit 3 | jq ".data[] | {id, email}"stripe payment_intents create --amount 5000 --currency usd --idempotency-key order_123stripe customers create --name "Ada Lovelace" --metadata team=backend --metadata source=clistripe checkout sessions retrieve cs_test_123 --expand payment_intent --expand customerstripe get /v1/customers/cus_123stripe post /v1/customers -d email=ada@example.com -d name="Ada Lovelace"stripe delete /v1/webhook_endpoints/we_123Discover the resource namespace before drilling into subcommands.
stripe customers --helpLocal webhook forwarding, event triggering, and streaming API request logs.
Listen for Stripe events and forward them to a local endpoint.
stripe listen --forward-to localhost:4242/webhooksstripe listen --events payment_intent.created,checkout.session.completed,charge.failed --forward-to localhost:4242/webhooksDisable HTTPS certificate verification when testing locally.
stripe listen --skip-verify --forward-to https://localhost:3000/api/webhooks/stripeLoad event configuration from a Stripe-registered endpoint and forward locally.
stripe listen --load-from-webhooks-api --forward-to localhost:3000Create the object graph for checkout.session.completed testing.
stripe trigger checkout.session.completedstripe trigger payment_intent.succeededstripe trigger checkout --helpstripe logs tailstripe logs tail | jq "select(.status >= 400)"stripe events list --limit 10stripe events retrieve evt_123Create, list, retrieve, update, and delete common Stripe resources from the terminal.
stripe customers create --name "Ada Lovelace" --email ada@example.comstripe customers list --limit 10stripe customers retrieve cus_123stripe customers update cus_123 --email new@example.com --metadata plan=prostripe customers delete cus_123stripe products create --name "Starter Plan" --description "Created with Stripe CLI"stripe prices create --unit-amount 3000 --currency usd --product prod_123stripe prices create --unit-amount 1500 --currency usd --product prod_123 --recurring interval=monthstripe payment_intents create --amount 5000 --currency usdstripe payment_intents confirm pi_123stripe refunds create --payment-intent pi_123stripe checkout sessions create --mode payment --success-url https://example.com/success --cancel-url https://example.com/cancel --line-items price=price_123,quantity=1