summaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-07-09 10:37:12 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-07-09 10:37:12 +0200
commitcd2538efb57d34d592efc551695a1b1174433ccb (patch)
treeddd05c1865e37a47f6dcd251accd8ac96eea2cd0 /src/include/taler_exchangedb_plugin.h
parent7c94a71def217618056a547ac9e8cfa4b2ea1331 (diff)
downloadexchange-cd2538efb57d34d592efc551695a1b1174433ccb.tar.gz
exchange-cd2538efb57d34d592efc551695a1b1174433ccb.tar.bz2
exchange-cd2538efb57d34d592efc551695a1b1174433ccb.zip
Method to retrieve the KYC status of a merchant.
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 6724be4d2..8c67d9705 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -2248,6 +2248,19 @@ struct TALER_EXCHANGEDB_Plugin
struct TALER_EXCHANGEDB_Session *session,
const char *payto_url);
+ /**
+ * Retrieve KYC-check status related to a particular merchant.
+ *
+ * @param payto_url URL identifying a merchant bank account,
+ * whose KYC is going to be retrieved.
+ * @param[out] status store the result.
+ * @return transaction status.
+ */
+ enum GNUNET_DB_QueryStatus
+ (*get_kyc_status) (void *cls,
+ struct TALER_EXCHANGEDB_Session *session,
+ const char *payto_url,
+ uint8_t *status);
};
#endif /* _TALER_EXCHANGE_DB_H */