feat(router): add support for GooglePay pre-decrypted token in the payments confirm call (#8865)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
awasthi21
2025-08-08 17:09:24 +05:30
committed by GitHub
parent be4b43fa83
commit b7f42cbd27
45 changed files with 806 additions and 229 deletions

View File

@ -3911,7 +3911,8 @@ pub struct GooglePayWalletData {
/// The information of the payment method
pub info: GooglePayPaymentMethodInfo,
/// The tokenization data of Google pay
pub tokenization_data: GpayTokenizationData,
#[schema(value_type = GpayTokenizationData)]
pub tokenization_data: common_types::payments::GpayTokenizationData,
}
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
@ -4030,15 +4031,6 @@ pub struct MifinityData {
pub language_preference: Option<String>,
}
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
pub struct GpayTokenizationData {
/// The type of the token
#[serde(rename = "type")]
pub token_type: String,
/// Token generated for the wallet
pub token: String,
}
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
pub struct ApplePayWalletData {
/// The payment data of Apple pay