#XTREME
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Hi tarzan I hope you day goes well.
thanks you too ๐
Should we implement it on the client side?
you can't use the ExternalAccount API from the client side since it uses your secret_key which, under no circumstance, should be used in the front-end
you can collect the info on your front-end and pass them to your backend which then creates the account
or you can simply use the Stripe Onboarding if you don't want to reinvent the wheel and code all of this
for security we have to use token base?
The point is that we have a custom onboarding on app that users can add payment method similar to customer.
also the owner want that way to reinvent the wheel ๐ง
I'm sorry I didn't mean to offend
I'm just saying that it's more laborious and some users are not aware of the onboarding process and how they can integrate with it so we suggest it each time
maybe it was a poor choice of words from my end, so again I'm sorry
you said the right things. however, it was so hard to convince the owner to use the stripe onboarding path.
going back to the main topic, you should collect the info on the frontend and send them to the backend where you can use the API
I don't get why u apologize.
I got ur point. so we have to use token API to generate a token and pass it into the server in a secure manner? am I right? pls correct me if i misundestood
the bank account token can only be created on the backend
you need to pass in the information as raw text to your server, then create the bank account token https://stripe.com/docs/api/tokens/create_bank_account
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
then create an external bank account
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so we could not use this api on mobile app to create an token.
https://stripe.dev/stripe-ios/stripe/documentation/stripe/stpapiclient/createsource(with:completion:)-6w1jx
this is only for customers
I see, so we have to find out a secure way to pass this credential to the server-side like RSA cryptography.
Thanks very much, Tarzan for taking the time to respond.
oh sorry my bad
I stand corrected
a colleague pointed out this https://stripe.dev/stripe-ios/stripe/documentation/stripe/stpapiclient/createtoken(withbankaccount:completion:)/
with is basically similar to the one used for customers but rather to create a token for bank accounts
you were on point @slender seal
you welcome