Set a Stripe API version
Follow these guidelines to target a different API version than your SDKs use.
Your account has a default API version, which defines how you call the API, what functionality you have access to, and what you’re guaranteed to get back as part of the response. However, when using our server-side SDKs, your API calls to Stripe use the API version that was current when the SDK was released. You can’t target a different version when using a strongly typed language such as Java, Go, or .NET.
To set an API version when using curl or Stripe CLI instead of an SDK, refer to our versioning page.
Upgrading your API version
Before upgrading your API version, carefully review the following resources:
You can upgrade your account’s default API version in Workbench. Update your code to use the latest version of the SDK and set the new API version when making your calls.
See also
Stripe SDKs follow their own versioning policy. See the link below to learn more.