#putte

1 messages · Page 1 of 1 (latest)

orchid pastureBOT
soft prairie
#

hello! you'll probably want to take a look at this guide : https://stripe.com/docs/connect/payouts-bank-accounts

If you want to manually create and attach a bank account to a custom account, you'll want to use this API : https://stripe.com/docs/api/external_account_bank_accounts/create

e.g.

  const bankAccount = await stripe.accounts.createExternalAccount(
    'acct_...',
    {
      external_account: {
        object:'bank_account',
        country : 'US',
        currency : 'USD',
        routing_number: '110000000',
        account_number : '000123456789',
      },
    }
  );

you can find test bank account numbers that you can use here : https://stripe.com/docs/connect/testing#account-numbers

silver hamlet
#

Alright thanks! When I make the transfer, I still refer to the account id and not the externalAccount id I guess?

#

Is there a way to attach card details there instead of bank number?

soft prairie
silver hamlet
#

Is there a way to attach card details there instead of bank number?

soft prairie
#

it's possible yes, let me test something before getting back to you

silver hamlet
#

Thanks Alex

soft prairie