diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-19 10:21:29 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-19 10:21:29 +0100 |
commit | 06e2e8022c01f2a2866eb79ed38552ef5ac2a6b2 (patch) | |
tree | bec032926469f5506d9051a9b1efa10066921ab7 /src/exchangedb/pg_select_aml_threshold.h | |
parent | aa5e7d2ad5e712434f32ab41b63d53bb897c6105 (diff) | |
download | exchange-06e2e8022c01f2a2866eb79ed38552ef5ac2a6b2.tar.xz |
return KYC requirement row when AML imposed KYC requirements on withdraw; return KYC choices in new /config endpoint
Diffstat (limited to 'src/exchangedb/pg_select_aml_threshold.h')
-rw-r--r-- | src/exchangedb/pg_select_aml_threshold.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exchangedb/pg_select_aml_threshold.h b/src/exchangedb/pg_select_aml_threshold.h index 618eb1c75..8f0e3bcfc 100644 --- a/src/exchangedb/pg_select_aml_threshold.h +++ b/src/exchangedb/pg_select_aml_threshold.h @@ -32,6 +32,7 @@ * @param cls closure * @param h_payto account for which the AML threshold is stored * @param[out] decision set to current AML decision + * @param[out] kyc set to KYC requirements imposed by AML, if any * @param[out] threshold set to the existing threshold * @return database transaction status, 0 if no threshold was set */ @@ -40,6 +41,7 @@ TEH_PG_select_aml_threshold ( void *cls, const struct TALER_PaytoHashP *h_payto, enum TALER_AmlDecisionState *decision, + struct TALER_EXCHANGEDB_KycStatus *kyc, struct TALER_Amount *threshold); |