feat(core): Create Payout Webhook Flow (#4696)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sakil Mostak
2024-06-05 14:58:42 +05:30
committed by GitHub
parent 32f0fae27d
commit a3183a0c5b
43 changed files with 809 additions and 68 deletions

View File

@ -1069,6 +1069,8 @@ pub enum EventClass {
Refunds,
Disputes,
Mandates,
#[cfg(feature = "payouts")]
Payouts,
}
#[derive(
@ -1107,6 +1109,13 @@ pub enum EventType {
DisputeLost,
MandateActive,
MandateRevoked,
PayoutSuccess,
PayoutFailed,
PayoutInitiated,
PayoutProcessing,
PayoutCancelled,
PayoutExpired,
PayoutReversed,
}
#[derive(
@ -2116,6 +2125,9 @@ pub enum PayoutStatus {
Success,
Failed,
Cancelled,
Initiated,
Expired,
Reversed,
Pending,
Ineligible,
#[default]