diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-17 19:02:26 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-17 19:02:26 +0200 |
commit | adb93355282653438c9850948146cd5171d92aaf (patch) | |
tree | 34171cf610ee2be9626802371fd0463bfee64309 /src/exchange/taler-exchange-httpd.c | |
parent | b38b51d5e8b71f2fcf30dc6aaef82c1fbcede5f8 (diff) | |
download | exchange-adb93355282653438c9850948146cd5171d92aaf.tar.gz exchange-adb93355282653438c9850948146cd5171d92aaf.tar.bz2 exchange-adb93355282653438c9850948146cd5171d92aaf.zip |
integrate /kyc-* handlers with dispatching logic
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 194a2378a..5491c3ef3 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -835,6 +835,25 @@ handle_mhd_request (void *cls, .handler.get = &TEH_handler_deposits_get, .nargs = 4 }, + /* KYC endpoints */ + { + .url = "kyc-check", + .method = MHD_HTTP_METHOD_GET, + .handler.get = &TEH_handler_kyc_check, + .nargs = 1 + }, + { + .url = "kyc-proof", + .method = MHD_HTTP_METHOD_GET, + .handler.get = &TEH_handler_kyc_proof, + .nargs = 1 + }, + { + .url = "kyc-wallet", + .method = MHD_HTTP_METHOD_POST, + .handler.post = &TEH_handler_kyc_wallet, + .nargs = 0 + }, /* POST management endpoints */ { .url = "management", |