#Alexander_

1 messages ยท Page 1 of 1 (latest)

onyx spearBOT
hidden night
restive beacon
hidden night
#

Ah hmm let me see if there's a better source

hidden night
#

Okay looks like you're right, some portion of it was added retroactively.
Looking at stripe-node sdk, we added PaymentIntent support in 2018
https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#620---2018-06-28

Going back to your original question

Or should I pass the latest version when using this API? Thanks in advance.
Some parameters may only be available in the latest version.
You'd likely see something similar to following screenshot on the API ref

restive beacon
#

that's exactly what's bugging me, I see this message for charges for example

#

but nothing for SetupIntent. For PaymentIntent I have

#

but I never see message like "unsupported for versions below X". Also just got a setup_intent.created webhook on my test account with v2017 in the payload ๐Ÿคทโ€โ™‚๏ธ

#

I wonder if I should use a different version for intents or not

hidden night
#

As far as I know, it shouldn't break anything per se (as long as you don't update the API version)
If there are any breaking changes/unsupported parameters then you'd likely see it on the ref. If there's none, that means the API should work fine with your current API version.

restive beacon
#

yeah I prefer to avoid updating the global version now, so I'm choosing between v2017 for intents vs using the latest for intents and v2017 for everything else (maintaining both)

#

it looks like there's no imminent risk of using v2017 for intents (and may be easier than maintaining two versions)

hidden night
#

Yup, that makes sense.

restive beacon
#

thanks for the support ๐Ÿ™‡โ€โ™‚๏ธ this channel is amazing, keep rocking!