aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_get-orders-ID.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-06-09 12:00:15 +0200
committerChristian Grothoff <christian@grothoff.org>2020-06-09 12:00:15 +0200
commitb5b3f8adc175519530ee17137e532393727682ca (patch)
treed9d5f3ed5f73a76bd8d312abbc8a69312ffde18a /src/backend/taler-merchant-httpd_get-orders-ID.h
parentfcf60499c3ab3e23c458cecdf8f51dd7cf5e16d3 (diff)
start to build get-orders-ID
Diffstat (limited to 'src/backend/taler-merchant-httpd_get-orders-ID.h')
-rw-r--r--src/backend/taler-merchant-httpd_get-orders-ID.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.h b/src/backend/taler-merchant-httpd_get-orders-ID.h
index 3aa157da..1d2d61f2 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.h
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.h
@@ -25,6 +25,23 @@
/**
+ * Create a taler://pay/ URI for the given @a con and @a order_id
+ * and @a session_id and @a instance_id.
+ *
+ * @param con HTTP connection
+ * @param order_id the order id
+ * @param session_id session, may be NULL
+ * @param instance_id instance, may be "default"
+ * @return corresponding taler://pay/ URI, or NULL on missing "host"
+ */
+char *
+TMH_make_taler_pay_uri (struct MHD_Connection *con,
+ const char *order_id,
+ const char *session_id,
+ const char *instance_id);
+
+
+/**
* Handle a GET "/orders/$ID" request.
*
* @param rh context of the handler