mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(router): add payment incoming webhooks support for v2 (#6551)
Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
This commit is contained in:
committed by
GitHub
parent
65bf75a75e
commit
8e9c3ec893
@ -60,10 +60,16 @@ pub enum ApiEventsType {
|
||||
PaymentMethodList {
|
||||
payment_id: Option<String>,
|
||||
},
|
||||
#[cfg(feature = "v1")]
|
||||
Webhooks {
|
||||
connector: String,
|
||||
payment_id: Option<id_type::PaymentId>,
|
||||
},
|
||||
#[cfg(feature = "v2")]
|
||||
Webhooks {
|
||||
connector: id_type::MerchantConnectorAccountId,
|
||||
payment_id: Option<id_type::GlobalPaymentId>,
|
||||
},
|
||||
Routing,
|
||||
ResourceListAPI,
|
||||
#[cfg(feature = "v1")]
|
||||
|
||||
Reference in New Issue
Block a user