mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat(router): add outgoing payment webhooks for v2 (#6613)
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> Co-authored-by: Aishwariyaa Anand <124241367+Aishwariyaa-Anand@users.noreply.github.com> Co-authored-by: Aishwariyaa Anand <aishwariyaa.anand@Aishwariyaa-Anand-C3PGW02T6Y.local>
This commit is contained in:
committed by
GitHub
parent
67f38f864e
commit
aa6ebf8aef
@ -4,6 +4,8 @@ mod incoming;
|
||||
mod incoming_v2;
|
||||
#[cfg(feature = "v1")]
|
||||
mod outgoing;
|
||||
#[cfg(feature = "v2")]
|
||||
mod outgoing_v2;
|
||||
#[cfg(all(feature = "revenue_recovery", feature = "v2"))]
|
||||
pub mod recovery_incoming;
|
||||
pub mod types;
|
||||
@ -11,8 +13,6 @@ pub mod utils;
|
||||
#[cfg(feature = "olap")]
|
||||
pub mod webhook_events;
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
pub(crate) use self::incoming_v2::incoming_webhooks_wrapper;
|
||||
#[cfg(feature = "v1")]
|
||||
pub(crate) use self::{
|
||||
incoming::incoming_webhooks_wrapper,
|
||||
@ -21,5 +21,9 @@ pub(crate) use self::{
|
||||
trigger_webhook_and_raise_event,
|
||||
},
|
||||
};
|
||||
#[cfg(feature = "v2")]
|
||||
pub(crate) use self::{
|
||||
incoming_v2::incoming_webhooks_wrapper, outgoing_v2::create_event_and_trigger_outgoing_webhook,
|
||||
};
|
||||
|
||||
const MERCHANT_ID: &str = "merchant_id";
|
||||
|
||||
Reference in New Issue
Block a user