#sem-ideia_code
1 messages ยท Page 1 of 1 (latest)
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.
- sem-ideia_code, 4 days ago, 16 messages
- sem_account-requirements, 5 days ago, 5 messages
๐ 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/1242548487594446988
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Is this what you're looking for?
https://github.com/stripe/stripe-js/tree/master/types
Oh yeah. It's that, but I can't find one that is related to the stripe account, like for instance, the one that is being returned here:
https://docs.stripe.com/api/accounts/retrieve
So ^^these are types for the frontend code.
These are for the server-side: https://github.com/stripe/stripe-node/tree/master/types
Ohhhh ok. Gotcha. Thanks! Is there a way for us to import that directly from the stripe lib? Or do I need to create one myself?
I'm pretty sure you can import it, they're built in to the library afaik
Do you have the documentation for that? I can't find a way to do so in react
Sorry, I think I'm confused. I don't think you can import server-side types in client-side code?
Are you trying to import Account type in your client-side code? If so, that wont' work
React lib uses Stripe.js underneath. Account type is defined in stripe-node which is server-side.
Hmmm I did not know that. Understood, I believe I need to create it myself then.
Alright, thanks for the help!
NP! ๐ Sorry for the confusion