refactor(router): refactor ctp flow to fetch mca_id and get the connector creds instead of connector_name (#6859)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Sai Harsha Vardhan <56996463+sai-harsha-vardhan@users.noreply.github.com>
This commit is contained in:
Sahkal Poddar
2025-01-20 17:32:05 +05:30
committed by GitHub
parent 062e1d1757
commit e9fcfc4560
16 changed files with 242 additions and 152 deletions

View File

@ -3591,12 +3591,33 @@ pub enum StripeChargeType {
Destination,
}
/// Authentication Products
#[derive(
Clone,
Copy,
Debug,
Eq,
Hash,
PartialEq,
serde::Serialize,
serde::Deserialize,
strum::Display,
strum::EnumString,
ToSchema,
)]
#[serde(rename_all = "snake_case")]
#[strum(serialize_all = "snake_case")]
pub enum AuthenticationProduct {
ClickToPay,
}
/// Connector Access Method
#[derive(
Clone,
Copy,
Debug,
Eq,
Hash,
PartialEq,
serde::Deserialize,
serde::Serialize,