commit 1d41f0e425309d3f7e223f3ea7d3675105110019
parent 05afe21f0f4788451af7baaeda4f2f7fd6c547c5
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 6 May 2020 22:17:15 +0200
integrate POST /tranfers handler
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
@@ -45,6 +45,7 @@
#include "taler-merchant-httpd_private-post-products-ID-lock.h"
#include "taler-merchant-httpd_private-post-orders.h"
#include "taler-merchant-httpd_private-post-orders-ID-refund.h"
+#include "taler-merchant-httpd_private-post-transfers.h"
#include "taler-merchant-httpd_post-orders-ID-abort.h"
#include "taler-merchant-httpd_post-orders-ID-claim.h"
#include "taler-merchant-httpd_post-orders-ID-pay.h"
@@ -829,6 +830,12 @@ url_handler (void *cls,
.have_id_segment = true,
.handler = &TMH_private_post_orders_ID_refund
},
+ /* POST /transfers: */
+ {
+ .url_prefix = "/transfers",
+ .method = MHD_HTTP_METHOD_POST,
+ .handler = &TMH_private_post_transfers
+ },
{
NULL
}