#marovargovcik

1 messages · Page 1 of 1 (latest)

fallow plinthBOT
peak viper
#

hi! seems normal, a Token is just a container for the information, it's not checked until you actually use the token for something like submitting it to the Account Create/Update APIs.

#

to answer your 2) question I'd recommend not doing this at all and instead using Express or our hosted Connect Onboarding pages and redirecting the user there instead of building your own forms

cobalt latch
#

Unfortunately I am working on an existing product where we, for now, have our own forms so I cannot really do that.

To provide more context, I am building an "onboarding" tool that consist of multiple steps and setting up Stripe account is part of the process. We collect all information and then submit it all at once. That's why it would be nice to have a validation before proceeding to next step so the "validation" error is displayed in the right context.

I thought tokens are the way to go since there is validation, just not all fields are validated.

Is there any "validation" API endpoint? I ideally don't want to create/update anything at that point. In ideal scenario, all data would be submitted at the end of the onboarding flow.

peak viper
#

there's no endpoint like that no, beyond just submitting the information to the Account Create/Update endpoints

#

generally if you're using this type of Custom onboarding we mostly expect you to build your own validation on the frontend(we only invest in providing frontend validation for our recommended hosted onboardings), which I know is quite difficult unfortuantely