summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine A <>2023-12-02 15:58:59 +0000
committerAntoine A <>2023-12-02 15:58:59 +0000
commitd0019033848e2b326ad6be44217dfb58ec406b65 (patch)
tree90f9052775fae0a9e41138a4ffb7c30b3068f453
parent8ed22e0a292e8b0cfbcbb19d9dd138239b833027 (diff)
downloaddocs-d0019033848e2b326ad6be44217dfb58ec406b65.tar.gz
docs-d0019033848e2b326ad6be44217dfb58ec406b65.tar.bz2
docs-d0019033848e2b326ad6be44217dfb58ec406b65.zip
Update libeufin-bank documentation
-rw-r--r--core/api-corebank.rst5
-rw-r--r--libeufin/bank-manual.rst5
-rw-r--r--libeufin/regional-manual.rst2
-rw-r--r--manpages/libeufin-bank.conf.5.rst7
4 files changed, 9 insertions, 10 deletions
diff --git a/core/api-corebank.rst b/core/api-corebank.rst
index bbcc17cc..722c0f3d 100644
--- a/core/api-corebank.rst
+++ b/core/api-corebank.rst
@@ -149,6 +149,10 @@ Account Management
// Internal payto URI of this bank account.
// Used mostly for testing.
internal_payto_uri?: string;
+
+ // If present, set the max debit allowed for this user
+ // Only admin can change this property.
+ debit_threshold?: Amount
}
.. ts:def:: ChallengeContactData
@@ -177,6 +181,7 @@ Account Management
* ``TALER_EC_BANK_REGISTER_PAYTO_URI_REUSE`` : payto URI already used.
* ``TALER_EC_BANK_UNALLOWED_DEBIT`` : admin account does not have sufficient funds to grant bonus.
* ``TALER_EC_BANK_RESERVED_USERNAME_CONFLICT`` : a reserved username was attempted, like ``admin`` or ``bank``
+ * ``TALER_EC_BANK_NON_ADMIN_PATCH_DEBT_LIMIT``: a non-admin user has tried to change their debt limit.
**Details:**
diff --git a/libeufin/bank-manual.rst b/libeufin/bank-manual.rst
index 4405b2d0..b1117664 100644
--- a/libeufin/bank-manual.rst
+++ b/libeufin/bank-manual.rst
@@ -48,9 +48,6 @@ The following snippet shows the mandatory configuration values :
[libeufin-bank]
CURRENCY = KUDOS
- # Debt limit
- DEFAULT_ADMIN_DEBT_LIMIT = KUDOS:200000000
-
# Server
SERVE = tcp
PORT = 8080
@@ -124,7 +121,7 @@ Then the following command would start the server with conversion API enabled :
Web-based Configuration
-----------------------
-Now you should be able to setup conversion rates though the Web
+Now you should be able to setup conversion rates and ``admin`` debt limit though the Web
interface of the bank as the ``admin`` user.
Conversion ON!
diff --git a/libeufin/regional-manual.rst b/libeufin/regional-manual.rst
index 383f3184..80b8b1f0 100644
--- a/libeufin/regional-manual.rst
+++ b/libeufin/regional-manual.rst
@@ -182,7 +182,7 @@ offers them in ``contrib/``: adjust to your setup!
Web-based Configuration
-----------------------
-Now you should be able to setup conversion rates though the Web
+Now you should be able to setup conversion rates and ``admin`` debt limit though the Web
interface of the bank as the ``admin`` user.
diff --git a/manpages/libeufin-bank.conf.5.rst b/manpages/libeufin-bank.conf.5.rst
index 9d83ceda..0b27319f 100644
--- a/manpages/libeufin-bank.conf.5.rst
+++ b/manpages/libeufin-bank.conf.5.rst
@@ -35,11 +35,8 @@ The following options are from the “[libeufin-bank]” section.
CURRENCY
Internal currency of the libeufin-bank, e.g. “EUR” for Euro.
-DEFAULT_CUSTOMER_DEBT_LIMIT
- Default debt limit for newly created customer accounts. Defaults to CURRENCY:0 if not specified.
-
-DEFAULT_ADMIN_DEBT_LIMIT
- Default debt limit of the admin. Typically higher, since sign-up bonuses and cashin are deducted from the admin account. Defaults to CURRENCY:0 if not specified.
+DEFAULT_DEBT_LIMIT
+ Default debt limit for newly created accounts. Defaults to CURRENCY:0 if not specified.
REGISTRATION_BONUS
Value of the registration bonus for new users. Defaults to CURRENCY:0 if not specified.