mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
feat(router): add support for relay refund incoming webhooks (#6974)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -120,6 +120,10 @@ pub enum WebhookResponseTracker {
|
||||
status: common_enums::MandateStatus,
|
||||
},
|
||||
NoEffect,
|
||||
Relay {
|
||||
relay_id: common_utils::id_type::RelayId,
|
||||
status: common_enums::RelayStatus,
|
||||
},
|
||||
}
|
||||
|
||||
impl WebhookResponseTracker {
|
||||
@ -132,6 +136,7 @@ impl WebhookResponseTracker {
|
||||
Self::NoEffect | Self::Mandate { .. } => None,
|
||||
#[cfg(feature = "payouts")]
|
||||
Self::Payout { .. } => None,
|
||||
Self::Relay { .. } => None,
|
||||
}
|
||||
}
|
||||
|
||||
@ -144,6 +149,7 @@ impl WebhookResponseTracker {
|
||||
Self::NoEffect | Self::Mandate { .. } => None,
|
||||
#[cfg(feature = "payouts")]
|
||||
Self::Payout { .. } => None,
|
||||
Self::Relay { .. } => None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user