From 932d2aaf88d9c871bc64abcd8d7ab9c5a4f543fd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 17 Oct 2021 13:22:15 +0200 Subject: implement returning KYC status from GET /deposits/ endpoint --- src/lib/exchange_api_deposits_get.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/exchange_api_deposits_get.c b/src/lib/exchange_api_deposits_get.c index 6c2aa1cb..f57388c8 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); -- cgit v1.2.3