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