summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-02-19 10:21:29 +0100
committerChristian Grothoff <christian@grothoff.org>2023-02-19 10:21:29 +0100
commit06e2e8022c01f2a2866eb79ed38552ef5ac2a6b2 (patch)
treebec032926469f5506d9051a9b1efa10066921ab7 /src/exchange/taler-exchange-httpd_withdraw.c
parentaa5e7d2ad5e712434f32ab41b63d53bb897c6105 (diff)
downloadexchange-06e2e8022c01f2a2866eb79ed38552ef5ac2a6b2.tar.gz
exchange-06e2e8022c01f2a2866eb79ed38552ef5ac2a6b2.tar.bz2
exchange-06e2e8022c01f2a2866eb79ed38552ef5ac2a6b2.zip
return KYC requirement row when AML imposed KYC requirements on withdraw; return KYC choices in new /config endpoint
Diffstat (limited to 'src/exchange/taler-exchange-httpd_withdraw.c')
-rw-r--r--src/exchange/taler-exchange-httpd_withdraw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_withdraw.c b/src/exchange/taler-exchange-httpd_withdraw.c
index 9560e7dc0..28addba43 100644
--- a/src/exchange/taler-exchange-httpd_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_withdraw.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014-2022 Taler Systems SA
+ Copyright (C) 2014-2023 Taler Systems SA
TALER is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
@@ -226,6 +226,7 @@ withdraw_transaction (void *cls,
qs = TEH_plugin->select_aml_threshold (TEH_plugin->cls,
&reserve_h_payto,
&wc->aml_decision,
+ &wc->kyc,
&threshold);
if (qs < 0)
{