mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
feat(router): add proxy-confirm-intent api for payments in v2 flow (#7215)
Co-authored-by: Nishanth Challa <nishanth.challa@Nishanth-Challa-C0WGKCFHLF.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Aprabhat19 <amishaprabhat@gmail.com>
This commit is contained in:
@ -55,6 +55,17 @@ pub enum PayoutConnectors {
|
||||
Wise,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
/// Whether active attempt is to be set/unset
|
||||
#[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize, ToSchema)]
|
||||
pub enum UpdateActiveAttempt {
|
||||
/// Request to set the active attempt id
|
||||
#[schema(value_type = Option<String>)]
|
||||
Set(common_utils::id_type::GlobalAttemptId),
|
||||
/// To unset the active attempt id
|
||||
Unset,
|
||||
}
|
||||
|
||||
#[cfg(feature = "payouts")]
|
||||
impl From<PayoutConnectors> for RoutableConnectors {
|
||||
fn from(value: PayoutConnectors) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user