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

refactor(config): redact config urls for hyperswitch vault (#8276)

Sakil Mostaka64ee9ec073e
diff --git a/config/config.example.toml b/config/config.example.toml
index a6505abc30..d442b3824e 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -230,7 +230,7 @@ gocardless.base_url = "https://api-sandbox.gocardless.com"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
-hyperswitch_vault.base_url = "https://integ-api.hyperswitch.io"
+hyperswitch_vault.base_url = "http://localhost:8080"
hipay.secondary_base_url = "https://stage-secure2-vault.hipay-tpp.com/rest/"
hipay.third_base_url = "https://stage-api-gateway.hipay.com/"
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
diff --git a/config/deployments/env_specific.toml b/config/deployments/env_specific.toml
index 22fde3b995..784f672a8a 100644
--- a/config/deployments/env_specific.toml
+++ b/config/deployments/env_specific.toml
@@ -369,6 +369,9 @@ background_color = "#FFFFFF" # Background color of email bod
[connectors.unified_authentication_service] #Unified Authentication Service Configuration
base_url = "http://localhost:8000" #base url to call unified authentication service
+[connectors.hyperswitch_vault] # Hyperswitch Vault Configuration
+base_url = "http://localhost:8080" # base url to call hyperswitch vault service
+
[clone_connector_allowlist]
merchant_ids = "merchant_ids" # Comma-separated list of allowed merchant IDs
connector_names = "connector_names" # Comma-separated list of allowed connector names
diff --git a/config/deployments/integration_test.toml b/config/deployments/integration_test.toml
index 10038b3aca..6cde242b3f 100644
--- a/config/deployments/integration_test.toml
+++ b/config/deployments/integration_test.toml
@@ -69,7 +69,6 @@ gocardless.base_url = "https://api-sandbox.gocardless.com"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
-hyperswitch_vault.base_url = "https://integ-api.hyperswitch.io"
hipay.secondary_base_url = "https://stage-secure2-vault.hipay-tpp.com/rest/"
hipay.third_base_url = "https://stage-api-gateway.hipay.com/"
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
diff --git a/config/deployments/production.toml b/config/deployments/production.toml
index f747d1f451..2e0b1d6cbe 100644
--- a/config/deployments/production.toml
+++ b/config/deployments/production.toml
@@ -73,7 +73,6 @@ gocardless.base_url = "https://api.gocardless.com"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
hipay.base_url = "https://secure-gateway.hipay-tpp.com/rest/"
-hyperswitch_vault.base_url = "https://sandbox.hyperswitch.io"
hipay.secondary_base_url = "https://secure2-vault.hipay-tpp.com/rest/"
hipay.third_base_url = "https://api-gateway.hipay.com/"
iatapay.base_url = "https://iata-pay.iata.org/api/v1"
diff --git a/config/deployments/sandbox.toml b/config/deployments/sandbox.toml
index 13624a12e7..84ff2354c6 100644
--- a/config/deployments/sandbox.toml
+++ b/config/deployments/sandbox.toml
@@ -73,7 +73,6 @@ gocardless.base_url = "https://api-sandbox.gocardless.com"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
-hyperswitch_vault.base_url = "https://sandbox.hyperswitch.io"
hipay.secondary_base_url = "https://stage-secure2-vault.hipay-tpp.com/rest/"
hipay.third_base_url = "https://stage-api-gateway.hipay.com/"
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
diff --git a/config/development.toml b/config/development.toml
index a72dd2a161..f9e829e185 100644
--- a/config/development.toml
+++ b/config/development.toml
@@ -262,7 +262,7 @@ gocardless.base_url = "https://api-sandbox.gocardless.com"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
-hyperswitch_vault.base_url = "https://integ-api.hyperswitch.io"
+hyperswitch_vault.base_url = "http://localhost:8080"
hipay.secondary_base_url = "https://stage-secure2-vault.hipay-tpp.com/rest/"
hipay.third_base_url = "https://stage-api-gateway.hipay.com/"
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
diff --git a/config/docker_compose.toml b/config/docker_compose.toml
index 40ce9b8e68..b2c21f0cec 100644
--- a/config/docker_compose.toml
+++ b/config/docker_compose.toml
@@ -156,7 +156,7 @@ gocardless.base_url = "https://api-sandbox.gocardless.com"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
-hyperswitch_vault.base_url = "https://integ-api.hyperswitch.io"
+hyperswitch_vault.base_url = "http://localhost:8080"
hipay.secondary_base_url = "https://stage-secure2-vault.hipay-tpp.com/rest/"
hipay.third_base_url = "https://stage-api-gateway.hipay.com/"
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"
diff --git a/loadtest/config/development.toml b/loadtest/config/development.toml
index 4e18ce3e43..f06ca599ec 100644
--- a/loadtest/config/development.toml
+++ b/loadtest/config/development.toml
@@ -123,7 +123,7 @@ gocardless.base_url = "https://api-sandbox.gocardless.com"
gpayments.base_url = "https://{{merchant_endpoint_prefix}}-test.api.as1.gpayments.net"
helcim.base_url = "https://api.helcim.com/"
hipay.base_url = "https://stage-secure-gateway.hipay-tpp.com/rest/"
-hyperswitch_vault.base_url = "https://integ-api.hyperswitch.io"
+hyperswitch_vault.base_url = "http://localhost:8080"
hipay.secondary_base_url = "https://stage-secure2-vault.hipay-tpp.com/rest/"
hipay.third_base_url = "https://stage-api-gateway.hipay.com/"
iatapay.base_url = "https://sandbox.iata-pay.iata.org/api/v1"