mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(events): add incoming webhook payload to api events logger (#2852)
Co-authored-by: Sampras lopes <lsampras@pm.me>
This commit is contained in:
@ -54,6 +54,9 @@ pub enum AuthenticationType {
|
||||
PublishableKey {
|
||||
merchant_id: String,
|
||||
},
|
||||
WebhookAuth {
|
||||
merchant_id: String,
|
||||
},
|
||||
NoAuth,
|
||||
}
|
||||
|
||||
@ -69,7 +72,8 @@ impl AuthenticationType {
|
||||
| Self::MerchantJWT {
|
||||
merchant_id,
|
||||
user_id: _,
|
||||
} => Some(merchant_id.as_ref()),
|
||||
}
|
||||
| Self::WebhookAuth { merchant_id } => Some(merchant_id.as_ref()),
|
||||
Self::AdminApiKey | Self::NoAuth => None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user