diff options
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index 72641a46..cdd5aacd 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -1845,6 +1845,29 @@ struct TALER_MERCHANTDB_Plugin /** + * Set an instance's account's KYC status to failed. + * + * @param cls closure + * @param merchant_id merchant backend instance ID + * @param h_wire hash of the wire account to check + * @param exchange_url base URL of the exchange to check + * @param timestamp timestamp to store + * @param exchange_http_status HTTP status code returned last by the exchange + * @param kyc_ok current KYC status (should be false) + * @return database result code + */ + enum GNUNET_DB_QueryStatus + (*account_kyc_set_failed) ( + void *cls, + const char *merchant_id, + const struct TALER_MerchantWireHashP *h_wire, + const char *exchange_url, + struct GNUNET_TIME_Timestamp timestamp, + unsigned int exchange_http_status, + bool kyc_ok); + + + /** * Lookup all of the products the given instance has configured. * * @param cls closure |