From 2f3513035397fe01869f080b5c46ab7658072f93 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 4 Aug 2022 12:59:26 +0200 Subject: -update --- design-documents/023-taler-kyc.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'design-documents') diff --git a/design-documents/023-taler-kyc.rst b/design-documents/023-taler-kyc.rst index 87982ce7..90f6109d 100644 --- a/design-documents/023-taler-kyc.rst +++ b/design-documents/023-taler-kyc.rst @@ -173,26 +173,28 @@ Configuration Options The configuration specifies a set of providers, one per configuration section: -[provider-$PROVIDER_ID] +[kyc-provider-$PROVIDER_ID] # How expensive is it to use this provider? # Used to pick the cheapest provider possible. COST = NUMBER # Which plugin is responsible for this provider? LOGIC = PLUGIN_NAME +# Which type of user does this provider handle? +# Either INDIVIDUAL or BUSINESS. +USER_TYPE = INDIVIDUAL # Which checks does this provider provide? # List of strings, no specific semantics. PROVIDED_CHECKS = SMS GOVID PHOTO # Plus additional logic-specific options, e.g.: AUTHORIZATION_TOKEN = superdupersecret FORM_ID = business_legi_form +# How long is the check considered valid? +EXPIRATION = DURATION The configuration also specifies a set of legitimization requirements, one per configuration section: -[legitimization-$RULE_NAME] -# For which type of user do these legitimization -# rules apply? Either INDIVIDUAL or BUSINESS. -USER_TYPE = INDIVIDUAL +[kyc-legitimization-$RULE_NAME] # Operation that triggers this legitimization. # Must be one of WITHDRAW, DEPOSIT, P2P-RECEIVE # or WALLET-BALANCE. @@ -201,8 +203,6 @@ OPERATION_TYPE = WITHDRAW # List of strings, must individually match the # strings in one or more provider's PROVIDED_CHECKS. REQUIRED_CHECKS = SMS GOVID -# How long is the check considered valid? -EXPIRATION = DURATION # Threshold amount above which the legitimization is # triggered. The total must be exceeded in the given # timeframe. Can be 'forever'. @@ -369,6 +369,7 @@ This section provides a sketch of the proposed API for the KYC logic plugins. + h_payto - outputs: + success/provider-failure + + redirect URL (or NULL) + provider_user_id (or NULL) + provider_legitimization_id (or NULL) -- cgit v1.2.3