Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

refactor(connector): [Iatapay] Mask PII data (#3850)

AkshayaFoigerbd7accb2c250
diff --git a/crates/router/src/connector/iatapay/transformers.rs b/crates/router/src/connector/iatapay/transformers.rs
index 55778af882..b250766139 100644
--- a/crates/router/src/connector/iatapay/transformers.rs
+++ b/crates/router/src/connector/iatapay/transformers.rs
@@ -261,7 +261,7 @@ pub struct IatapayPaymentsResponse {
pub status: IatapayPaymentStatus,
pub iata_payment_id: Option<String>,
pub iata_refund_id: Option<String>,
- pub merchant_id: Option<String>,
+ pub merchant_id: Option<Secret<String>>,
pub merchant_payment_id: Option<String>,
pub amount: f64,
pub currency: String,
@@ -428,7 +428,7 @@ pub struct RefundResponse {
iata_payment_id: Option<String>,
merchant_payment_id: Option<String>,
payment_amount: Option<f64>,
- merchant_id: Option<String>,
+ merchant_id: Option<Secret<String>>,
account_country: Option<String>,
}