#Arvind hariharan
1 messages · Page 1 of 1 (latest)
Hi we were integrating the Stripe ACH in our framework and as recommended by Stripe we are trying to validate the Balance of the users bank account by setting the balances in the permissions attribute while creating payment intent
Based on this below doc-
👋 happy to help
It says we need to use the webhook in order to get the refreshed balance information and stripe emits financial_connections.account.refreshed_balance webhook.
And it is also mentioned that -
Optionally, you can request to prefetch balances, which retrieves balances on account creation. The prefetch parameter saves you from making another API call to retrieve data after account creation and reduces the latency of data retrieval.
So wanted to understand if we go via the prefetch route do we need to have webhook implemented to retreive the balanace details?
or is it something that we can get the latest balance information without getting any refreshed _balance webhook
give me a couple of minutes and will be right there with you
I mean do we need to always use webhooks or do we get the response of the refreshed balance immediately withing few seconds?
it's explained here https://stripe.com/docs/financial-connections/balances#refresh-account-balances
you can either do manual refresh requests, or use the webhooks to get a event notification when that happens
So its not like we need to always use webhooks right
if we call the stripe.financialConnections.accounts.refresh we would get the latest balance
my understanding is correct
?
once you listen to these events you will get all of the related events
regardless of whether you need them or not
it's up for your code to decide what to do with that information
Okay events means via webhook only?
yes that's correct
yes
okay fine