#Baby561
1 messages · Page 1 of 1 (latest)
Hi, can you clarify what you mean here?
I need to create a stripe account.
THe code above uses stripes UI.
I dont want to use that UI, I want to use my own ui
Sure, you can collect all of this data from your end and then pre-fill this data, https://stripe.com/docs/api/accounts/create when calling the Account Create API.
thats for saving the bank information right? like account number, routing number,etc
like that stuff
Let's re-start.. you're trying to have your own UI to collect details to then create Connected Accounts with Stripe, is that correct?
yes
actually, im not usre its the connect account. you guys have differene language lol.
i need to save their bank account information so that i can deposit funds, like shown in the picture
does that make sense
So you want to collect bank details for your connected account, and the pass that raw bank account details to Stripe? Is that correct?
yes i think that is correct
For custom accounts, you can do that: https://stripe.com/docs/api/external_account_bank_accounts/create
I dont think that THAT is it because the code snip on the right is asking for a acct number. but maybe I am wrong,
can you show me an example on how to input the following info:
first name, last name, bank or debit, routing number, account number
Here is how you can pass the account holder name https://stripe.com/docs/api/external_account_bank_accounts/create?lang=node#account_create_bank_account-external_account-account_holder_name, routing number, https://stripe.com/docs/api/external_account_bank_accounts/create?lang=node#account_create_bank_account-external_account-routing_number.. You'd want click on the external_account parameter on the document I'm sharing.
got it, thank you.
last question.
where does the "acct_1032D82eZvKYlo2C" come from?
can i skip that parameter?
const bankAccount = await stripe.accounts.createExternalAccount(
'acct_1032D82eZvKYlo2C',
{
external_account: 'btok_1MrUMC2eZvKYlo2CjgEjlLWK',
}
);
You'd need to tie that external bank account to the Stripe Connected account.