feat(router): add request_external_three_ds_authentication flag in payment_method_list_response (#4864)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sai Harsha Vardhan
2024-06-04 20:04:39 +05:30
committed by GitHub
parent d413e1a8a5
commit fcf52973f4
3 changed files with 16 additions and 1 deletions

View File

@ -791,6 +791,10 @@ pub struct PaymentMethodListResponse {
#[schema(value_type = Option<PaymentType>)]
pub payment_type: Option<api_enums::PaymentType>,
/// flag to indicate whether to perform external 3ds authentication
#[schema(example = true)]
pub request_external_three_ds_authentication: bool,
}
#[derive(Eq, PartialEq, Hash, Debug, serde::Deserialize, ToSchema)]