#Swann - CLI webhook even versions
1 messages · Page 1 of 1 (latest)
According to the docs: The listen command can receive events based on a specific API version but I can't figure out which combinations of parameters to use : (
There's only --use-configured-webhooks and --latest
--use-configured-webhooks ends up using a really old version that's set to default in our stripe dashboard (I can't change this)
--version is a global flag: https://stripe.com/docs/cli/flags#flags-version
Here's the full command I'm using stripe listen --project-name=foo --version 2020-03-02 --forward-to localhost:8080
Is there a value I can set in the config maybe? $HOME/.config/stripe/config.toml
I think the docs are misleading here, in that it currently works with your account default version by default (or any account version) or the latest version
I'll file that internally to get it improved, it was misleading to me too
sorry about that
No worries! Thanks for looking into it I thought I was going crazy lol
Last question
How can I leverage the --use-configured-webhooks to help me get a specific version?
When I pass this flag the cli isn't using any of the versions configured in any of the webhooks in the dashboard