mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user