#Caio-Cruz-express
1 messages · Page 1 of 1 (latest)
Hello! Do you just need to save the account ID In your own database? That would be something entirely up to you, which is why we don't provide any documentation on it
I need to save the account id of the express account. Is there a procedure to do this?
Are you asking how to get the Account Id so that you can then save it, or are you asking how to actually do the saving?'
Sorry, my English is not fluent. I will try to explain what I need. I am integrating account express into my system, the user registers and then is redirected to my page, I need the account_id of the account that the user created to make SPLIT payments.
then, to make this payment split, I need the account_id saved in my database.
Ahhh gotcha! And how do you onboard these express account? Are you creating the Account in the API and then directing them to the account link, or are you using the oauth flow?
I am using the endpoint stripe.accountLinks.create and returning the link
and after the user registers the express account, I want to save the account_id of this account.
I see - so if you don't want to save the account ID until after they've provided all the information you can listen for the account.updated event and check details_submitted to see if you should save the account ID in your database
now I understand, thank you very much.