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(payouts): enable external vault proxy execution via UCS (#14690)

Sakil Mostak619c18d64b4f
diff --git a/Cargo.lock b/Cargo.lock
index 9130fecf54..6fa102e400 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2289,7 +2289,7 @@ dependencies = [
[[package]]
name = "config_patch_derive"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.07.2#c9c0727d99ada0f0eda057f3d8a6f16719a43bbc"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.08.0#98b20b6634fce7ef6a5a6462344c47cc79a35569"
dependencies = [
"proc-macro2",
"quote",
@@ -4269,7 +4269,7 @@ checksum = "32619942b8be646939eaf3db0602b39f5229b74575b67efc897811ded1db4e57"
[[package]]
name = "grpc-api-types"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.07.2#c9c0727d99ada0f0eda057f3d8a6f16719a43bbc"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.08.0#98b20b6634fce7ef6a5a6462344c47cc79a35569"
dependencies = [
"axum 0.8.4",
"bytes 1.10.1",
@@ -8627,7 +8627,7 @@ dependencies = [
[[package]]
name = "rust-grpc-client"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.07.2#c9c0727d99ada0f0eda057f3d8a6f16719a43bbc"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.08.0#98b20b6634fce7ef6a5a6462344c47cc79a35569"
dependencies = [
"grpc-api-types",
]
@@ -11517,7 +11517,7 @@ checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"
[[package]]
name = "ucs_cards"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.07.2#c9c0727d99ada0f0eda057f3d8a6f16719a43bbc"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.08.0#98b20b6634fce7ef6a5a6462344c47cc79a35569"
dependencies = [
"bytes 1.10.1",
"error-stack 0.4.1",
@@ -11533,7 +11533,7 @@ dependencies = [
[[package]]
name = "ucs_common_enums"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.07.2#c9c0727d99ada0f0eda057f3d8a6f16719a43bbc"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.08.0#98b20b6634fce7ef6a5a6462344c47cc79a35569"
dependencies = [
"serde",
"strum 0.26.3",
@@ -11544,7 +11544,7 @@ dependencies = [
[[package]]
name = "ucs_common_utils"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.10.07.2#c9c0727d99ada0f0eda057f3d8a6f16719a43bbc"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.08.0#98b20b6634fce7ef6a5a6462344c47cc79a35569"
dependencies = [
"anyhow",
"base64 0.21.7",
diff --git a/crates/external_services/Cargo.toml b/crates/external_services/Cargo.toml
index bd7faba7ee..21b8bb4630 100644
--- a/crates/external_services/Cargo.toml
+++ b/crates/external_services/Cargo.toml
@@ -95,7 +95,7 @@ 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", tag = "2026.10.07.2", package = "rust-grpc-client" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.10.08.0", package = "rust-grpc-client" }
open-feature = { version = "0.2.5", optional = true }
bytes = { version = "1.10.1", optional = true }
superposition_provider = { version = "0.115.5", optional = true }
diff --git a/crates/hyperswitch_interfaces/Cargo.toml b/crates/hyperswitch_interfaces/Cargo.toml
index 4b10b5a45a..1dc6f21b36 100644
--- a/crates/hyperswitch_interfaces/Cargo.toml
+++ b/crates/hyperswitch_interfaces/Cargo.toml
@@ -35,7 +35,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.07.2", package = "rust-grpc-client" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.10.08.0", package = "rust-grpc-client" }
tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread"] }
# First party crates
diff --git a/crates/router/Cargo.toml b/crates/router/Cargo.toml
index bb6fdb25a5..c38f2d4313 100644
--- a/crates/router/Cargo.toml
+++ b/crates/router/Cargo.toml
@@ -246,8 +246,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.07.2", package = "rust-grpc-client" }
-unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.10.07.2", package = "ucs_cards" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.10.08.0", package = "rust-grpc-client" }
+unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.10.08.0", 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/payouts/proxy.rs b/crates/router/src/core/payouts/proxy.rs
index bf3a448434..2e882f44b6 100644
--- a/crates/router/src/core/payouts/proxy.rs
+++ b/crates/router/src/core/payouts/proxy.rs
@@ -293,13 +293,7 @@ impl ExternalVaultPayout<'_> {
None => Err(report!(errors::ApiErrorResponse::InternalServerError)
.attach_printable("Unified Connector Service is unavailable for proxy payouts")),
Some(_) => Ok(()),
- }?;
- // Client availability does not enable the pending CardProxyPayout contract.
- Err(report!(errors::ApiErrorResponse::NotImplemented {
- message: errors::NotImplementedMessage::Reason(
- "external vault proxy payouts require the UCS CardProxyPayout contract".to_owned(),
- ),
- }))
+ }
}
fn validate_proxy_runtime(&self, payout_data: &PayoutData) -> RouterResult<()> {
@@ -474,7 +468,7 @@ impl ExternalVaultPayout<'_> {
"External vault connector account is disabled or incompatible with the provider profile",
)?;
match VaultConnectors::try_from(external_vault_mca.connector_name.clone()) {
- Ok(VaultConnectors::HyperswitchVault | VaultConnectors::Vgs) => {
+ Ok(VaultConnectors::HyperswitchVault) => {
Ok(PayoutExecutionContext::ExternalVaultProxy {
external_vault_mca: helpers::MerchantConnectorAccountType::DbVal(Box::new(
external_vault_mca,
diff --git a/crates/router/src/core/unified_connector_service/transformers.rs b/crates/router/src/core/unified_connector_service/transformers.rs
index 2b6d2c3544..860307988a 100644
--- a/crates/router/src/core/unified_connector_service/transformers.rs
+++ b/crates/router/src/core/unified_connector_service/transformers.rs
@@ -20,6 +20,8 @@ use common_utils::{
use diesel_models::{enums as storage_enums, types::OrderDetailsWithAmount};
use error_stack::{report, ResultExt};
use external_services::grpc_client::unified_connector_service::UnifiedConnectorServiceError;
+#[cfg(feature = "payouts")]
+use hyperswitch_domain_models::payouts::proxy;
use hyperswitch_domain_models::{
mandates,
mandates::{MandateData, MandateDataType},
@@ -9033,9 +9035,8 @@ fn payout_method_for_ucs<F>(
.attach_printable(
"Normal payout method data and external vault tokens are mutually exclusive",
)),
- // CardProxyPayout support must be pinned before encoding opaque vault tokens.
- (Some(_), None) => Err(report!(UnifiedConnectorServiceError::NotImplemented(
- "External vault proxy payouts require the UCS CardProxyPayout contract".to_owned(),
+ (Some(external_vault_pmd), None) => Ok(Some(payments_grpc::PayoutMethod::foreign_from(
+ external_vault_pmd,
))),
(None, Some(payout_method_data)) => {
transformers::ForeignTryFrom::foreign_try_from(payout_method_data).map(Some)
@@ -9712,6 +9713,33 @@ impl_ucs_payout_response_transformation!(
merchant_payout_id
);
+#[cfg(feature = "payouts")]
+impl ForeignFrom<&proxy::ExternalVaultPayoutMethodData> for payments_grpc::PayoutMethod {
+ fn foreign_from(item: &proxy::ExternalVaultPayoutMethodData) -> Self {
+ let payout_method_data = match item {
+ proxy::ExternalVaultPayoutMethodData::Card(card) => {
+ payments_grpc::payout_method::PayoutMethodData::CardProxy(
+ payments_grpc::CardProxyPayout {
+ card_number: Some(card.card_number.clone()),
+ card_exp_month: Some(card.expiry_month.clone()),
+ card_exp_year: Some(card.expiry_year.clone()),
+ card_holder_name: card.card_holder_name.clone(),
+ card_network: card
+ .card_network
+ .clone()
+ .map(payments_grpc::CardNetwork::foreign_from)
+ .map(i32::from),
+ },
+ )
+ }
+ };
+
+ Self {
+ payout_method_data: Some(payout_method_data),
+ }
+ }
+}
+
#[cfg(feature = "payouts")]
impl transformers::ForeignTryFrom<&api_models::payouts::PayoutMethodData>
for payments_grpc::PayoutMethod