#Naresh Kumar
1 messages · Page 1 of 1 (latest)
hello! when you say payout is reversed - do you mean the payout is cancelled, or the payout failed?
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
looking into this 👀
Sure please go ahead
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
Is there still a possiblity to receive via webhook
As stated, we will still generate the related payout*. events yes
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?