diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-02 12:03:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-02 12:03:55 +0100 |
commit | eab95d015412833c96568fb91d25aa23c53c45cd (patch) | |
tree | a4c23c072b4dae0c982ca8a364b29a1bdceb4f80 /src/exchange/taler-exchange-httpd_aml-decision.h | |
parent | 915542e69c5a481b8885661171880446d4ef009d (diff) | |
download | exchange-eab95d015412833c96568fb91d25aa23c53c45cd.tar.gz exchange-eab95d015412833c96568fb91d25aa23c53c45cd.tar.bz2 exchange-eab95d015412833c96568fb91d25aa23c53c45cd.zip |
draft for the AML GET decision endpoint
Diffstat (limited to 'src/exchange/taler-exchange-httpd_aml-decision.h')
-rw-r--r-- | src/exchange/taler-exchange-httpd_aml-decision.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_aml-decision.h b/src/exchange/taler-exchange-httpd_aml-decision.h index e31cfdfad..033db4a89 100644 --- a/src/exchange/taler-exchange-httpd_aml-decision.h +++ b/src/exchange/taler-exchange-httpd_aml-decision.h @@ -58,4 +58,22 @@ TEH_handler_aml_decisions_get ( const struct TALER_AmlOfficerPublicKeyP *officer_pub, const char *const args[]); + +/** + * Handle a GET "/aml/$OFFICER_PUB/decision/$H_PAYTO" request. Parses the request + * details, checks the signatures and if appropriately authorized returns + * the AML history and KYC attributes for the account. + * + * @param rc request context + * @param officer_pub public key of the AML officer who made the request + * @param args GET arguments (should be one) + * @return MHD result code + */ +MHD_RESULT +TEH_handler_aml_decision_get ( + struct TEH_RequestContext *rc, + const struct TALER_AmlOfficerPublicKeyP *officer_pub, + const char *const args[]); + + #endif |