taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 55e214061688073779f305abe6432c65b718c9a9
parent d101a65394eae7d2a50cb3e4c443ef6cae470230
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 11 Jan 2023 17:33:20 +0100

-return EC as part of 451 KYC required replies

Diffstat:
Mcore/api-exchange.rst | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/core/api-exchange.rst b/core/api-exchange.rst @@ -1791,6 +1791,14 @@ exchange. interface KycNeededRedirect { + // Numeric `error code <error-codes>` 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;