#kieran_2

1 messages · Page 1 of 1 (latest)

clear frigateBOT
hollow dove
#

yeah you should be able to pass the API version like that
https://stripe.com/docs/api/versioning?lang=python

The only thing I'd be concerned about is if you're handling webhook events.
You may need to define specific logic to handle different API versions accordingly

rigid olive
#

yes this works, but is there another way to do it only on the request and not set it to the stripe global object?

hollow dove
#

I don't believe there's another way unfortunately