#NeatFastro-externalacct-connect
1 messages · Page 1 of 1 (latest)
hello, please share
Adding externalAccount requires 3 params 1. country 2. currency 3. accountNumber but an (connect) account in a country like netherlands can add multiple accounts of different currencies and it works fine when the values are 1. nl, 2. eur and 3. an IBAN of NL
if I keep the country NL an try to change the other values then it won't work
sorry that was not clear, can you clarify with more detail?
like what you tried, what you expect to work, what doesn't work, etc
I can't infer given the details above
ok please wait a little...
NeatFastro-externalacct-connect
I was under the impression that when adding an externlAccount the (connected) account's country will be use used for any of the supported currency
because when adding an externalAccount in the stripe hosted connect onboarding we don't always need to specify the country of the external account so the it means that the connected account's country code is used right?
I think I need to take a look at the country spec api, specifically the supported_bank_account_currencies field, but it's a bit confusing at first glance so I would need some help decrypting it.
I will let you know if I have any question in a bit please don't close this thread
Ok so hers's what I got...
Looking at the country_spec object for with id: NL I should be only concerned with these two fields 1. default_currency & 2. supported_bank_account_currencies.eur because the default_currency's value is eur if it was different e.g. aud then I would be concerned with supported_bank_account_currencies.aud right?
But now looking at the stripe hosted onboarding I don't know how they utilised this data
Basically what I want is the connected account should be able to add any an externalAccount for any of the supported currency for his country
Got it, I see. And you're working with Custom connected accounts?
yes
This might be helpful: https://stripe.com/docs/connect/bank-debit-card-payouts
I will check this out in 30 mins please don't close the thread
thanks for waiting. just a bit more moments
When I try to create a token using these params
"bank_account": {
"country": "NL",
"currency": "chf",
"account_number": "CH9300762011623852957"
}
then stripe nodejs sdk returns a response:
StripeInvalidRequestError: You must use a test bank account number in test mode. Try NL39RABO0300065264 or see more options at https://stripe.com/docs/connect/testing#account-numbers
Can you tell me what am i doing wrong here?