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