mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(router): add webhook source verification support for multiple mca of the same connector (#1897)
This commit is contained in:
committed by
GitHub
parent
29f068b205
commit
3554fec1c1
@ -67,11 +67,13 @@ impl From<IncomingWebhookEvent> for WebhookFlow {
|
||||
|
||||
pub type MerchantWebhookConfig = std::collections::HashSet<IncomingWebhookEvent>;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum RefundIdType {
|
||||
RefundId(String),
|
||||
ConnectorRefundId(String),
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub enum ObjectReferenceId {
|
||||
PaymentId(payments::PaymentIdType),
|
||||
RefundId(RefundIdType),
|
||||
|
||||
Reference in New Issue
Block a user