mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(router): Return payment_experience in PML for payment (v2) (#8255)
This commit is contained in:
@ -7605,6 +7605,10 @@ pub struct ResponsePaymentMethodTypesForPayments {
|
||||
#[schema(example = "klarna", value_type = PaymentMethodType)]
|
||||
pub payment_method_subtype: common_enums::PaymentMethodType,
|
||||
|
||||
/// The payment experience for the payment method
|
||||
#[schema(value_type = Option<PaymentExperience>)]
|
||||
pub payment_experience: Option<common_enums::PaymentExperience>,
|
||||
|
||||
/// payment method subtype specific information
|
||||
#[serde(flatten)]
|
||||
#[schema(value_type = Option<PaymentMethodSubtypeSpecificData>)]
|
||||
|
||||
Reference in New Issue
Block a user