diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-14 18:04:09 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-14 18:04:09 +0200 |
commit | 74ba46db39d3a906e819cd0ed48f1d46dffe9e38 (patch) | |
tree | 53f050bacd2e634dc5e746a257b10be9294afa71 /src/exchange/taler-exchange-httpd_responses.c | |
parent | 913eacf506860a73043be09425d1c143b786e871 (diff) | |
download | exchange-74ba46db39d3a906e819cd0ed48f1d46dffe9e38.tar.gz exchange-74ba46db39d3a906e819cd0ed48f1d46dffe9e38.tar.bz2 exchange-74ba46db39d3a906e819cd0ed48f1d46dffe9e38.zip |
-work on new KYC logic: tests pass again
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index 2642f433a..0320a07b3 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -977,4 +977,16 @@ TEH_RESPONSE_reply_purse_created ( } +MHD_RESULT +TEH_RESPONSE_reply_kyc_required (struct MHD_Connection *connection, + const struct TALER_EXCHANGEDB_KycStatus *kyc) +{ + return TALER_MHD_REPLY_JSON_PACK ( + connection, + MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS, + GNUNET_JSON_pack_uint64 ("legitimization_uuid", + kyc->payment_target_uuid)); +} + + /* end of taler-exchange-httpd_responses.c */ |