#zohaob
1 messages · Page 1 of 1 (latest)
?
Hi, this product is in Beta so we are limited about how much we can say. But have you tried looking at these docs:
https://stripe.com/docs/financial-connections/balances
Please respond in this thread
Error this : TypeError: Cannot read properties of undefined (reading 'financialAccounts')
quoting here fo context
Can you look at the docs I shared and let me know where you see a problem?
@thin herald
yes
Can you share the API request ID when you are attempting to create a Financial Account?
i am ubale to creating stripe financial account using same things
Can you share the request ID?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
const financialAccount = await stripe.treasury.financialAccounts.create(
{
supported_currencies: ['usd'],
features: {
card_issuing: {requested: true},
deposit_insurance: {requested: true},
financial_addresses: {aba: {requested: true}},
inbound_transfers: {ach: {requested: true}},
intra_stripe_flows: {requested: true},
outbound_payments: {ach: {requested: true}, us_domestic_wire: {requested: true}},
outbound_transfers: {ach: {requested: true}, us_domestic_wire: {requested: true}},
},
},
{stripeAccount: '{{CONNECTED_ACCOUNT_ID}}'}
);
m using same payload with stripe coonect account id
Okay. But could you share the request ID?
how can i share request id where its appear?
I linked you to an FAQ for that: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Okay so that is an issue with client library. What version of of Stripe are you using?
"stripe": "^8.170.0",
And that's Node.Js, right?
yes
That version is pretty old and likely does not include Financial Accounts. The current version is 10.13.0
should i use this version now?
Well you should always be careful and test when upgrading any library but I think if you test out using the current version you should be able to create the Financial Account record.
which one version 10 or 8
You need to use version 10 (because FinancialAccount support wasn't added until 9.2.0 of the stripe-node library https://github.com/stripe/stripe-node/blob/v10.6.0-beta.1/CHANGELOG.md#920---2022-05-19)