summaryrefslogtreecommitdiff
path: root/src/testing/test_kyc_api.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_kyc_api.conf')
-rw-r--r--src/testing/test_kyc_api.conf38
1 files changed, 33 insertions, 5 deletions
diff --git a/src/testing/test_kyc_api.conf b/src/testing/test_kyc_api.conf
index 09e7cdc7e..56c8eb858 100644
--- a/src/testing/test_kyc_api.conf
+++ b/src/testing/test_kyc_api.conf
@@ -46,16 +46,12 @@ DB = postgres
BASE_URL = "http://localhost:8081/"
+# Obsolete options, migrate to withdraw once implemented...
KYC_MODE = OAUTH2
-
-KYC_WALLET_BALANCE_LIMIT = EUR:1
-
KYC_WITHDRAW_PERIOD = "31 days"
-
KYC_WITHDRAW_LIMIT = EUR:8
[exchange-kyc-oauth2]
-
KYC_OAUTH2_AUTH_URL = http://localhost:6666/oauth/v2/token
KYC_OAUTH2_LOGIN_URL = http://localhost:6666/oauth/v2/login
KYC_INFO_URL = http://localhost:6666/api/user/me
@@ -63,6 +59,38 @@ KYC_OAUTH2_CLIENT_ID = taler-exchange
KYC_OAUTH2_CLIENT_SECRET = exchange-secret
KYC_OAUTH2_POST_URL = http://example.com/
+# end of obsolete options...
+
+[kyc-provider-test-oauth2]
+COST = 0
+LOGIC = oauth2
+USER_TYPE = INDIVIDUAL
+PROVIDED_CHECKS = DUMMY
+KYC_OAUTH2_VALIDITY = forever
+KYC_OAUTH2_AUTH_URL = http://localhost:6666/oauth/v2/token
+KYC_OAUTH2_LOGIN_URL = http://localhost:6666/oauth/v2/login
+KYC_OAUTH2_INFO_URL = http://localhost:6666/api/user/me
+KYC_OAUTH2_CLIENT_ID = taler-exchange
+KYC_OAUTH2_CLIENT_SECRET = exchange-secret
+KYC_OAUTH2_POST_URL = http://example.com/
+
+[kyc-legitimization-balance-high]
+OPERATION_TYPE = BALANCE
+REQUIRED_CHECKS = DUMMY
+THRESHOLD = EUR:8
+
+[kyc-legitimization-deposit-any]
+OPERATION_TYPE = DEPOSIT
+REQUIRED_CHECKS = DUMMY
+THRESHOLD = EUR:0
+TIMEFRAME = 1d
+
+[kyc-legitimization-withdraw]
+OPERATION_TYPE = WITHDRAW
+REQUIRED_CHECKS = DUMMY
+THRESHOLD = EUR:8
+TIMEFRAME = 1d
+
[exchangedb-postgres]
CONFIG = "postgres:///talercheck"