#speakofthedevo
1 messages · Page 1 of 1 (latest)
Hi 👋
The CLI trigger calls the APIs with specified parameters. You can see the two API calls made for the account.updated event here:
https://github.com/stripe/stripe-cli/blob/master/pkg/fixtures/triggers/account.updated.json
Since you cannot provide the payouts_enabled parameter directly I don't think this is something you can configure the CLI to do
Ah okay understood. Out of curiousity, what's the difference in the two params objects in the link you gave me?
Oh it's saying basically, create an account, and then update that account with these params?
Yup
Got it. Thanks
One thing you might find interesting is you can define your own fixture files
So if you wanted to configure an event to use specific parameters, you could define your own fixture JSON files: https://stripe.com/docs/cli/fixtures