#vardan5610
1 messages · Page 1 of 1 (latest)
Hi there!
Yes you can check the balance of your connected account.
Use this endpoint: https://stripe.com/docs/api/balance/balance_retrieve
And make sure to use the Stripe-Account header: https://stripe.com/docs/connect/authentication
Thanks, the second option that we are thinking about now is:
- Charge new amount
- Send manager notification or get event from Stripe that there is lack of money on the balane
Is it possible also?
Earlier you talked about refunds, and now it's about charges. I'm confused.
Can you clarify exactly are you trying to do and what is the issue?
Sure. On the update we have two steps:
- Charge new amount from customer
- Refund previous amount to customer
So, the first option is to check balance of connected account before intiliaze update and if there is not enough money on connected account - hinder the update
The second option is not checking balance on the connected account before the update and if some problems with balance occured - notify manager (via email from stripe or from stripe system)
What do you mean by "on the update"? update of what?
also you mentionned "two steps" and then "two options". Is this the same thing or something different?
Update of reservation
"In two options" I mean that two ways of implementation the update of reservation. Checking balance before the update or after one.
About getting balance before update I see that it's possible.
The second question - is it possible to get error messages from Stripe about the error (via email from stripe or as event from stripe system)
Thanks for clarifying. So what's your quesiton exactly?
The second question - is it possible to get error messages from Stripe about the error (via email from stripe or as event from stripe system)
If you make an API call and there's an error, your code will need to handle that error directly, and we might send you a webhook event depending on the error. However no we don't send any emails for this.