diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-06 22:17:15 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-05-06 22:17:15 +0200 |
commit | 1d41f0e425309d3f7e223f3ea7d3675105110019 (patch) | |
tree | ee10eb1b57a15cb212fc83cb5ff19c6f2f82364d /src/backend/taler-merchant-httpd.c | |
parent | 05afe21f0f4788451af7baaeda4f2f7fd6c547c5 (diff) | |
download | merchant-1d41f0e425309d3f7e223f3ea7d3675105110019.tar.gz merchant-1d41f0e425309d3f7e223f3ea7d3675105110019.tar.bz2 merchant-1d41f0e425309d3f7e223f3ea7d3675105110019.zip |
integrate POST /tranfers handler
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 47443470..131699e0 100644 --- 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 } |