#vish_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/1432269039652048927
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Could you send me the request ID (req_xxx) where you encountered this error?
one sec
I am trying this via rails console, where can I find the re ID?
where on dashboard
You may refer to this guide to locate request IDs in your Stripe account: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Okay, I don't see any logs for my request on the dashboard
Probably request didn't reach stripe yet because error is undefined method 'accounts' for an instance of Stripe::V2::CoreService
Infact I was trying to create an account account = client.v2.core.accounts.create do you want ID of my company platform account? That would be acct_1Aj37VHdB9qiiLxh
Ah, i did some digging, the reason why you can't call that API is because Accounts v2 hasnt been enabled for your account yet
If you hover over the switch that says "Enable for your live account". you should see
"This preview is not available on this account because you have live customers or connected accounts. If you would like to request access, please contact us."
I see that, yes
Just click on the "... please contact us." and send an email to Stripe support, they should be able to advise you further on this
Ok great, will do. One last question, if we enable this, will v1 get depreceted or can we use both simultaneously?
v1 & v2
hi! I'm taking over this thread.
you can learn more about this here: https://docs.stripe.com/connect/accounts-v2/api#information-for-accounts-v1-users