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

fix(ucs): add connector_customer_id to PaymentMethod flow (#11376)

Yashasvi Kapilfc1421294cc9
diff --git a/Cargo.lock b/Cargo.lock
index 914aa68333..f57c614702 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2183,7 +2183,7 @@ dependencies = [
[[package]]
name = "config_patch_derive"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?rev=bb898deefab57b6100ca07754c1427a8035cfe50#bb898deefab57b6100ca07754c1427a8035cfe50"
+source = "git+https://github.com/juspay/connector-service?rev=50bf11c04e0158e6e0b425b22d0695df380b9522#50bf11c04e0158e6e0b425b22d0695df380b9522"
dependencies = [
"proc-macro2",
"quote",
@@ -3854,7 +3854,7 @@ dependencies = [
[[package]]
name = "grpc-api-types"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?rev=bb898deefab57b6100ca07754c1427a8035cfe50#bb898deefab57b6100ca07754c1427a8035cfe50"
+source = "git+https://github.com/juspay/connector-service?rev=50bf11c04e0158e6e0b425b22d0695df380b9522#50bf11c04e0158e6e0b425b22d0695df380b9522"
dependencies = [
"axum 0.8.4",
"error-stack 0.5.0",
@@ -7561,7 +7561,7 @@ dependencies = [
[[package]]
name = "rust-grpc-client"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?rev=bb898deefab57b6100ca07754c1427a8035cfe50#bb898deefab57b6100ca07754c1427a8035cfe50"
+source = "git+https://github.com/juspay/connector-service?rev=50bf11c04e0158e6e0b425b22d0695df380b9522#50bf11c04e0158e6e0b425b22d0695df380b9522"
dependencies = [
"grpc-api-types",
]
@@ -10362,7 +10362,7 @@ checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"
[[package]]
name = "ucs_cards"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?rev=bb898deefab57b6100ca07754c1427a8035cfe50#bb898deefab57b6100ca07754c1427a8035cfe50"
+source = "git+https://github.com/juspay/connector-service?rev=50bf11c04e0158e6e0b425b22d0695df380b9522#50bf11c04e0158e6e0b425b22d0695df380b9522"
dependencies = [
"bytes 1.10.1",
"error-stack 0.4.1",
@@ -10378,7 +10378,7 @@ dependencies = [
[[package]]
name = "ucs_common_enums"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?rev=bb898deefab57b6100ca07754c1427a8035cfe50#bb898deefab57b6100ca07754c1427a8035cfe50"
+source = "git+https://github.com/juspay/connector-service?rev=50bf11c04e0158e6e0b425b22d0695df380b9522#50bf11c04e0158e6e0b425b22d0695df380b9522"
dependencies = [
"serde",
"strum 0.26.3",
@@ -10389,7 +10389,7 @@ dependencies = [
[[package]]
name = "ucs_common_utils"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?rev=bb898deefab57b6100ca07754c1427a8035cfe50#bb898deefab57b6100ca07754c1427a8035cfe50"
+source = "git+https://github.com/juspay/connector-service?rev=50bf11c04e0158e6e0b425b22d0695df380b9522#50bf11c04e0158e6e0b425b22d0695df380b9522"
dependencies = [
"anyhow",
"base64 0.21.7",
diff --git a/crates/external_services/Cargo.toml b/crates/external_services/Cargo.toml
index 288e5bf474..136de79fe2 100644
--- a/crates/external_services/Cargo.toml
+++ b/crates/external_services/Cargo.toml
@@ -69,7 +69,7 @@ reqwest = { version = "0.11.27", features = ["rustls-tls"] }
http = "0.2.12"
url = { version = "2.5.4", features = ["serde"] }
quick-xml = { version = "0.31.0", features = ["serialize"] }
-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", rev = "bb898deefab57b6100ca07754c1427a8035cfe50", package = "rust-grpc-client" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", rev = "50bf11c04e0158e6e0b425b22d0695df380b9522", package = "rust-grpc-client" }
open-feature = { version = "0.2.5", optional = true }
superposition_provider = { version = "0.97.0", optional = true }
diff --git a/crates/hyperswitch_interfaces/Cargo.toml b/crates/hyperswitch_interfaces/Cargo.toml
index 78ab437bc4..86c31beedd 100644
--- a/crates/hyperswitch_interfaces/Cargo.toml
+++ b/crates/hyperswitch_interfaces/Cargo.toml
@@ -30,7 +30,7 @@ strum = { version = "0.26", features = ["derive"] }
thiserror = "1.0.69"
time = "0.3.41"
url = { version = "2.5.4", features = ["serde"] }
-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", rev = "bb898deefab57b6100ca07754c1427a8035cfe50", package = "rust-grpc-client" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", rev = "50bf11c04e0158e6e0b425b22d0695df380b9522", package = "rust-grpc-client" }
unified-connector-service-masking = { git = "https://github.com/juspay/hyperswitch", tag = "2025.11.24.0", package = "masking" }
tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread"] }
diff --git a/crates/router/Cargo.toml b/crates/router/Cargo.toml
index 437213da55..01c88dcf00 100644
--- a/crates/router/Cargo.toml
+++ b/crates/router/Cargo.toml
@@ -90,8 +90,8 @@ reqwest = { version = "0.11.27", features = ["json", "rustls-tls", "gzip", "mult
ring = "0.17.14"
rust_decimal = { version = "1.37.1", features = ["serde-with-float", "serde-with-str"] }
rust-i18n = { git = "https://github.com/kashif-m/rust-i18n", rev = "f2d8096aaaff7a87a847c35a5394c269f75e077a" }
-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", rev = "bb898deefab57b6100ca07754c1427a8035cfe50", package = "rust-grpc-client" }
-unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", rev = "bb898deefab57b6100ca07754c1427a8035cfe50", package = "ucs_cards" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", rev = "50bf11c04e0158e6e0b425b22d0695df380b9522", package = "rust-grpc-client" }
+unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", rev = "50bf11c04e0158e6e0b425b22d0695df380b9522", package = "ucs_cards" }
unified-connector-service-masking = { git = "https://github.com/juspay/hyperswitch", tag = "2025.11.24.0", package = "masking" }
rustc-hash = "1.1.0"
rustls = "0.22"
diff --git a/crates/router/src/core/unified_connector_service/transformers.rs b/crates/router/src/core/unified_connector_service/transformers.rs
index 85ffe2cd84..0d99919dfb 100644
--- a/crates/router/src/core/unified_connector_service/transformers.rs
+++ b/crates/router/src/core/unified_connector_service/transformers.rs
@@ -182,6 +182,7 @@ impl
connector_metadata: None,
return_url: router_data.request.router_return_url.clone(),
test_mode: router_data.test_mode,
+ connector_customer_id: router_data.connector_customer.clone(),
})
}
}