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

feat(ucs): pass is_stored_credential flag to connector service (#15112)

Vani Gupta4764ac689818
diff --git a/Cargo.lock b/Cargo.lock
index e919538222..ac883df141 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2236,7 +2236,7 @@ dependencies = [
[[package]]
name = "config_patch_derive"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.29.0#887dd7d798e47176293b67df36db5d1169f157aa"
+source = "git+https://github.com/juspay/connector-service?tag=2026.11.02.2#32f71920cb45a0c9bbfaeb7fdfd129cd56a5cf57"
dependencies = [
"proc-macro2",
"quote",
@@ -4247,7 +4247,7 @@ dependencies = [
[[package]]
name = "grpc-api-types"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.29.0#887dd7d798e47176293b67df36db5d1169f157aa"
+source = "git+https://github.com/juspay/connector-service?tag=2026.11.02.2#32f71920cb45a0c9bbfaeb7fdfd129cd56a5cf57"
dependencies = [
"axum 0.8.4",
"bytes 1.10.1",
@@ -8397,7 +8397,7 @@ dependencies = [
[[package]]
name = "rust-grpc-client"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.29.0#887dd7d798e47176293b67df36db5d1169f157aa"
+source = "git+https://github.com/juspay/connector-service?tag=2026.11.02.2#32f71920cb45a0c9bbfaeb7fdfd129cd56a5cf57"
dependencies = [
"grpc-api-types",
]
@@ -11345,7 +11345,7 @@ checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"
[[package]]
name = "ucs_cards"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.29.0#887dd7d798e47176293b67df36db5d1169f157aa"
+source = "git+https://github.com/juspay/connector-service?tag=2026.11.02.2#32f71920cb45a0c9bbfaeb7fdfd129cd56a5cf57"
dependencies = [
"bytes 1.10.1",
"error-stack 0.4.1",
@@ -11361,7 +11361,7 @@ dependencies = [
[[package]]
name = "ucs_common_enums"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.29.0#887dd7d798e47176293b67df36db5d1169f157aa"
+source = "git+https://github.com/juspay/connector-service?tag=2026.11.02.2#32f71920cb45a0c9bbfaeb7fdfd129cd56a5cf57"
dependencies = [
"serde",
"strum 0.26.3",
@@ -11372,7 +11372,7 @@ dependencies = [
[[package]]
name = "ucs_common_utils"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.29.0#887dd7d798e47176293b67df36db5d1169f157aa"
+source = "git+https://github.com/juspay/connector-service?tag=2026.11.02.2#32f71920cb45a0c9bbfaeb7fdfd129cd56a5cf57"
dependencies = [
"anyhow",
"base64 0.21.7",
diff --git a/crates/external_services/Cargo.toml b/crates/external_services/Cargo.toml
index e5fedbbba7..7d54ef2d64 100644
--- a/crates/external_services/Cargo.toml
+++ b/crates/external_services/Cargo.toml
@@ -87,7 +87,7 @@ http = "1.3.1"
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", tag = "2026.10.29.0", package = "rust-grpc-client" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.11.02.2", package = "rust-grpc-client" }
open-feature = { version = "0.2.5", optional = true }
bytes = { version = "1.10.1", optional = true }
futures = { version = "0.3.31", optional = true }
diff --git a/crates/hyperswitch_interfaces/Cargo.toml b/crates/hyperswitch_interfaces/Cargo.toml
index ed4f9e8983..e262ba917c 100644
--- a/crates/hyperswitch_interfaces/Cargo.toml
+++ b/crates/hyperswitch_interfaces/Cargo.toml
@@ -36,7 +36,7 @@ time = "0.3.41"
tonic = "0.14"
url = { version = "2.5.4", features = ["serde"] }
-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.10.29.0", package = "rust-grpc-client" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.11.02.2", package = "rust-grpc-client" }
tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread"] }
# First party crates
diff --git a/crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs b/crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs
index 60a9ecb687..7982f23c18 100644
--- a/crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs
+++ b/crates/hyperswitch_interfaces/src/unified_connector_service/transformers.rs
@@ -2104,6 +2104,12 @@ impl ForeignTryFrom<payments_grpc::RedirectForm> for RedirectForm {
)
.into(),
),
+ Some(payments_grpc::redirect_form::FormType::QrData(_)) => Err(
+ UnifiedConnectorServiceError::RequestEncodingFailedWithReason(
+ "QrData form type is not implemented".to_string(),
+ )
+ .into(),
+ ),
None => Err(
UnifiedConnectorServiceError::RequestEncodingFailedWithReason(
"Missing form type".to_string(),
diff --git a/crates/router/Cargo.toml b/crates/router/Cargo.toml
index b7a55c208c..a23744c3da 100644
--- a/crates/router/Cargo.toml
+++ b/crates/router/Cargo.toml
@@ -256,8 +256,8 @@ rust_decimal = { version = "1.37.1", features = [
] }
rust-i18n = { git = "https://github.com/kashif-m/rust-i18n", rev = "f2d8096aaaff7a87a847c35a5394c269f75e077a" }
-unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.10.29.0", package = "rust-grpc-client" }
-unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.10.29.0", package = "ucs_cards" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.11.02.2", package = "rust-grpc-client" }
+unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.11.02.2", package = "ucs_cards" }
rustc-hash = "1.1.0"
rustls = { version = "0.23", default-features = false, features = [
"aws-lc-rs",
diff --git a/crates/router/src/core/unified_connector_service/transformers.rs b/crates/router/src/core/unified_connector_service/transformers.rs
index bc17f338ff..3f5b357dec 100644
--- a/crates/router/src/core/unified_connector_service/transformers.rs
+++ b/crates/router/src/core/unified_connector_service/transformers.rs
@@ -993,6 +993,7 @@ impl
complete_authorize_url: router_data.request.complete_authorize_url.clone(),
setup_future_usage: setup_future_usage.map(|s| s.into()),
off_session: router_data.request.off_session,
+ is_stored_credential: router_data.request.is_stored_credential,
customer_acceptance,
order_category: router_data.request.order_category.clone(),
payment_experience: None,
@@ -1282,6 +1283,7 @@ impl
complete_authorize_url: router_data.request.complete_authorize_url.clone(),
setup_future_usage: setup_future_usage.map(|s| s.into()),
off_session: router_data.request.off_session,
+ is_stored_credential: router_data.request.is_stored_credential,
customer_acceptance,
order_category: None,
payment_experience: None,
@@ -2675,6 +2677,7 @@ impl
.transpose()?
.map(|s| s.into()),
off_session: router_data.request.off_session,
+ is_stored_credential: router_data.request.is_stored_credential,
customer_acceptance: router_data
.request
.customer_acceptance
@@ -2875,6 +2878,7 @@ impl
complete_authorize_url: router_data.request.complete_authorize_url.clone(),
setup_future_usage: setup_future_usage.map(|s| s.into()),
off_session: router_data.request.off_session,
+ is_stored_credential: router_data.request.is_stored_credential,
customer_acceptance,
order_category: router_data.request.order_category.clone(),
payment_experience: None,
@@ -3090,6 +3094,7 @@ impl
complete_authorize_url: router_data.request.complete_authorize_url.clone(),
setup_future_usage: setup_future_usage.map(|s| s.into()),
off_session: router_data.request.off_session,
+ is_stored_credential: None,
customer_acceptance,
order_category: router_data.request.order_category.clone(),
payment_experience: None,
@@ -3331,6 +3336,7 @@ impl
.map(|cost| cost.get_amount_as_i64()),
setup_future_usage: setup_future_usage.map(|s| s.into()),
off_session: router_data.request.off_session,
+ is_stored_credential: router_data.request.is_stored_credential,
request_incremental_authorization: router_data
.request
.request_incremental_authorization,