From 109a4a5aa1393da6241e479d13bce6d8c37b3275 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 10 Jul 2018 13:08:53 +0200 Subject: KYC DB methods: store a wire transfer. --- src/include/taler_exchangedb_plugin.h | 17 +++++++++++++++++ 1 file changed, 17 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 3cecfb5fb..cf2842ea9 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -2305,6 +2305,23 @@ struct TALER_EXCHANGEDB_Plugin const char *payto_url, TALER_EXCHANGEDB_KycStatusCallback ksc, void *ksc_cls); + + /** + * Record timestamp where a particular merchant performed + * a wire transfer. + * + * @param cls closure. + * @param session db session. + * @param merchant_serial_id serial id of the merchant who + * performed the wire transfer. + * @param amount amount of the wire transfer being monitored. + * @return database transaction status. + */ + enum GNUNET_DB_QueryStatus + (*insert_kyc_event) (void *cls, + struct TALER_EXCHANGEDB_Session *session, + uint64_t merchant_serial_id, + struct TALER_Amount *amount); }; #endif /* _TALER_EXCHANGE_DB_H */ -- cgit v1.2.3