summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_responses.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-11 17:32:56 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-11 17:32:56 +0100
commit30c6580c4eb90050cf2f58127eb71da2b9f0d459 (patch)
tree7f27b8e581cc59f852ed290d74694add2363c0f4 /src/exchange/taler-exchange-httpd_responses.c
parent8992c30631b14fe3fa8b2bfb7b7b3c7e493d9113 (diff)
downloadexchange-30c6580c4eb90050cf2f58127eb71da2b9f0d459.tar.gz
exchange-30c6580c4eb90050cf2f58127eb71da2b9f0d459.tar.bz2
exchange-30c6580c4eb90050cf2f58127eb71da2b9f0d459.zip
-return EC as part of 451 KYC required replies
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r--src/exchange/taler-exchange-httpd_responses.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c
index c5fed44ac..ab9b81390 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -1128,6 +1128,7 @@ TEH_RESPONSE_reply_kyc_required (struct MHD_Connection *connection,
return TALER_MHD_REPLY_JSON_PACK (
connection,
MHD_HTTP_UNAVAILABLE_FOR_LEGAL_REASONS,
+ TALER_JSON_pack_ec (TALER_EC_EXCHANGE_GENERIC_KYC_REQUIRED),
GNUNET_JSON_pack_data_auto ("h_payto",
h_payto),
GNUNET_JSON_pack_uint64 ("requirement_row",