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(euclid_wasm): Add configs for new payout connectors (#4528)

Sakil Mostak9f4191909463
diff --git a/crates/connector_configs/src/connector.rs b/crates/connector_configs/src/connector.rs
index 0f5a953b06..b9fbed2815 100644
--- a/crates/connector_configs/src/connector.rs
+++ b/crates/connector_configs/src/connector.rs
@@ -153,6 +153,8 @@ pub struct ConnectorConfig {
pub nuvei: Option<ConnectorTomlConfig>,
pub payme: Option<ConnectorTomlConfig>,
pub paypal: Option<ConnectorTomlConfig>,
+ #[cfg(feature = "payouts")]
+ pub paypal_payout: Option<ConnectorTomlConfig>,
pub payu: Option<ConnectorTomlConfig>,
pub placetopay: Option<ConnectorTomlConfig>,
pub plaid: Option<ConnectorTomlConfig>,
@@ -219,7 +221,7 @@ impl ConnectorConfig {
PayoutConnectors::Adyen => Ok(connector_data.adyen_payout),
PayoutConnectors::Stripe => Ok(connector_data.stripe_payout),
PayoutConnectors::Wise => Ok(connector_data.wise_payout),
- PayoutConnectors::Paypal => Ok(connector_data.paypal),
+ PayoutConnectors::Paypal => Ok(connector_data.paypal_payout),
PayoutConnectors::Ebanx => Ok(connector_data.ebanx_payout),
}
}
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index a81fb3657a..b6be7bb0eb 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -866,6 +866,48 @@ merchant_name="Google Pay Merchant Name"
gateway_merchant_id="Google Pay Merchant Key"
merchant_id="Google Pay Merchant ID"
+[cybersource_payout]
+[[cybersource_payout.credit]]
+ payment_method_type = "Mastercard"
+[[cybersource_payout.credit]]
+ payment_method_type = "Visa"
+[[cybersource_payout.credit]]
+ payment_method_type = "Interac"
+[[cybersource_payout.credit]]
+ payment_method_type = "AmericanExpress"
+[[cybersource_payout.credit]]
+ payment_method_type = "JCB"
+[[cybersource_payout.credit]]
+ payment_method_type = "DinersClub"
+[[cybersource_payout.credit]]
+ payment_method_type = "Discover"
+[[cybersource_payout.credit]]
+ payment_method_type = "CartesBancaires"
+[[cybersource_payout.credit]]
+ payment_method_type = "UnionPay"
+[[cybersource_payout.debit]]
+ payment_method_type = "Mastercard"
+[[cybersource_payout.debit]]
+ payment_method_type = "Visa"
+[[cybersource_payout.debit]]
+ payment_method_type = "Interac"
+[[cybersource_payout.debit]]
+ payment_method_type = "AmericanExpress"
+[[cybersource_payout.debit]]
+ payment_method_type = "JCB"
+[[cybersource_payout.debit]]
+ payment_method_type = "DinersClub"
+[[cybersource_payout.debit]]
+ payment_method_type = "Discover"
+[[cybersource_payout.debit]]
+ payment_method_type = "CartesBancaires"
+[[cybersource_payout.debit]]
+ payment_method_type = "UnionPay"
+[cybersource_payout.connector_auth.SignatureKey]
+api_key="Key"
+key1="Merchant ID"
+api_secret="Shared Secret"
+
[dlocal]
[[dlocal.credit]]
payment_method_type = "Mastercard"
@@ -910,6 +952,12 @@ api_secret="Secret Key"
[dlocal.connector_webhook_details]
merchant_secret="Source verification key"
+[ebanx_payout]
+[[ebanx_payout.bank_transfer]]
+ payment_method_type = "pix"
+[ebanx_payout.connector_auth.HeaderKey]
+api_key = "Integration Key"
+
[fiserv]
[[fiserv.credit]]
payment_method_type = "Mastercard"
@@ -1607,6 +1655,14 @@ key1="Client ID"
[paypal.connector_webhook_details]
merchant_secret="Source verification key"
+[paypal_payout]
+[[paypal.wallet]]
+ payment_method_type = "paypal"
+[[paypal.wallet]]
+ payment_method_type = "venmo"
+[paypal_payout.connector_auth.BodyKey]
+api_key="Client Secret"
+key1="Client ID"
[payu]
[[payu.credit]]
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index 1d0fbb7153..502141382b 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -866,6 +866,48 @@ merchant_name="Google Pay Merchant Name"
gateway_merchant_id="Google Pay Merchant Key"
merchant_id="Google Pay Merchant ID"
+[cybersource_payout]
+[[cybersource_payout.credit]]
+ payment_method_type = "Mastercard"
+[[cybersource_payout.credit]]
+ payment_method_type = "Visa"
+[[cybersource_payout.credit]]
+ payment_method_type = "Interac"
+[[cybersource_payout.credit]]
+ payment_method_type = "AmericanExpress"
+[[cybersource_payout.credit]]
+ payment_method_type = "JCB"
+[[cybersource_payout.credit]]
+ payment_method_type = "DinersClub"
+[[cybersource_payout.credit]]
+ payment_method_type = "Discover"
+[[cybersource_payout.credit]]
+ payment_method_type = "CartesBancaires"
+[[cybersource_payout.credit]]
+ payment_method_type = "UnionPay"
+[[cybersource_payout.debit]]
+ payment_method_type = "Mastercard"
+[[cybersource_payout.debit]]
+ payment_method_type = "Visa"
+[[cybersource_payout.debit]]
+ payment_method_type = "Interac"
+[[cybersource_payout.debit]]
+ payment_method_type = "AmericanExpress"
+[[cybersource_payout.debit]]
+ payment_method_type = "JCB"
+[[cybersource_payout.debit]]
+ payment_method_type = "DinersClub"
+[[cybersource_payout.debit]]
+ payment_method_type = "Discover"
+[[cybersource_payout.debit]]
+ payment_method_type = "CartesBancaires"
+[[cybersource_payout.debit]]
+ payment_method_type = "UnionPay"
+[cybersource_payout.connector_auth.SignatureKey]
+api_key="Key"
+key1="Merchant ID"
+api_secret="Shared Secret"
+
[dlocal]
[[dlocal.credit]]
payment_method_type = "Mastercard"
@@ -910,6 +952,12 @@ api_secret="Secret Key"
[dlocal.connector_webhook_details]
merchant_secret="Source verification key"
+[ebanx_payout]
+[[ebanx_payout.bank_transfer]]
+ payment_method_type = "pix"
+[ebanx_payout.connector_auth.HeaderKey]
+api_key = "Integration Key"
+
[fiserv]
[[fiserv.credit]]
payment_method_type = "Mastercard"
@@ -1607,6 +1655,14 @@ key1="Client ID"
[paypal.connector_webhook_details]
merchant_secret="Source verification key"
+[paypal_payout]
+[[paypal.wallet]]
+ payment_method_type = "paypal"
+[[paypal.wallet]]
+ payment_method_type = "venmo"
+[paypal_payout.connector_auth.BodyKey]
+api_key="Client Secret"
+key1="Client ID"
[payu]
[[payu.credit]]