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/include | |
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/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 1 | ||||
-rw-r--r-- | src/include/taler_kyclogic_lib.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 44dd912f8..db3289ffc 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -6621,6 +6621,7 @@ struct TALER_EXCHANGEDB_Plugin void *cls, const struct TALER_PaytoHashP *h_payto, enum TALER_AmlDecisionState *decision, + struct TALER_EXCHANGEDB_KycStatus *kyc, struct TALER_Amount *threshold); diff --git a/src/include/taler_kyclogic_lib.h b/src/include/taler_kyclogic_lib.h index 34a429121..2d8b39f2b 100644 --- a/src/include/taler_kyclogic_lib.h +++ b/src/include/taler_kyclogic_lib.h @@ -312,6 +312,15 @@ TALER_KYCLOGIC_check_satisfiable ( /** + * Return list of all KYC checks that are possible. + * + * @return JSON array of strings with the allowed KYC checks + */ +json_t * +TALER_KYCLOGIC_get_satisfiable (void); + + +/** * Obtain the provider logic for a given set of @a requirements. * * @param requirements space-separated list of required checks |