feat(core): added payment method type in uas for modular auth and payments api (#9852)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sahkal Poddar
2025-10-16 18:44:07 +05:30
committed by GitHub
parent 6c4084e65d
commit 0fe4f230c1
7 changed files with 27 additions and 4 deletions

View File

@ -171,6 +171,10 @@ pub struct AuthenticationEligibilityRequest {
#[schema(value_type = PaymentMethod)]
pub payment_method: common_enums::PaymentMethod,
/// Can be used to specify the Payment Method Type
#[schema(value_type = Option<PaymentMethodType>, example = "debit")]
pub payment_method_type: Option<enums::PaymentMethodType>,
/// Optional secret value used to identify and authorize the client making the request.
/// This can help ensure that the payment session is secure and valid.
#[schema(value_type = Option<String>)]