commit 8c9b636c83c0d02a1b6ea1d43b03b2720a9d1e57
parent 889fc8d695b9359b8f3a6b85ad869f7718742f60
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 23 Apr 2024 16:08:55 +0200
unify wallet 451 with other 451
Diffstat:
1 file changed, 17 insertions(+), 25 deletions(-)
diff --git a/design-documents/023-taler-kyc.rst b/design-documents/023-taler-kyc.rst
@@ -913,7 +913,7 @@ New endpoints
This response comes with a standard `ErrorDetail` response.
:http:statuscode:`451 Unavailable for Legal Reasons`:
The wallet must undergo a KYC check. A KYC ID was created.
- The response will be a `WalletKycUuid` object.
+ The response will be a `KycNeededRedirect` object.
**Details:**
@@ -936,19 +936,6 @@ New endpoints
reserve_pub: EddsaPublicKey;
}
- .. ts:def:: WalletKycUuid
-
- interface WalletKycUuid {
-
- // UUID that the wallet should use when initiating
- // the KYC check.
- requirement_row: number;
-
- // Hash of the payto:// account URI for the wallet.
- h_payto: PaytoHash;
-
- }
-
.. http:get:: /aml/$OFFICER_PUB/measures
@@ -1052,13 +1039,12 @@ New endpoints
fallback: string;
}
-.. http:get:: /aml/kyc-statistics/$NAME
+.. http:get:: /aml/$OFFICER_PUB/kyc-statistics/$NAME
- Returns the number of KYC events matching the given
- event type ``$NAME`` in the specified time range.
- Note that this query can be slow as the statistics
- are computed on-demand. (This is OK as such requests
- should be rare.)
+ Returns the number of KYC events matching the given event type ``$NAME`` in
+ the specified time range. Note that this query can be slow as the
+ statistics are computed on-demand. (This is OK as such requests should be
+ rare.)
**Request:**
@@ -1157,6 +1143,9 @@ New endpoints
.. http:get:: /aml/$OFFICER_PUB/attributes/$H_PAYTO
+ Obtain attributes obtained as part of AML/KYC processes for a
+ given account.
+
**Request:**
*Taler-AML-Officer-Signature*:
@@ -1258,6 +1247,9 @@ New endpoints
// What are the new rules?
new_rules: LegitimizationRuleSet;
+ // True if the account should remain under investigation by AML staff.
+ bool keep_investigating;
+
// When was the decision made?
decision_time: Timestamp;
@@ -2211,12 +2203,12 @@ For ``/kyc-webhook/``:
Types of KYC events
^^^^^^^^^^^^^^^^^^^
-The ``/aml/kyc-statistics`` endpoint exposes statistics
-for various KYC event types.
+The ``/aml/$OFFICER_PUB/kyc-statistics`` endpoint exposes statistics for
+various KYC event types.
-We will initially support the use of the following types
-of KYC events in the SPA (and have a dialog to show the
-total number of any of these for any specified time range):
+We will initially support the use of the following types of KYC events in the
+SPA (and have a dialog to show the total number of any of these for any
+specified time range):
* account-open
* account-closed