gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -add kyc-webhook endpoint


From: gnunet
Subject: [taler-exchange] branch master updated: -add kyc-webhook endpoint
Date: Sun, 12 Nov 2023 11:23:21 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 5f616ec6 -add kyc-webhook endpoint
5f616ec6 is described below

commit 5f616ec6884aa8ba132d4c997f9d6cf76a98c38b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Nov 12 10:23:18 2023 +0100

    -add kyc-webhook endpoint
---
 contrib/gana                        |  2 +-
 src/exchange/taler-exchange-httpd.c | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/contrib/gana b/contrib/gana
index 34f20d8b..d610d189 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 34f20d8be618409730e02f0078896ec129d8a404
+Subproject commit d610d18984a87b2bde50778c2186f03baf83ec21
diff --git a/src/exchange/taler-exchange-httpd.c 
b/src/exchange/taler-exchange-httpd.c
index 46d5833a..34dda85b 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -46,6 +46,7 @@
 #include "taler-exchange-httpd_kyc-check.h"
 #include "taler-exchange-httpd_kyc-proof.h"
 #include "taler-exchange-httpd_kyc-wallet.h"
+#include "taler-exchange-httpd_kyc-webhook.h"
 #include "taler-exchange-httpd_link.h"
 #include "taler-exchange-httpd_management.h"
 #include "taler-exchange-httpd_melt.h"
@@ -1723,6 +1724,20 @@ handle_mhd_request (void *cls,
       .handler.post = &TEH_handler_kyc_wallet,
       .nargs = 0
     },
+    {
+      .url = "kyc-webhook",
+      .method = MHD_HTTP_METHOD_GET,
+      .handler.get = &TEH_handler_kyc_webhook_get,
+      .nargs = UINT_MAX,
+      .nargs_is_upper_bound = true
+    },
+    {
+      .url = "kyc-webhook",
+      .method = MHD_HTTP_METHOD_POST,
+      .handler.post = &TEH_handler_kyc_webhook_post,
+      .nargs = UINT_MAX,
+      .nargs_is_upper_bound = true
+    },
     /* POST management endpoints */
     {
       .url = "management",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]