feat(payments_v2): add finish redirection endpoint (#6549)

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:
Narayan Bhat
2024-11-15 14:06:48 +05:30
committed by GitHub
parent 0b63efbd42
commit 0805a937b1
29 changed files with 534 additions and 136 deletions

View File

@ -792,6 +792,7 @@ pub mod routes {
.await
}
#[cfg(feature = "v1")]
/// # Panics
///
/// Panics if `json_payload` array does not contain one `GetSdkEventMetricRequest` element.
@ -830,6 +831,7 @@ pub mod routes {
.await
}
#[cfg(feature = "v1")]
/// # Panics
///
/// Panics if `json_payload` array does not contain one `GetActivePaymentsMetricRequest` element.
@ -869,6 +871,7 @@ pub mod routes {
.await
}
#[cfg(feature = "v1")]
/// # Panics
///
/// Panics if `json_payload` array does not contain one `GetAuthEventMetricRequest` element.
@ -1148,6 +1151,7 @@ pub mod routes {
.await
}
#[cfg(feature = "v1")]
pub async fn get_sdk_event_filters(
state: web::Data<AppState>,
req: actix_web::HttpRequest,
@ -1241,6 +1245,7 @@ pub mod routes {
.await
}
#[cfg(feature = "v1")]
pub async fn get_profile_sdk_events(
state: web::Data<AppState>,
req: actix_web::HttpRequest,