#lounis_api

1 messages · Page 1 of 1 (latest)

iron larkBOT
#

👋 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/1331713447137902735

📝 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.

mint orchid
#

(Sorry, deleted those -- misread your question!)

#

Yeah so you are correct, account tokens aren't supported yet for the React Native SDK.

#

For now, you'll need to make a direct API request not using the SDK here at all.

#

I'll submit feedback internally that it would be helpful for Account Tokens to be supported on the React Native SDK as well

pastel robin
#

Oh so I can circumvent it? Would you happen to have a link for it?
I dont quite understand the direct api call part
Thanks!

iron larkBOT
mint orchid
#

I don't have a link, you would basically just fetch the Stripe API directly using the endpoint's URL, so for this endpoint it would be: https://api.stripe.com/v1/tokens

#

Then you pass your publishable key in the header and the parameters in the body as necessary.

pastel robin
#

Ok great thanks man!
I’m assuming that creating an external bank account for a user account would be the same way or should I use the stripe sdk for this?
And last question: will fetching the api directly yield the same return? So creating a token would return the token just like it would when calling it from the stripe package in an api?