diff options
Diffstat (limited to 'contrib/exchange-template/config')
-rw-r--r-- | contrib/exchange-template/config/exchange-common.conf | 103 |
1 files changed, 87 insertions, 16 deletions
diff --git a/contrib/exchange-template/config/exchange-common.conf b/contrib/exchange-template/config/exchange-common.conf index 47782651d..425bb92b2 100644 --- a/contrib/exchange-template/config/exchange-common.conf +++ b/contrib/exchange-template/config/exchange-common.conf @@ -17,27 +17,98 @@ TESTRUN = YES [exchangedb-postgres] DB_CONN_STR = "postgres:///talercheck" +[auditordb-postgres] +DB_CONN_STR = "postgres:///talercheck" -[exchange-wire-sepa] -# Change here to enable SEPA wire transfers. -ENABLE = NO -# Response for /wire -SEPA_RESPONSE_FILE = "sepa.json" +# Provide account information +[account-1] +# Accounts must have a payto:// URL +URL = payto://METHOD/DETAILS + +# To be included in /wire, accounts must have a signed wire file +# Must match URL. +WIRE_RESPONSE = ${TALER_CONFIG_HOME}/account-1.json + +# For access to the account, we need to know the plugin. +PLUGIN = "ebics" -[exchange-wire-outgoing-sepa] -# TBD +# TBD: authentication data. +# Accounts need to be enabled for the aggregator to debit them. +ENABLE_DEBIT = NO -[exchange-wire-test] -# Change here to disable TEST wire transfers. -ENABLE = YES +# Accounts need to be enabled for the wirewatcher to look for credits into them. +ENABLE_CREDIT = YES + +[account-2] +URL = payto://x-taler-wire/bank/2 # Response for /wire -TEST_RESPONSE_FILE = "test.json" +# Must match URL. +WIRE_RESPONSE = ${TALER_CONFIG_HOME}/account-2.json + +PLUGIN = taler_bank + +# We also may need authentication data. +TALER_BANK_AUTH_METHOD = "none" # or basic +# TALER_BANK_USERNAME = user +# TALER_BANK_PASSWORD = pass + +# Accounts need to be enabled for the aggregator to debit them. +ENABLE_DEBIT = YES + +# Accounts need to be enabled for the wirewatcher to look for credits into them. +ENABLE_CREDIT = YES + + +# Wire fees are specified by wire method, NOT by wire plugin. +[fees-x-taler-bank] +# Fees for the forseeable future... +# If you see this after 2018, update to match the next 10 years... +WIRE-FEE-2018 = EUR:0.01 +WIRE-FEE-2019 = EUR:0.01 +WIRE-FEE-2020 = EUR:0.01 +WIRE-FEE-2021 = EUR:0.01 +WIRE-FEE-2022 = EUR:0.01 +WIRE-FEE-2023 = EUR:0.01 +WIRE-FEE-2024 = EUR:0.01 +WIRE-FEE-2025 = EUR:0.01 +WIRE-FEE-2026 = EUR:0.01 +WIRE-FEE-2027 = EUR:0.01 + +CLOSING-FEE-2018 = EUR:0.01 +CLOSING-FEE-2019 = EUR:0.01 +CLOSING-FEE-2020 = EUR:0.01 +CLOSING-FEE-2021 = EUR:0.01 +CLOSING-FEE-2022 = EUR:0.01 +CLOSING-FEE-2023 = EUR:0.01 +CLOSING-FEE-2024 = EUR:0.01 +CLOSING-FEE-2025 = EUR:0.01 +CLOSING-FEE-2026 = EUR:0.01 +CLOSING-FEE-2027 = EUR:0.01 + +[fees-sepa] +# Fees for the forseeable future... +# If you see this after 2018, update to match the next 10 years... +WIRE-FEE-2018 = EUR:0.01 +WIRE-FEE-2019 = EUR:0.01 +WIRE-FEE-2020 = EUR:0.01 +WIRE-FEE-2021 = EUR:0.01 +WIRE-FEE-2022 = EUR:0.01 +WIRE-FEE-2023 = EUR:0.01 +WIRE-FEE-2024 = EUR:0.01 +WIRE-FEE-2025 = EUR:0.01 +WIRE-FEE-2026 = EUR:0.01 +WIRE-FEE-2027 = EUR:0.01 -# What is the main website of the bank? -BANK_URL = "https://bank/" -# Into which account at the 'bank' should incoming -# wire transfers be made? -BANK_ACCOUNT_NUMBER = 2 +CLOSING-FEE-2018 = EUR:0.01 +CLOSING-FEE-2019 = EUR:0.01 +CLOSING-FEE-2020 = EUR:0.01 +CLOSING-FEE-2021 = EUR:0.01 +CLOSING-FEE-2022 = EUR:0.01 +CLOSING-FEE-2023 = EUR:0.01 +CLOSING-FEE-2024 = EUR:0.01 +CLOSING-FEE-2025 = EUR:0.01 +CLOSING-FEE-2026 = EUR:0.01 +CLOSING-FEE-2027 = EUR:0.01 |