aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_helper.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-01 00:09:55 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-01 00:09:55 +0200
commit583c01c6224dd317f9665e623b02a32b74fdf74a (patch)
tree0b12e40c9dafde2b235c3c405a1ee032ff0e70d4 /src/backend/taler-merchant-httpd_helper.h
parenta7fe1d1b77ce1d7959522262f85788807d56316b (diff)
first rough cut at merchant update for #7810 (still with known bugs)
Diffstat (limited to 'src/backend/taler-merchant-httpd_helper.h')
-rw-r--r--src/backend/taler-merchant-httpd_helper.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_helper.h b/src/backend/taler-merchant-httpd_helper.h
index 930186d3..3b64c04b 100644
--- a/src/backend/taler-merchant-httpd_helper.h
+++ b/src/backend/taler-merchant-httpd_helper.h
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2021 Taler Systems SA
+ Copyright (C) 2021-2023 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free Software
@@ -187,4 +187,18 @@ TMH_trigger_webhook (const char *instance,
const json_t *args);
+/**
+ * Return JSON array with all of the exchange accounts
+ * that support the given @a wire_method.
+ *
+ * @param master_pub master public key to match exchange by
+ * @param wire_method NULL for any
+ * @return JSON array with information about all matching accounts
+ */
+json_t *
+TMH_exchange_accounts_by_method (
+ const struct TALER_MasterPublicKeyP *master_pub,
+ const char *wire_method);
+
+
#endif