Stripe · tool · fg-0153
stripe listen forwards events in your account's default API version, not the version your code pins
unknown flag: --api-version
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
The listen command can only render events in the account default API version, or the latest one with --latest. The version used for trigger or other API requests does not control how events are formatted.
Fix
Use --latest when your code targets the newest version, or upgrade the account default. For an exact older version, tunnel to a real webhook endpoint created with that api_version.
Apply
stripe listen --latest --forward-to localhost:4242/webhooks
Affects: Stripe CLI, all versions through October 2026; the request for a version flag on listen is still open
Sources
- https://docs.stripe.com/cli/listen
- https://github.com/stripe/stripe-cli/issues/1335
- https://github.com/stripe/stripe-cli/issues/213
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp