#Chung-Yi-retrieve-balance
1 messages · Page 1 of 1 (latest)
It seems like the doc hasn't been updated for ruby clients, but the ruby gem supports it in recent versions.
This is a bit new to me, but from what I can tell you would have to pass in features as an array that contains "balance"
Does that work?
oh cool! it works for refresh
Stripe::FinancialConnections::Account.refresh('fca_xxx', features: ['balance'])
But retrieve still gives me the same error, with the features param.
Hmmm, interesting. This seems like it might be a bug. I'll raise with the eng team that owns this
I would just watch the changelog on the library you linked. If you want, you can contact support and mention you talked to two-shoes on Discord and I can try and keep you updated if there are changes
Awesome! I'll start from the changelog. Thank you for your help!
oh actually before you leave. one more question:
This beta Financial Connections API is new. Is there an existing API for retrieving linked accounts? I couldn't find it in the documentation.
This beta Financial Connections API is new. Is there an existing API for retrieving linked accounts? I couldn't find it in the documentation.
Not as far as I know, no
You too 👋
Oh I think I might know why. We're on v5.55.0 and calling retrieve ended up calling the other refresh endpoint that requires the features[].
In v6.0.0 the refresh method was renamed to refresh_account to avoid this naming conflicts.
So it should work on v6.0.0.
Ah! Good catch. Were you able to upgrade and get it working?
@lone dome We ran into anther question about requesting account balance for ACH:
We're following the guide to include the financial connections permission when creating a setup intent:
https://stripe.com/docs/payments/ach-debit/set-up-payment?platform=web#web-create-setup-intent
However, when accessing the payment method later, the us_bank_account object still include
linked_account: 'fca_xxx'
rather than including
financial_connections_account: 'fca_xxx'
that's mentioned in the doc (https://stripe.com/docs/payments/ach-debit/set-up-payment?platform=web#access-data-on-a-financial-connections-bank-account).
The object id seems to be correct with fca_xxx but the key is still linked_account.
Can you help us clarify if we're passing things incorrectly? This is the test request id: req_FqAcp3zGjghBUi. Thank you.