#JohnTheFrog

1 messages · Page 1 of 1 (latest)

swift mortarBOT
still marten
#

Hi there!

#

What do you mean by "API upgrade"? Do you mean changing your default API version?

tacit ridge
#

Yes, we currently use something like 2019_06 iirc

#

Slowly going to newest version but I wonder if I can test it only on test mode environments

still marten
#

If you upgrade your default API version, it will change for both test mode an live mode.
However what you could do is set the API version directly in your API calls, like shown on the right of this page: https://stripe.com/docs/api/versioning

tacit ridge
#

Ah yes I just saw it on a video. So I guess loading different configuration into stripe SDK per environment should do the trick

#

I am not forced to change the default API version

still marten
#

Exactly!

tacit ridge
#

And I should create a new webhooks that are matching the version I am testing. Got it. Thanks