mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat: add support for merchant to pass public key and ttl for encrypting payload (#4456)
This commit is contained in:
@ -1042,6 +1042,9 @@ pub struct BusinessProfileUpdate {
|
||||
|
||||
/// External 3DS authentication details
|
||||
pub authentication_connector_details: Option<AuthenticationConnectorDetails>,
|
||||
|
||||
/// Merchant's config to support extended card info feature
|
||||
pub extended_card_info_config: Option<ExtendedCardInfoConfig>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize, PartialEq, ToSchema)]
|
||||
@ -1095,3 +1098,9 @@ pub struct ExtendedCardInfoChoice {
|
||||
}
|
||||
|
||||
impl common_utils::events::ApiEventMetric for ExtendedCardInfoChoice {}
|
||||
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
pub struct ExtendedCardInfoConfig {
|
||||
pub public_key: Secret<String>,
|
||||
pub ttl_in_secs: u16,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user