diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-04 12:59:26 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-04 12:59:29 +0200 |
commit | 2f3513035397fe01869f080b5c46ab7658072f93 (patch) | |
tree | d6905a261ea0c7fb46ec70c46109f1130078787f /design-documents | |
parent | 2f1cc2008801fc9cb71571db067c50c319bf55a5 (diff) | |
download | docs-2f3513035397fe01869f080b5c46ab7658072f93.tar.gz docs-2f3513035397fe01869f080b5c46ab7658072f93.tar.bz2 docs-2f3513035397fe01869f080b5c46ab7658072f93.zip |
-update
Diffstat (limited to 'design-documents')
-rw-r--r-- | design-documents/023-taler-kyc.rst | 15 |
1 files changed, 8 insertions, 7 deletions
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) |