mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
feat(core): 3ds decision manager for v2 (#7089)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -438,8 +438,9 @@ pub struct PaymentsIntentResponse {
|
||||
#[schema(value_type = CaptureMethod, example = "automatic")]
|
||||
pub capture_method: api_enums::CaptureMethod,
|
||||
|
||||
#[schema(value_type = AuthenticationType, example = "no_three_ds", default = "no_three_ds")]
|
||||
pub authentication_type: api_enums::AuthenticationType,
|
||||
/// The authentication type for the payment
|
||||
#[schema(value_type = Option<AuthenticationType>, example = "no_three_ds")]
|
||||
pub authentication_type: Option<api_enums::AuthenticationType>,
|
||||
|
||||
/// The billing details of the payment. This address will be used for invoicing.
|
||||
#[schema(value_type = Option<Address>)]
|
||||
@ -5270,6 +5271,14 @@ pub struct PaymentsConfirmIntentResponse {
|
||||
|
||||
/// Error details for the payment if any
|
||||
pub error: Option<ErrorDetails>,
|
||||
|
||||
/// The transaction authentication can be set to undergo payer authentication. By default, the authentication will be marked as NO_THREE_DS
|
||||
#[schema(value_type = Option<AuthenticationType>, example = "no_three_ds")]
|
||||
pub authentication_type: Option<api_enums::AuthenticationType>,
|
||||
|
||||
/// The authentication type applied for the payment
|
||||
#[schema(value_type = AuthenticationType, example = "no_three_ds")]
|
||||
pub applied_authentication_type: api_enums::AuthenticationType,
|
||||
}
|
||||
|
||||
/// Token information that can be used to initiate transactions by the merchant.
|
||||
|
||||
Reference in New Issue
Block a user