refactor(core): make raw_connector_response as secret (#8565)

Co-authored-by: Aishwariyaa Anand <aishwariyaa.anand@Aishwariyaa-Anand-C3PGW02T6Y.local>
This commit is contained in:
Aishwariyaa Anand
2025-07-16 15:35:11 +05:30
committed by GitHub
parent 30a4a340c3
commit fb33937c21
9 changed files with 34 additions and 21 deletions

View File

@ -5186,7 +5186,8 @@ pub struct PaymentsResponse {
pub is_iframe_redirection_enabled: Option<bool>,
/// Contains whole connector response
pub whole_connector_response: Option<String>,
#[schema(value_type = Option<String>)]
pub whole_connector_response: Option<Secret<String>>,
}
#[cfg(feature = "v2")]
@ -5805,7 +5806,8 @@ pub struct PaymentsResponse {
pub merchant_reference_id: Option<id_type::PaymentReferenceId>,
/// Stringified connector raw response body. Only returned if `return_raw_connector_response` is true
pub raw_connector_response: Option<String>,
#[schema(value_type = Option<String>)]
pub raw_connector_response: Option<Secret<String>>,
}
#[cfg(feature = "v2")]