#bcodez
1 messages · Page 1 of 1 (latest)
Can you explain more about what you mean, or share an example? I'm not sure i understand the question
When I submit a payment_intent and confirm the intent using a payment method of a bank account. Does stripe check that the bank account has enough funds before the payment_intent status is set to pending?
I am wondering at what point would I get a fail from the payment intent if there is insufficient funds in the account
No, that would fail async
So if there is insuffiecient funds it would go to pending first then I would get a fail
You can test that flwo with the 2227 test account: https://stripe.com/docs/payments/ach-debit/accept-a-payment?platform=web&ui=API#test-account-numbers
Yes
I saw the financial connections permissions with balance. Would that help there or would I have to check the account myself using a financial connection for the funds?
I believe thats available for you to check if supported
Ok but I would have to initiate that myself correct that isnt something stripe would do when I add the balance permission to the setupIntent like this?
us_bank_account: {
financial_connections: {
permissions: ['payment_method', 'balances']
}
}```
I guess what I am looking for is a way to tell immediately if there is enough funds or not to cover the payment.
Yes, as far as I know there is no automatic balance check when you use it for payments
Alright appreciate your insight!
This doc shows how to request and check that: https://stripe.com/docs/financial-connections/balances#retrieve-account-balance
hmmm that might work a little more heavy lifting on the application side but I think that might be a solution