#Arvind hariharan
1 messages · Page 1 of 1 (latest)
Hi there, how can I help?
Hi need some info on Stripe.collectBankAccountForPayment
Ok, what info are you looking for?
Based on this doc - https://stripe.com/docs/financial-connections/balances#retrieve-account-balance
Need a confirmation that the response shown is the response of the Stripe.collectBankAccountForPayment API call right?
No. stripe.collectBankAccountForPayment returns a PaymentIntet. See https://stripe.com/docs/js/payment_intents/collect_bank_account_for_payment
Okay so what is the API for the response mentioned in the doc?
I mean from which API response we get the ID value- "id": "fca_1Jbry3BAjqvGMUSxCDjFsrLU",
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
to pass to the retreive account balance API
"fca_1NDN35A9wKNWChx1rr9DCQP9" this ID value is fetched from which API response?
I've just sent you the API reference, please take a look at the link I shared above.
i checked it trying to understand how will i retreive the account balance based on particluar ID
DO i need to call teh list accounts API first?
👋 taking over for my colleague. Let me catch up.
Okay trying to understand from which API i can get the financialConnections acoount ID to pass it to the retreive account balance
API
Hope u understand my question?
yes you can use https://stripe.com/docs/api/financial_connections/accounts/list to retrieve the list of accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
How will i know which account customer is using to complete the transaction?
there must be an API right once user selects the account which gives the account id in the response
i am looking for that API
and based on that i will retreive the balance for that partciluar account
do you mean after creating the financial account?
yes
sorry my question can be ambiguous I meant directly after or in subsequent cases?
I mean based on this doc
I will create a financial connection session
and then to retreive the account balance they are passing the account ID right
I am looking for an API which gives me back the user selected account in the authentication flow
and i can pass that account id to retreive the balance
hope my question is clear?
In the doc it says "This is an example of the response after you’ve first collected an account."
so what is that API that i need to use to fetch the acocunt id?
have you looked into this https://stripe.com/docs/financial-connections/ach-direct-debit-payments
it's technically all explained in this section https://stripe.com/docs/financial-connections/balances#request-account-balances
you have multiple use-cases
and each case has it's own doc/guide
yes i looked at it and i thought the stripe.collectBankAccountForPayment would give me an accountID in the repsonse.
which is not the case i believe right
?
is your account in the US?
okay this is the attribute which has teh account id right?
"financial_connections_account": "{{FINANCIAL_CONNECTIONS_ACCOUNT_ID}}",
yes
and i can pass this account id to retreive the balance details as mentioned in the https://stripe.com/docs/financial-connections/balances#retrieve-account-balance doc
as far as I know. You can try it in test mode and see!
okay and have one more query
regarding micro deposit verification
we get the next action node in the payment intent response only when we select the manual verification link? Trying to understand it in a real time scenario?
I mean in real world scenario when can we expect the next action node
it happens when it's not possible for the instant verification to succeed
I don't see test numbers that directly simulate it unfortunately. Maybe try each of the test bank accounts at https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API#test-account-numbers and see if any of them trigger it.
Hi! I'm taking over from my colleague. Please, let me know if you have any other questions.