commit dbba76da4a7b79e369062bfc68cb22ddb67eae1e
parent bd74752b1fe8e4edc7fdf0b29da377121ca7ede0
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 6 Nov 2022 22:30:04 +0100
fix #7427 (doc update)
Diffstat:
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/core/api-common.rst b/core/api-common.rst
@@ -1434,7 +1434,6 @@ within the
struct TALER_PaytoHash h_payto;
struct GNUNET_HashCode h_kyc;
struct GNUNET_TIME_AbsoluteNBO timestamp;
- struct GNUNET_TIME_AbsoluteNBO kyc_expiration;
};
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -4501,7 +4501,11 @@ KYC status updates
.. ts:def:: AccountKycStatus
- interface AccountKycStatus {
+ interface AccountKycStatus {
+
+ // Details about the KYC check that the user
+ // passed.
+ kyc_details: KycDetails;
// Current time of the exchange, used as part of
// what the exchange signs over.
@@ -4519,7 +4523,7 @@ KYC status updates
.. ts:def:: AccountKycRedirect
- interface AccountKycRedirect {
+ interface AccountKycRedirect {
// URL that the user should open in a browser to
// proceed with the KYC process.
@@ -4527,6 +4531,15 @@ KYC status updates
}
+ .. ts:def:: KycDetails
+
+ // Object that specifies which KYC checks are satisfied.
+ interface KycDetails {
+
+ // Keys are the names of the check(s).
+ // The values are for now always empty objects.
+
+ }
.. http:GET:: /kyc-proof/$H_PAYTO/$PROVIDER_SECTION