#ang3lkar_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1260930063248130149
đ Have more to share? Add details, code, screenshots, videos, etc. below.
hi there!
the link you shared is the correct one. it shows how to request the balance of the user.
How long does that take? Can this be done in a synchronous way?
this is covered here: https://docs.stripe.com/financial-connections/balances#wait-for-the-balance-refresh-to-complete
This is covered indeed, but the flow is synchronous, meaning the customer has to wait for our system to check their balance
how long does it take for the balance refresh to get from 'pending' to 'succeeded'?
this is covered indeed, but the flow is synchronous
correct
how long does it take for the balance refresh to get from 'pending' to 'succeeded'?
I don't know. I'm guessing this depends on the bank.
also there's this:
Set prefetch when you require balance data for every linked account, to make sure you receive it with minimal delay.
https://docs.stripe.com/financial-connections/balances#prefetch-balance-data
how does the prefetch parameter affect the payment intent creation? Stripe prefetches the balance, so does this mean that the payment intent fail in case of insufficient funds?
not very familiar with this. but based on the documentation:
An example of this is if you plan to perform balance checks prior to initiating an ACH payment.
and if there's not enough funds, I'm guessing you can cancel the PaymentIntent.
I recommend doing some tests in test mode to see how this works in practice.
is there a best practice for this? how do stripe integrators usually do that?
also concerning the "depends on the bank part", what's the best case? can Stripe get the balance within 2-3 seconds?
is there a best practice for this? how do stripe integrators usually do that?
best practice for what exactly?
also concerning the "depends on the bank part", what's the best case? can Stripe get the balance within 2-3 seconds?
no idea, sorry. maybe you can try asking Stripe support: https://support.stripe.com/contact