#Mane
1 messages · Page 1 of 1 (latest)
Can fire if a Payout is reversed, for example: https://stripe.com/docs/connect/payout-reversals#webhooks
Thanks, I see. But for instance if there is not reversal, then for normal lifecycle of paoyout its not being sent or?
Basically what I am asking is, if I get payout.created event, will there be payout.updated event when it turns to "paid" or "failed" - or update is not for that, and I should listen in addition to payout.paid, and payout.failed events?
And payout updated is only for reversals, when it updates original payout with something like canceled most likely
I'm not sure, you'd need to test it. I suspect no as the payout.paid event is sufficient
Mhm, this is what I noticed and wanted to double check. Can I maybe somehow force "update" over stripe dashboard for payout?
I guess you'd just trigger a reversal of a test payout
And what about pending state, and switching from paid to failed as stated in the docs?
"Current status of the payout: paid, pending, in_transit, canceled or failed. A payout is pending until it is submitted to the bank, when it becomes in_transit. The status then changes to paid if the transaction goes through, or to failed or canceled (within 5 business days). Some failed payouts may initially show as paid but then change to failed"
if it was paid, is then payout.failed sent to switch it to the failed?
Yes
and for pending, is it payout that is created, payout.created with status "pending" or something else is how its set to pending? Since I noticed payout.created mostly being "in_transit"
Some Payouts are created ahead of when they're actually sent, which is what the pending status reflects
Aaah i see
i.e. we create the objects ahead of when they're sent in 'batches'
you probably won't see that in test mode
Ok, thank you