Skip to content

Commit 0a73657

Browse files
yashasvi.kapiliemyashasvi
authored andcommitted
feat(connector): [template] silverflow
1 parent b937cb7 commit 0a73657

File tree

22 files changed

+1387
-16
lines changed

22 files changed

+1387
-16
lines changed

config/config.example.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ redsys.base_url = "https://sis-t.redsys.es:25443"
279279
riskified.base_url = "https://sandbox.riskified.com/api"
280280
santander.base_url = "https://pix.santander.com.br/api/v1/sandbox/"
281281
shift4.base_url = "https://api.shift4.com/"
282+
silverflow.base_url = "https://api-sbx.silverflow.co/v1"
282283
signifyd.base_url = "https://api.signifyd.com/"
283284
square.base_url = "https://connect.squareupsandbox.com/"
284285
square.secondary_base_url = "https://pci-connect.squareupsandbox.com/"

config/deployments/integration_test.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ recurly.base_url = "https://v3.recurly.com"
115115
redsys.base_url = "https://sis-t.redsys.es:25443"
116116
santander.base_url = "https://pix.santander.com.br/api/v1/sandbox/"
117117
shift4.base_url = "https://api.shift4.com/"
118+
silverflow.base_url = "https://api-sbx.silverflow.co/v1"
118119
signifyd.base_url = "https://api.signifyd.com/"
119120
riskified.base_url = "https://sandbox.riskified.com/api"
120121
square.base_url = "https://connect.squareupsandbox.com/"

config/deployments/production.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ redsys.base_url = "https://sis.redsys.es"
120120
riskified.base_url = "https://wh.riskified.com/api/"
121121
santander.base_url = "https://trust-pix.santander.com.br/"
122122
shift4.base_url = "https://api.shift4.com/"
123+
silverflow.base_url = "https://api.silverflow.co/v1"
123124
signifyd.base_url = "https://api.signifyd.com/"
124125
square.base_url = "https://connect.squareup.com/"
125126
square.secondary_base_url = "https://pci-connect.squareup.com/"

config/deployments/sandbox.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ redsys.base_url = "https://sis-t.redsys.es:25443"
120120
riskified.base_url = "https://sandbox.riskified.com/api"
121121
santander.base_url = "https://pix.santander.com.br/api/v1/sandbox/"
122122
shift4.base_url = "https://api.shift4.com/"
123+
silverflow.base_url = "https://api-sbx.silverflow.co/v1"
123124
signifyd.base_url = "https://api.signifyd.com/"
124125
square.base_url = "https://connect.squareupsandbox.com/"
125126
square.secondary_base_url = "https://pci-connect.squareupsandbox.com/"

config/development.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ cards = [
170170
"redsys",
171171
"santander",
172172
"shift4",
173+
"silverflow",
173174
"square",
174175
"stax",
175176
"stripe",
@@ -315,6 +316,7 @@ redsys.base_url = "https://sis-t.redsys.es:25443"
315316
riskified.base_url = "https://sandbox.riskified.com/api"
316317
santander.base_url = "https://pix.santander.com.br/api/v1/sandbox/"
317318
shift4.base_url = "https://api.shift4.com/"
319+
silverflow.base_url = "https://api-sbx.silverflow.co/v1"
318320
signifyd.base_url = "https://api.signifyd.com/"
319321
square.base_url = "https://connect.squareupsandbox.com/"
320322
square.secondary_base_url = "https://pci-connect.squareupsandbox.com/"

config/docker_compose.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ redsys.base_url = "https://sis-t.redsys.es:25443"
205205
riskified.base_url = "https://sandbox.riskified.com/api"
206206
santander.base_url = "https://pix.santander.com.br/api/v1/sandbox/"
207207
shift4.base_url = "https://api.shift4.com/"
208+
silverflow.base_url = "https://api-sbx.silverflow.co/v1"
208209
signifyd.base_url = "https://api.signifyd.com/"
209210
square.base_url = "https://connect.squareupsandbox.com/"
210211
square.secondary_base_url = "https://pci-connect.squareupsandbox.com/"
@@ -320,6 +321,7 @@ cards = [
320321
"redsys",
321322
"santander",
322323
"shift4",
324+
"silverflow",
323325
"square",
324326
"stax",
325327
"stripe",

crates/connector_configs/src/connector.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ pub struct ConnectorConfig {
260260
pub redsys: Option<ConnectorTomlConfig>,
261261
pub santander: Option<ConnectorTomlConfig>,
262262
pub shift4: Option<ConnectorTomlConfig>,
263+
pub silverflow: Option<ConnectorTomlConfig>,
263264
pub stripe: Option<ConnectorTomlConfig>,
264265
#[cfg(feature = "payouts")]
265266
pub stripe_payout: Option<ConnectorTomlConfig>,

crates/connector_configs/toml/development.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6307,4 +6307,8 @@ type="Text"
63076307
[payload.connector_auth.HeaderKey]
63086308
api_key="API Key"
63096309
[payload.connector_webhook_details]
6310-
merchant_secret="Source verification key"
6310+
merchant_secret="Source verification key"
6311+
[silverflow]
6312+
[silverflow.connector_auth.BodyKey]
6313+
api_key="API Key"
6314+
key1="Secret Key"

crates/connector_configs/toml/production.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4913,3 +4913,8 @@ type="Text"
49134913
api_key="API Key"
49144914
[payload.connector_webhook_details]
49154915
merchant_secret="Source verification key"
4916+
4917+
[silverflow]
4918+
[silverflow.connector_auth.BodyKey]
4919+
api_key="API Key"
4920+
key1="Secret Key"

crates/connector_configs/toml/sandbox.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6281,4 +6281,8 @@ type="Text"
62816281
[payload.connector_auth.HeaderKey]
62826282
api_key="API Key"
62836283
[payload.connector_webhook_details]
6284-
merchant_secret="Source verification key"
6284+
merchant_secret="Source verification key"
6285+
[silverflow]
6286+
[silverflow.connector_auth.BodyKey]
6287+
api_key="API Key"
6288+
key1="Secret Key"

0 commit comments

Comments
 (0)