Stripe · tool · fg-0153

stripe listen forwards events in your account's default API version, not the version your code pins

If you see unknown flag: --api-version, the cause and the fix for Stripe are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
unknown flag: --api-versionLocal webhook payloads differ in shape from what the production endpoint receivesPassing --stripe-version to stripe trigger does not change the forwarded event
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
Affected
Stripe CLI, all versions through October 2026; the request for a version flag on listen is still open
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun