feat(router): Add payment_type to Get Intent response (v2) (#9066)

Co-authored-by: Hrithikesh <61539176+hrithikesh026@users.noreply.github.com>
This commit is contained in:
Anurag Thakur
2025-08-28 11:39:37 +05:30
committed by GitHub
parent 1ff2ed9477
commit 26930a47e9
3 changed files with 28 additions and 1 deletions

View File

@ -654,6 +654,10 @@ pub struct PaymentsIntentResponse {
/// Whether to perform external authentication (if applicable)
#[schema(value_type = External3dsAuthenticationRequest)]
pub request_external_three_ds_authentication: common_enums::External3dsAuthenticationRequest,
/// The type of the payment that differentiates between normal and various types of mandate payments
#[schema(value_type = PaymentType)]
pub payment_type: api_enums::PaymentType,
}
#[cfg(feature = "v2")]