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(sdk_config): changed merchant_id filter to processor_merchant_id in dimension filter superposition (#13088)

Sahkal Poddarc8921df582b2
diff --git a/crates/router/src/core/superposition_sdk_config.rs b/crates/router/src/core/superposition_sdk_config.rs
index b82f323556..7a13a64fc4 100644
--- a/crates/router/src/core/superposition_sdk_config.rs
+++ b/crates/router/src/core/superposition_sdk_config.rs
@@ -291,7 +291,7 @@ pub async fn get_profile_superposition_sdk_config(
serde_json::Value::String(profile_id.to_string()),
);
dimension_filter.insert(
- "merchant_id".to_string(),
+ "processor_merchant_id".to_string(),
serde_json::Value::String(merchant_account.get_id().get_string_repr().to_string()),
);
dimension_filter.insert(
@@ -389,7 +389,7 @@ pub async fn get_superposition_sdk_config(
serde_json::Value::String(profile_id.get_string_repr().to_string()),
);
dimension_filter.insert(
- "merchant_id".to_string(),
+ "processor_merchant_id".to_string(),
serde_json::Value::String(merchant_account.get_id().get_string_repr().to_string()),
);
dimension_filter.insert(