diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-10 13:08:53 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-10 13:08:53 +0200 |
commit | 109a4a5aa1393da6241e479d13bce6d8c37b3275 (patch) | |
tree | 1034b1cf5b87d042de603286b63d5439f7844311 /src/include | |
parent | 8f6b8dbe97181de6deced776f68e3ac30e3834fc (diff) | |
download | exchange-109a4a5aa1393da6241e479d13bce6d8c37b3275.tar.xz |
KYC DB methods: store a wire transfer.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 */ |