#maks_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1445754097805426698
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- maks_code, 2 hours ago, 5 messages
Here is a screenshot from my codebase. I'm using Effect-TS.
Here i can see in my node_modules that I indeed use the right version..
๐
What guide are you following ?
Why you need to use a preview version? what feature are you looking for. ?
Accounts V2
What Stripe SDK are you using ?
I was just following the guide...
i dont specifically need a preview one..
Node JS Sdk
You should follow this guide in order to include the preview sdk
https://github.com/stripe/stripe-node?tab=readme-ov-file#public-preview-sdks
20.0.0 and 20.1.0-beta.1
tested both of these. None of them have Accounts V2
If you have included the right module then it's probably an issue with your ID/complier that isn't recognizing the module. You need to fix it or use @ts-ignore
I need to use 20.1.0-beta.1 correct?
Yes accounts v2 are in preview, but it depends what guide are you following (the guide you shared is just about including a preview and not what feature exactly you are looking for)
okay, i made it work! Thanks!
Will Accounts V2 always be in beta versions?
Do you know the planned release date or if this Accounts V2 is stable
No it will be GA soon I think
Nope honestly
do you have api docs for accounts v2?
And here how you can migrate to/from v2
https://docs.stripe.com/connect/accounts-v2/migrate
Is there a way to grab customer Id from accounts V2?
Since accounts now handle customers too..
Or can Account ID be now used as customer ID?
yes they're interchangeable
Would there be a conflict if I used V2 only for account and V1 for the rest of the calls?
hmm, I think they're interoperable: https://docs.stripe.com/connect/accounts-v2/api#reference-accounts-v2-objects-in-v1-requests