mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(router): add card testing check in payments eligibility flow (#9876)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
247bce518f
commit
01cb658696
@ -9352,6 +9352,7 @@ pub struct ClickToPaySessionResponse {
|
||||
pub dpa_client_id: Option<String>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1")]
|
||||
#[derive(Debug, serde::Deserialize, Clone, ToSchema)]
|
||||
pub struct PaymentsEligibilityRequest {
|
||||
/// The identifier for the payment
|
||||
@ -9369,6 +9370,9 @@ pub struct PaymentsEligibilityRequest {
|
||||
pub payment_method_subtype: Option<api_enums::PaymentMethodType>,
|
||||
/// The payment instrument data to be used for the payment
|
||||
pub payment_method_data: PaymentMethodDataRequest,
|
||||
/// The browser information for the payment
|
||||
#[schema(value_type = Option<BrowserInformation>)]
|
||||
pub browser_info: Option<BrowserInformation>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize, Clone, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user