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): [Truelayer] Change payment method type from OpenBankingUK to OpenBanking (#11735)

Vani Guptaa7a0dba17905
diff --git a/config/config.example.toml b/config/config.example.toml
index b1681359e5..e2f6dbdb22 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -730,7 +730,7 @@ credit = { currency = "INR,USD,GBP,EUR" }
debit = { currency = "INR,USD,GBP,EUR" }
[pm_filters.truelayer]
-open_banking_uk = { currency = "GBP,EUR" }
+open_banking = { currency = "GBP,EUR" }
[payout_method_filters.truelayer]
open_banking_uk = { currency = "GBP,EUR,PLN" }
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index f14e85f1a2..fa27488cec 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -663,7 +663,7 @@ credit = { currency = "INR,USD,GBP,EUR" }
debit = { currency = "INR,USD,GBP,EUR" }
[pm_filters.truelayer]
-open_banking_uk = { currency = "GBP,EUR" }
+open_banking = { currency = "GBP,EUR" }
[payout_method_filters.truelayer]
open_banking_uk = { currency = "GBP,EUR,PLN" }
diff --git a/config/deployments/production.toml b/config/deployments/production.toml
index 349f1518d5..8f242335d4 100644
--- a/config/deployments/production.toml
+++ b/config/deployments/production.toml
@@ -706,7 +706,7 @@ credit = { currency = "INR,USD,GBP,EUR" }
debit = { currency = "INR,USD,GBP,EUR" }
[pm_filters.truelayer]
-open_banking_uk = { currency = "GBP,EUR" }
+open_banking = { currency = "GBP,EUR" }
[payout_method_filters.truelayer]
open_banking_uk = { currency = "GBP,EUR,PLN" }
diff --git a/config/deployments/sandbox.toml b/config/deployments/sandbox.toml
index 6a343fb30d..cd5f85534a 100644
--- a/config/deployments/sandbox.toml
+++ b/config/deployments/sandbox.toml
@@ -714,7 +714,7 @@ credit = { currency = "INR,USD,GBP,EUR" }
debit = { currency = "INR,USD,GBP,EUR" }
[pm_filters.truelayer]
-open_banking_uk = { currency = "GBP,EUR" }
+open_banking = { currency = "GBP,EUR" }
[payout_method_filters.truelayer]
open_banking_uk = { currency = "GBP,EUR,PLN" }
diff --git a/config/development.toml b/config/development.toml
index ae29fc4f56..4277b560af 100644
--- a/config/development.toml
+++ b/config/development.toml
@@ -535,7 +535,7 @@ credit = { currency = "INR,USD,GBP,EUR" }
debit = { currency = "INR,USD,GBP,EUR" }
[pm_filters.truelayer]
-open_banking_uk = { currency = "GBP,EUR" }
+open_banking = { currency = "GBP,EUR" }
[payout_method_filters.truelayer]
open_banking_uk = { currency = "GBP,EUR,PLN" }
diff --git a/config/docker_compose.toml b/config/docker_compose.toml
index ce453a30b5..ad1d1cfb69 100644
--- a/config/docker_compose.toml
+++ b/config/docker_compose.toml
@@ -639,7 +639,7 @@ credit = { currency = "INR,USD,GBP,EUR" }
debit = { currency = "INR,USD,GBP,EUR" }
[pm_filters.truelayer]
-open_banking_uk = { currency = "GBP,EUR" }
+open_banking = { currency = "GBP,EUR" }
[payout_method_filters.truelayer]
open_banking_uk = { currency = "GBP,EUR,PLN" }
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index ca39a18e76..61dd44a4da 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -7861,7 +7861,7 @@ merchant_secret="Source verification key"
api_key = "Client ID"
key1 = "Client Secret"
[[truelayer.bank_redirect]]
-payment_method_type = "open_banking_uk"
+payment_method_type = "open_banking"
[truelayer.metadata.kid]
name = "kid"
diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml
index 8fe1df2f0f..b10bd6c16b 100644
--- a/crates/connector_configs/toml/production.toml
+++ b/crates/connector_configs/toml/production.toml
@@ -7334,7 +7334,7 @@ type = "Text"
api_key = "Client ID"
key1 = "Client Secret"
[[truelayer.bank_redirect]]
-payment_method_type = "open_banking_uk"
+payment_method_type = "open_banking"
[truelayer.metadata.kid]
name = "kid"
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index 9390f93b75..127ba00924 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -8253,7 +8253,7 @@ type = "Text"
api_key = "Client ID"
key1 = "Client Secret"
[[truelayer.bank_redirect]]
-payment_method_type = "open_banking_uk"
+payment_method_type = "open_banking"
[truelayer.metadata.kid]
name = "kid"
diff --git a/crates/hyperswitch_connectors/src/connectors/truelayer.rs b/crates/hyperswitch_connectors/src/connectors/truelayer.rs
index d73553201b..559cbf3e59 100644
--- a/crates/hyperswitch_connectors/src/connectors/truelayer.rs
+++ b/crates/hyperswitch_connectors/src/connectors/truelayer.rs
@@ -1068,7 +1068,7 @@ static TRUELAYER_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> =
let mut truelayer_supported_payment_methods = SupportedPaymentMethods::new();
truelayer_supported_payment_methods.add(
enums::PaymentMethod::BankRedirect,
- enums::PaymentMethodType::OpenBankingUk,
+ enums::PaymentMethodType::OpenBanking,
PaymentMethodDetails {
mandates: common_enums::FeatureStatus::NotSupported,
refunds: common_enums::FeatureStatus::Supported,
diff --git a/loadtest/config/development.toml b/loadtest/config/development.toml
index 852541da3d..678ab0feb6 100644
--- a/loadtest/config/development.toml
+++ b/loadtest/config/development.toml
@@ -452,7 +452,7 @@ credit = { currency = "INR,USD,GBP,EUR" }
debit = { currency = "INR,USD,GBP,EUR" }
[pm_filters.truelayer]
-open_banking_uk = { currency = "GBP,EUR" }
+open_banking = { currency = "GBP,EUR" }
[payout_method_filters.truelayer]
open_banking_uk = { currency = "GBP,EUR,PLN" }