#overture8
1 messages · Page 1 of 1 (latest)
Hi
we specify the API version in the Stripe-Version header
Yes you can specify the API version with the ruby SDK:
https://stripe.com/docs/api/versioning?lang=ruby
But in general in order to upgrade your API version, I invite you to check this guide:
https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api
Thanks. We plan to update the API version too. However, as first step - we just want to get the Ruby lib up to the latest version. So I just wanted to make sure that we could do that first even though we're on the old API version?
Yes that's should work with Ruby as it's not a strongly typed prog language. But you need to make sure doing tests before rolloing to production
I see in that intial document that you linked to it says:
As of stripe-ruby v9, requests that you send using stripe-ruby are fixed to the API version that was the latest at the time your version of stripe-ruby was released.
Does this mean we'd be better just upgradeing to version 8 until we have the API version up to the latest?
That if you don't specify a version, but in ruby you can still specify the version
I invite you to make some tests
Great - thank you for your help.