diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index b280386b..92334bbb 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -42,10 +42,11 @@ #include "taler-merchant-httpd_private-patch-instances-ID.h" #include "taler-merchant-httpd_private-patch-products-ID.h" #include "taler-merchant-httpd_private-post-instances.h" -#include "taler-merchant-httpd_private-post-products.h" -#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-products.h" +#include "taler-merchant-httpd_private-post-products-ID-lock.h" +#include "taler-merchant-httpd_private-post-reserves.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" @@ -833,6 +834,12 @@ url_handler (void *cls, .have_id_segment = true, .handler = &TMH_private_post_orders_ID_refund }, + /* POST /reserves: */ + { + .url_prefix = "/reserves", + .method = MHD_HTTP_METHOD_POST, + .handler = &TMH_private_post_reserves + }, /* POST /transfers: */ { .url_prefix = "/transfers", |