From a48db85013a942d71ecdf98740a469468eb9882f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 15 Oct 2021 23:34:23 +0200 Subject: add KYC logic for /deposit handling (DB part incomplete) --- src/include/taler_exchangedb_plugin.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/include/taler_exchangedb_plugin.h') diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 34196aad..17d78217 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2376,6 +2376,20 @@ struct TALER_EXCHANGEDB_Plugin struct TALER_EXCHANGEDB_KycStatus *kyc); + /** + * Get the KYC status for a bank account. + * + * @param cls the @e cls of this struct with the plugin-specific state + * @param payto_uri payto:// URI that identifies the bank account + * @param[out] kyc set to the KYC status of the reserve + * @return transaction status + */ + enum GNUNET_DB_QueryStatus + (*get_kyc_status)(void *cls, + const char *payto_uri, + struct TALER_EXCHANGEDB_KycStatus *kyc); + + /** * Insert a incoming transaction into reserves. New reserves are * also created through this function. -- cgit v1.2.3