summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/api-common.rst1
-rw-r--r--core/api-exchange.rst17
2 files changed, 15 insertions, 3 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index d641de19..5b23b581 100644
--- 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
index 22319a39..92e76a54 100644
--- 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