From 55e214061688073779f305abe6432c65b718c9a9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 11 Jan 2023 17:33:20 +0100 Subject: -return EC as part of 451 KYC required replies --- core/api-exchange.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core/api-exchange.rst') diff --git a/core/api-exchange.rst b/core/api-exchange.rst index 34f6957a..6b7031c0 100644 --- a/core/api-exchange.rst +++ b/core/api-exchange.rst @@ -1791,6 +1791,14 @@ exchange. interface KycNeededRedirect { + // Numeric `error code ` unique to the condition. + // Should always be ``TALER_EC_EXCHANGE_GENERIC_KYC_REQUIRED``. + code: number; + + // Human-readable description of the error, i.e. "missing parameter", "commitment violation", ... + // Should give a human-readable hint about the error's nature. Optional, may change without notice! + hint?: string; + // Hash of the payto:// account URI that identifies // the account which is being KYCed. h_payto: PaytoHash; -- cgit v1.2.3