summaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-15 23:34:23 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-15 23:34:23 +0200
commita48db85013a942d71ecdf98740a469468eb9882f (patch)
tree084e0e80ec32d6101d5cfc13c630bd25326a484e /src/include/taler_exchangedb_plugin.h
parentca12adced4ab5a54d7ee25b40b49cd034b920cc8 (diff)
downloadexchange-a48db85013a942d71ecdf98740a469468eb9882f.tar.gz
exchange-a48db85013a942d71ecdf98740a469468eb9882f.tar.bz2
exchange-a48db85013a942d71ecdf98740a469468eb9882f.zip
add KYC logic for /deposit handling (DB part incomplete)
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 34196aadd..17d78217d 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -2377,6 +2377,20 @@ struct TALER_EXCHANGEDB_Plugin
/**
+ * 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.
*