summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-17 13:22:15 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-17 13:22:15 +0200
commit932d2aaf88d9c871bc64abcd8d7ab9c5a4f543fd (patch)
tree56e30b12989583a01d24dd496d8dec67ab3a90f5 /src/lib
parent0739405f679782ed925cb3041dda14d062798ff2 (diff)
downloadexchange-932d2aaf88d9c871bc64abcd8d7ab9c5a4f543fd.tar.gz
exchange-932d2aaf88d9c871bc64abcd8d7ab9c5a4f543fd.tar.bz2
exchange-932d2aaf88d9c871bc64abcd8d7ab9c5a4f543fd.zip
implement returning KYC status from GET /deposits/ endpoint
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_deposits_get.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/exchange_api_deposits_get.c b/src/lib/exchange_api_deposits_get.c
index 6c2aa1cb1..f57388c89 100644
--- a/src/lib/exchange_api_deposits_get.c
+++ b/src/lib/exchange_api_deposits_get.c
@@ -197,6 +197,10 @@ handle_deposit_wtid_finished (void *cls,
struct GNUNET_JSON_Specification spec[] = {
TALER_JSON_spec_absolute_time ("execution_time",
&dr.details.accepted.execution_time),
+ GNUNET_JSON_spec_uint64 ("execution_time",
+ &dr.details.accepted.payment_target_uuid),
+ GNUNET_JSON_spec_bool ("kyc_ok",
+ &dr.details.accepted.kyc_ok),
GNUNET_JSON_spec_end ()
};
@@ -210,7 +214,6 @@ handle_deposit_wtid_finished (void *cls,
dr.hr.ec = TALER_EC_GENERIC_REPLY_MALFORMED;
break;
}
- dr.details.accepted.payment_target_uuid; // FIXME
dwh->cb (dwh->cb_cls,
&dr);
TALER_EXCHANGE_deposits_get_cancel (dwh);