mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(router): add support for googlepay step up flow (#2744)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Prasunna Soppa <prasunna.soppa@juspay.in> Co-authored-by: Prasunna Soppa <70575890+prasunna09@users.noreply.github.com> Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -2601,6 +2601,17 @@ pub struct GooglePayPaymentMethodInfo {
|
||||
pub card_network: String,
|
||||
/// The details of the card
|
||||
pub card_details: String,
|
||||
//assurance_details of the card
|
||||
pub assurance_details: Option<GooglePayAssuranceDetails>,
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
pub struct GooglePayAssuranceDetails {
|
||||
///indicates that Cardholder possession validation has been performed
|
||||
pub card_holder_authenticated: bool,
|
||||
/// indicates that identification and verifications (ID&V) was performed
|
||||
pub account_verified: bool,
|
||||
}
|
||||
|
||||
#[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]
|
||||
@ -4098,6 +4109,8 @@ pub struct GpayAllowedMethodsParameters {
|
||||
/// Billing address parameters
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub billing_address_parameters: Option<GpayBillingAddressParameters>,
|
||||
/// Whether assurance details are required
|
||||
pub assurance_details_required: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Eq, PartialEq, serde::Serialize, serde::Deserialize, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user