#vardan5610

1 messages · Page 1 of 1 (latest)

grand ingotBOT
patent path
#

Hi there!

#

Yes you can check the balance of your connected account.

spark blade
#

Thanks, the second option that we are thinking about now is:

  1. Charge new amount
  2. Send manager notification or get event from Stripe that there is lack of money on the balane
#

Is it possible also?

patent path
#

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?

spark blade
#

Sure. On the update we have two steps:

  1. Charge new amount from customer
  2. 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)

patent path
#

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?

spark blade
#

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)

patent path
#

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.