#Naresh Kumar

1 messages · Page 1 of 1 (latest)

sonic cragBOT
digital monolith
#

hello! when you say payout is reversed - do you mean the payout is cancelled, or the payout failed?

safe patio
#

const payout = await stripe.payouts.reverse(
payoutId,
{
stripeAccount
}
);

#

This is the API that I have used

#

Payout is successfull and reached the customer bank account

#

and after that, I am Requesting a Refund

#

using the above API

#

hello! when you say payout is reversed - do you mean the payout is cancelled, or the payout failed?

It is sent to the customer successfully and then reversing the payout

digital monolith
#

looking into this 👀

safe patio
#

Sure please go ahead

digital monolith
#

hmmm, okay, so what will happen is that the payout events will be generated (as per a normal payout) i.e. payout.created, payout.paid, etc, except that it's for a negative amount

safe patio
#

Is there still a possiblity to receive via webhook

dim tiger
#

As stated, we will still generate the related payout*. events yes

safe patio
#

In that case, when we do a reserve payout using the above mentioned API

#

we will get a event webbhook triggered on payouts.reversed

#

Am I correct?

dim tiger
#

There's no payout.reversed event