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(connector): Fix TrueLayer payout mappings and forward billing descriptor to UCS (#14535)

Vani Gupta751d7f84a275
diff --git a/Cargo.lock b/Cargo.lock
index e936dbe9a7..1a74ca8aae 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2288,7 +2288,7 @@ dependencies = [
[[package]]
name = "config_patch_derive"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.09.30.2#a5b71cd95d6dd6561a7e60bc28a67e88d9b926eb"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.05.1#47779fa042ba25c6dcab8f4d2aa796b1434e4d9e"
dependencies = [
"proc-macro2",
"quote",
@@ -4267,7 +4267,7 @@ checksum = "32619942b8be646939eaf3db0602b39f5229b74575b67efc897811ded1db4e57"
[[package]]
name = "grpc-api-types"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.09.30.2#a5b71cd95d6dd6561a7e60bc28a67e88d9b926eb"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.05.1#47779fa042ba25c6dcab8f4d2aa796b1434e4d9e"
dependencies = [
"axum 0.8.4",
"bytes 1.10.1",
@@ -8599,7 +8599,7 @@ dependencies = [
[[package]]
name = "rust-grpc-client"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.09.30.2#a5b71cd95d6dd6561a7e60bc28a67e88d9b926eb"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.05.1#47779fa042ba25c6dcab8f4d2aa796b1434e4d9e"
dependencies = [
"grpc-api-types",
]
@@ -11489,7 +11489,7 @@ checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"
[[package]]
name = "ucs_cards"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.09.30.2#a5b71cd95d6dd6561a7e60bc28a67e88d9b926eb"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.05.1#47779fa042ba25c6dcab8f4d2aa796b1434e4d9e"
dependencies = [
"bytes 1.10.1",
"error-stack 0.4.1",
@@ -11505,7 +11505,7 @@ dependencies = [
[[package]]
name = "ucs_common_enums"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.09.30.2#a5b71cd95d6dd6561a7e60bc28a67e88d9b926eb"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.05.1#47779fa042ba25c6dcab8f4d2aa796b1434e4d9e"
dependencies = [
"serde",
"strum 0.26.3",
@@ -11516,7 +11516,7 @@ dependencies = [
[[package]]
name = "ucs_common_utils"
version = "0.1.0"
-source = "git+https://github.com/juspay/connector-service?tag=2026.09.30.2#a5b71cd95d6dd6561a7e60bc28a67e88d9b926eb"
+source = "git+https://github.com/juspay/connector-service?tag=2026.10.05.1#47779fa042ba25c6dcab8f4d2aa796b1434e4d9e"
dependencies = [
"anyhow",
"base64 0.21.7",
diff --git a/config/config.example.toml b/config/config.example.toml
index 0241f83ca9..41f3a63759 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -1550,7 +1550,7 @@ request_timeout = 35 # Per-RPC Request Timeout in Seconds
keep_alive_interval = 30 # HTTP/2 PING keepalive interval in Seconds on the shared channel
keep_alive_timeout = 20 # Time in Seconds to wait for a keepalive PING acknowledgement before the connection is treated as dead
tcp_keepalive = 60 # TCP keepalive idle time in Seconds on the shared channel
-ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, dlocal, barclaycard, tsys_transit, jpmorgan, datatrans, givepayments, tesouro, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4" # Comma-separated list of connectors that use UCS only
+ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, dlocal, barclaycard, tsys_transit, jpmorgan, datatrans, givepayments, tesouro, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4, truelayer" # Comma-separated list of connectors that use UCS only
ucs_psync_disabled_connectors = "cashtocode, trustly" # Comma-separated list of connectors to disable UCS PSync call
[grpc_client.recovery_decider_client] # Revenue recovery client base url
diff --git a/config/deployments/env_specific.toml b/config/deployments/env_specific.toml
index 79b993298a..6e099088e3 100644
--- a/config/deployments/env_specific.toml
+++ b/config/deployments/env_specific.toml
@@ -480,7 +480,7 @@ request_timeout = 35 # Per-RPC Request Timeout in Seconds
keep_alive_interval = 30 # HTTP/2 PING keepalive interval in Seconds on the shared channel
keep_alive_timeout = 20 # Time in Seconds to wait for a keepalive PING acknowledgement before the connection is treated as dead
tcp_keepalive = 60 # TCP keepalive idle time in Seconds on the shared channel
-ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, jpmorgan, datatrans, tsys_transit, givepayments, tesouro, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4" # Comma-separated list of connectors that use UCS only
+ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, jpmorgan, datatrans, tsys_transit, givepayments, tesouro, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4, truelayer" # Comma-separated list of connectors that use UCS only
ucs_psync_disabled_connectors = "cashtocode, trustly" # Comma-separated list of connectors to disable UCS PSync call
[revenue_recovery]
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index 8cb162efc1..3e04b47126 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -1079,7 +1079,7 @@ connector_list = "juspaythreedsserver, ctp_mastercard, ctp_visa"
connector_list = "worldpayvantiv"
[grpc_client.unified_connector_service]
-ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, tsys_transit, jpmorgan, datatrans, givepayments, tesouro, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4" # Comma-separated list of connectors that use UCS only
+ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, tsys_transit, jpmorgan, datatrans, givepayments, tesouro, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4, truelayer" # Comma-separated list of connectors that use UCS only
ucs_psync_disabled_connectors = "cashtocode, trustly" # Comma-separated list of connectors to disable UCS PSync call
# Merchant Advice Code Configuration
diff --git a/config/deployments/production.toml b/config/deployments/production.toml
index a3fba64d0a..cb013c9f50 100644
--- a/config/deployments/production.toml
+++ b/config/deployments/production.toml
@@ -1091,7 +1091,7 @@ click_to_pay = {connector_list = "adyen, cybersource, trustpay"}
connector_list = "juspaythreedsserver, ctp_mastercard, ctp_visa"
[grpc_client.unified_connector_service]
-ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, jpmorgan, datatrans, tsys_transit, givepayments, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4" # Comma-separated list of connectors that use UCS only
+ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, jpmorgan, datatrans, tsys_transit, givepayments, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4, truelayer" # Comma-separated list of connectors that use UCS only
ucs_psync_disabled_connectors = "cashtocode, trustly" # Comma-separated list of connectors to disable UCS PSync call
# Merchant Advice Code Configuration
diff --git a/config/deployments/sandbox.toml b/config/deployments/sandbox.toml
index a53d491239..001e74144c 100644
--- a/config/deployments/sandbox.toml
+++ b/config/deployments/sandbox.toml
@@ -1098,7 +1098,7 @@ connector_list = "juspaythreedsserver, ctp_mastercard, ctp_visa"
connector_list = "worldpayvantiv"
[grpc_client.unified_connector_service]
-ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, jpmorgan, datatrans, tsys_transit, givepayments, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4" # Comma-separated list of connectors that use UCS only
+ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, jpmorgan, datatrans, tsys_transit, givepayments, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4, truelayer" # Comma-separated list of connectors that use UCS only
ucs_psync_disabled_connectors = "cashtocode, trustly" # Comma-separated list of connectors to disable UCS PSync call
# Merchant Advice Code Configuration
diff --git a/config/development.toml b/config/development.toml
index 0096159ae3..12dcdaec0b 100644
--- a/config/development.toml
+++ b/config/development.toml
@@ -1681,7 +1681,7 @@ request_timeout = 35
keep_alive_interval = 30
keep_alive_timeout = 20
tcp_keepalive = 60
-ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, tsys_transit, jpmorgan, datatrans, givepayments, tesouro, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4" # Comma-separated list of connectors that use UCS only
+ucs_only_connectors = "imerchantsolutions, paytm, phonepe, hyperpg, revolv3, fiservcommercehub, absa_sanlam, interpayments, payconex, dlocal, barclaycard, tsys_transit, jpmorgan, datatrans, givepayments, tesouro, citigate, ilixium, moneris, elavon, worldpayraft, globalpay, rapyd, paynearme, jpmorgan_orbital, saferpay, d24, etisalat, globalpayments_heartland, paydotcom, merchante, nsure, elavon_pg, trustly, shift4, truelayer" # Comma-separated list of connectors that use UCS only
ucs_psync_disabled_connectors = "cashtocode, trustly" # Comma-separated list of connectors to disable UCS PSync call
[revenue_recovery]
diff --git a/crates/external_services/Cargo.toml b/crates/external_services/Cargo.toml
index 2e9273d037..a436045038 100644
--- a/crates/external_services/Cargo.toml
+++ b/crates/external_services/Cargo.toml
@@ -94,7 +94,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.09.30.2", package = "rust-grpc-client" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.10.05.1", 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 bceece5db2..417572d224 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.09.30.2", package = "rust-grpc-client" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.10.05.1", 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 642508167d..1325cb2ae4 100644
--- a/crates/router/Cargo.toml
+++ b/crates/router/Cargo.toml
@@ -244,8 +244,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.09.30.2",package = "rust-grpc-client" }
-unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.09.30.2", package = "ucs_cards" }
+unified-connector-service-client = { git = "https://github.com/juspay/connector-service", tag = "2026.10.05.1",package = "rust-grpc-client" }
+unified-connector-service-cards = { git = "https://github.com/juspay/connector-service", tag = "2026.10.05.1", 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 b556db71c4..d465fa3b60 100644
--- a/crates/router/src/core/unified_connector_service/transformers.rs
+++ b/crates/router/src/core/unified_connector_service/transformers.rs
@@ -6637,6 +6637,7 @@ impl ForeignFrom<common_enums::PaymentMethodType> for payments_grpc::PaymentMeth
common_enums::PaymentMethodType::Oxxo => Self::Oxxo,
common_enums::PaymentMethodType::PagoEfectivo => Self::PagoEfectivo,
common_enums::PaymentMethodType::PermataBankTransfer => Self::PermataBankTransfer,
+ common_enums::PaymentMethodType::OpenBanking => Self::OpenBanking,
common_enums::PaymentMethodType::OpenBankingUk => Self::OpenBankingUk,
common_enums::PaymentMethodType::PayBright => Self::PayBright,
common_enums::PaymentMethodType::Paypal => Self::PayPal,
@@ -9017,6 +9018,15 @@ impl
.transpose()?,
description: router_data.description.clone(),
merchant_request_id: Some(router_data.connector_request_reference_id.clone()),
+ billing_descriptor: router_data
+ .request
+ .billing_descriptor
+ .as_ref()
+ .map(|descriptor| payments_grpc::BillingDescriptor {
+ reference: descriptor.reference.clone(),
+ statement_descriptor: descriptor.statement_descriptor.clone(),
+ ..Default::default()
+ }),
})
}
}
@@ -9146,6 +9156,7 @@ impl
),
),
merchant_request_id: Some(router_data.connector_request_reference_id.clone()),
+ vendor_account_details: None,
})
}
}
@@ -9208,6 +9219,8 @@ impl
customer: Some(customer),
access_token: router_data.access_token.clone().map(|at| at.token),
merchant_request_id: Some(router_data.connector_request_reference_id.clone()),
+ destination_currency: None,
+ vendor_account_details: None,
})
}
}
@@ -9243,6 +9256,7 @@ impl
.map(payments_grpc::SourceBankData::foreign_try_from)
.transpose()?,
merchant_request_id: Some(router_data.connector_request_reference_id.clone()),
+ customer: None,
payout_method_type: router_data
.payment_method_type
.map(|pmt| payments_grpc::PaymentMethodType::foreign_from(pmt).into()),
@@ -9436,12 +9450,11 @@ impl transformers::ForeignTryFrom<&api_models::payouts::PayoutMethodData>
payments_grpc::TrustlyBankTransferPayout::foreign_try_from(trustly)?,
)
}
- api_models::payouts::Bank::OpenBanking(_) => Err(error_stack::Report::new(
- UnifiedConnectorServiceError::RequestEncodingFailedWithReason(
- "OpenBanking bank transfer not supported for Unified Connector Service"
- .to_string(),
- ),
- ))?,
+ api_models::payouts::Bank::OpenBanking(open_banking) => {
+ payments_grpc::payout_method::PayoutMethodData::OpenBanking(
+ payments_grpc::OpenBankingPayout::foreign_try_from(open_banking)?,
+ )
+ }
api_models::payouts::Bank::Payshap(payshap) => {
payments_grpc::payout_method::PayoutMethodData::Payshap(
payments_grpc::PayshapBankTransferPayout::foreign_try_from(payshap)?,
@@ -9495,13 +9508,10 @@ impl transformers::ForeignTryFrom<&api_models::payouts::PayoutMethodData>
payments_grpc::PixEmvBankTransferPayout::foreign_from(pix_emv),
)
}
- api_models::payouts::BankTransfer::OpenBanking(_) => {
- Err(error_stack::Report::new(
- UnifiedConnectorServiceError::RequestEncodingFailedWithReason(
- "OpenBanking bank transfer not supported for Unified Connector Service"
- .to_string(),
- ),
- ))?
+ api_models::payouts::BankTransfer::OpenBanking(open_banking) => {
+ payments_grpc::payout_method::PayoutMethodData::OpenBanking(
+ payments_grpc::OpenBankingPayout::foreign_try_from(open_banking)?,
+ )
}
api_models::payouts::BankTransfer::Payshap(payshap) => {
payments_grpc::payout_method::PayoutMethodData::Payshap(
@@ -9510,7 +9520,9 @@ impl transformers::ForeignTryFrom<&api_models::payouts::PayoutMethodData>
}
api_models::payouts::BankTransfer::PayshapProxy(payshap_proxy) => {
payments_grpc::payout_method::PayoutMethodData::PayshapProxy(
- payments_grpc::PayshapProxyBankTransferPayout::foreign_from(payshap_proxy),
+ payments_grpc::PayshapProxyBankTransferPayout::foreign_from(
+ payshap_proxy,
+ ),
)
}
api_models::payouts::BankTransfer::Ted(ted) => {
@@ -9526,12 +9538,14 @@ impl transformers::ForeignTryFrom<&api_models::payouts::PayoutMethodData>
payments_grpc::ApplePayDecrypt::foreign_try_from(apple_pay)?,
)
}
- api_models::payouts::Wallet::GooglePayDecrypt(_google_pay) => Err(error_stack::Report::new(
- UnifiedConnectorServiceError::RequestEncodingFailedWithReason(
- "Googlepay wallet not supported for Unified Connector Service"
- .to_string(),
- ),
- ))?,
+ api_models::payouts::Wallet::GooglePayDecrypt(_google_pay) => {
+ Err(error_stack::Report::new(
+ UnifiedConnectorServiceError::RequestEncodingFailedWithReason(
+ "Googlepay wallet not supported for Unified Connector Service"
+ .to_string(),
+ ),
+ ))?
+ }
api_models::payouts::Wallet::Paypal(paypal) => {
payments_grpc::payout_method::PayoutMethodData::Paypal(
payments_grpc::Paypal::foreign_try_from(paypal)?,
@@ -9542,7 +9556,6 @@ impl transformers::ForeignTryFrom<&api_models::payouts::PayoutMethodData>
payments_grpc::Venmo::foreign_try_from(venmo)?,
)
}
-
},
api_models::payouts::PayoutMethodData::BankRedirect(bank_redirect) => {
match bank_redirect {
@@ -9872,6 +9885,20 @@ impl transformers::ForeignTryFrom<&api_models::payouts::Interac> for payments_gr
}
}
+#[cfg(feature = "payouts")]
+impl transformers::ForeignTryFrom<&api_models::payouts::OpenBanking>
+ for payments_grpc::OpenBankingPayout
+{
+ type Error = error_stack::Report<UnifiedConnectorServiceError>;
+
+ fn foreign_try_from(item: &api_models::payouts::OpenBanking) -> Result<Self, Self::Error> {
+ Ok(Self {
+ account_holder_name: Some(item.account_holder_name.clone()),
+ iban: Some(item.iban.clone()),
+ })
+ }
+}
+
#[cfg(feature = "payouts")]
impl transformers::ForeignTryFrom<&api_models::payouts::OpenBankingUk>
for payments_grpc::OpenBankingUkPayout