From cd2538efb57d34d592efc551695a1b1174433ccb Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 9 Jul 2018 10:37:12 +0200 Subject: Method to retrieve the KYC status of a merchant. --- src/include/taler_exchangedb_plugin.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/include') 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 */ -- cgit v1.2.3