aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-07-09 10:05:59 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-07-09 10:05:59 +0200
commit7c94a71def217618056a547ac9e8cfa4b2ea1331 (patch)
tree23fbb0c13e7e7b5efb2c928401b17a90e71c53e2 /src/include/taler_exchangedb_plugin.h
parentc13973626bed030c03748e05e6e15c07a79b3421 (diff)
Method to mark merchant as KYC-checked.
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 6d85d1a49..6724be4d2 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -2235,6 +2235,18 @@ struct TALER_EXCHANGEDB_Plugin
struct TALER_EXCHANGEDB_Session *session,
const char *payto_url);
+ /**
+ * Mark a merchant as KYC-checked.
+ *
+ * @param payto_url payto:// URL indentifying the merchant
+ * to check. Note, different banks may have different
+ * policies to check their customers.
+ * @return database transaction status.
+ */
+ enum GNUNET_DB_QueryStatus
+ (*mark_kyc_merchant) (void *cls,
+ struct TALER_EXCHANGEDB_Session *session,
+ const char *payto_url);
};