#marish25

1 messages · Page 1 of 1 (latest)

teal irisBOT
quiet sphinx
#

Hi 👋 when making requests to our API the default API version of your Stripe account will be used unless otherwise overridden.

Due to the nature of strongly typed languages like .net, our libraries for those languages are pinned to specific API versions so the Stripe data can be cast into objects without issue. So it is expected for the .net library you're using to be pinned to a specific API version and always make requests using that version.

iron canyon
#

But our angular solution is hitting to default version , dot net is hitting to latest version

quiet sphinx
#

That sounds expected. What version of our dotnet SDK are you using?

iron canyon
#

<PackageReference Include="Stripe.net" Version="41.18.0" />

#

and our angular package is "@stripe/stripe-js": "^1.54.0",

quiet sphinx
#

That all seems expected, that is a newer version of our dotnet library so it is expected for that SDK to be pinned to a newer API version. Stripe JS though is not strongly typed, so it is not pinned to a specific API version and will use the default for your account unless overridden. What is your desired outcome?

iron canyon
#

how to set default api verion in stripe account

quiet sphinx
iron canyon
#

I need both the solutions to hit the same version i.e latest version not default version

quiet sphinx