feat(core): add all_keys_required in confirm and psync payload (#7998)

Co-authored-by: Anurag Singh <anurag.singh.001@Anurag-Singh-WPMHJ5619X.local>
Co-authored-by: Anurag Singh <anurag.singh.001@MacBookPro.lan>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Anurag
2025-05-19 18:57:43 +05:30
committed by GitHub
parent d7cc19cacb
commit 071b0732d1
81 changed files with 353 additions and 15 deletions

View File

@ -1164,6 +1164,9 @@ pub struct PaymentsRequest {
/// Indicates if the redirection has to open in the iframe
pub is_iframe_redirection_enabled: Option<bool>,
/// If enabled, provides whole connector response
pub all_keys_required: Option<bool>,
}
#[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize, ToSchema)]
@ -5141,6 +5144,9 @@ pub struct PaymentsResponse {
/// Indicates if the redirection has to open in the iframe
pub is_iframe_redirection_enabled: Option<bool>,
/// Contains whole connector response
pub whole_connector_response: Option<String>,
}
#[cfg(feature = "v2")]
@ -5558,6 +5564,8 @@ pub struct PaymentsRetrieveRequest {
/// These are the query params that are sent in case of redirect response.
/// These can be ingested by the connector to take necessary actions.
pub param: Option<String>,
/// If enabled, provides whole connector response
pub all_keys_required: Option<bool>,
}
/// Error details for the payment
@ -6405,6 +6413,8 @@ pub struct PaymentsRetrieveRequest {
pub expand_captures: Option<bool>,
/// If enabled provides list of attempts linked to payment intent
pub expand_attempts: Option<bool>,
/// If enabled, provides whole connector response
pub all_keys_required: Option<bool>,
}
#[derive(Debug, Default, PartialEq, serde::Deserialize, serde::Serialize, Clone, ToSchema)]
@ -7389,6 +7399,8 @@ pub struct PaymentRetrieveBody {
pub expand_captures: Option<bool>,
/// If enabled provides list of attempts linked to payment intent
pub expand_attempts: Option<bool>,
/// If enabled, provides whole connector response
pub all_keys_required: Option<bool>,
}
#[derive(Default, Debug, serde::Deserialize, serde::Serialize, Clone, ToSchema)]