feat(router): Return payment_experience in PML for payment (v2) (#8255)

This commit is contained in:
Anurag Thakur
2025-06-05 21:38:58 +05:30
committed by GitHub
parent 4a7c08fbc5
commit 9ce3d73e53
3 changed files with 19 additions and 0 deletions

View File

@ -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>)]