commit d2a1c4a73b129676846d1ef6b31bee21fb2e2035
parent a05deef3c0c6528e1176606587e124869ae8ffa5
Author: Antoine A <>
Date: Wed, 26 Jun 2024 23:25:01 +0200
corebank & integration: update TALER_EC_BANK_UNALLOWED_DEBIT cause and update libeufin-bank configuration
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/core/api-bank-integration.rst b/core/api-bank-integration.rst
@@ -234,7 +234,7 @@ for the withdrawal operation (the ``WITHDRAWAL_ID``) to interact with the withdr
withdrawal (since **vC2EC**).
* ``TALER_EC_BANK_AMOUNT_REQUIRED`` : the backend requires an amount to be
specified (since **vC2EC**).
- * ``TALER_EC_BANK_UNALLOWED_DEBIT`` : the account does not have sufficient funds (since **vC2EC**).
+ * ``TALER_EC_BANK_UNALLOWED_DEBIT`` : the account does not have sufficient funds or the amount is too low or too high (since **vC2EC**).
**Details:**
diff --git a/core/api-corebank.rst b/core/api-corebank.rst
@@ -809,7 +809,7 @@ Transactions
:http:statuscode:`409 Conflict`:
* ``TALER_EC_BANK_SAME_ACCOUNT`` : creditor account is the same than ``USERNAME``.
* ``TALER_EC_BANK_UNKNOWN_CREDITOR`` : creditor account was not found.
- * ``TALER_EC_BANK_UNALLOWED_DEBIT`` : the account does not have sufficient funds.
+ * ``TALER_EC_BANK_UNALLOWED_DEBIT`` : the account does not have sufficient funds or the amount is too low or too high.
* ``TALER_EC_BANK_TRANSFER_REQUEST_UID_REUSED``: an operation with the same ``request_uid`` but different details has been submitted before.
**Details:**
@@ -884,7 +884,7 @@ Account withdrawals
:http:statuscode:`409 Conflict`:
* ``TALER_EC_BANK_CONFIRM_ABORT_CONFLICT`` : the withdrawal has been aborted previously and can't be confirmed.
* ``TALER_EC_BANK_CONFIRM_INCOMPLETE`` : the withdraw operation cannot be confirmed because no exchange and reserve public key selection happened before.
- * ``TALER_EC_BANK_UNALLOWED_DEBIT`` : the account does not have sufficient funds.
+ * ``TALER_EC_BANK_UNALLOWED_DEBIT`` : the account does not have sufficient funds or the amount is too low or too high.
.. http:post:: /accounts/$USERNAME/withdrawals/$WITHDRAWAL_ID/abort
@@ -1024,7 +1024,7 @@ Cashouts
* ``TALER_EC_BANK_TRANSFER_REQUEST_UID_REUSED``: an operation with the same ``request_uid`` but different details has been submitted before.
* ``TALER_EC_BANK_BAD_CONVERSION``: exchange rate was calculated incorrectly by the client.
* ``TALER_EC_BANK_BANK_CONVERSION_AMOUNT_TO_SMALL``: the amount of the cashout is too small.
- * ``TALER_EC_BANK_UNALLOWED_DEBIT``: the account does not have sufficient funds.
+ * ``TALER_EC_BANK_UNALLOWED_DEBIT``: the account does not have sufficient funds or the amount is too low or too high.
* ``TALER_EC_BANK_CONFIRM_INCOMPLETE``: the user did not share any cashout payto to uri where to wire funds.
:http:statuscode:`501 Not Implemented`:
* ``TALER_EC_BANK_TAN_CHANNEL_NOT_SUPPORTED``: the chosen ``tan_channel`` is not currently supported.
diff --git a/manpages/libeufin-bank.conf.5.rst b/manpages/libeufin-bank.conf.5.rst
@@ -54,10 +54,10 @@ WIRE_TRANSFER_FEES
Wire transfer execution fees. Only applies to bank transactions and withdrawals. Defaults to ``CURRENCY:0`` if not specified.
MIN_WIRE_TRANSFER_AMOUNT
- Minimum wire transfer amount allowed. Only applies to bank transactions and withdrawals. Defaults to ``CURRENCY:0`` if not specified.
+ Minimum wire transfer amount allowed. Only applies to bank transactions and withdrawals. Defaults to no limit.
MAX_WIRE_TRANSFER_AMOUNT
- Maximum wire transfer amount allowed. Only applies to bank transactions and withdrawals. Defaults to ``CURRENCY:0`` if not specified.
+ Maximum wire transfer amount allowed. Only applies to bank transactions and withdrawals. Defaults to no limit.
DEFAULT_DEBT_LIMIT
Default debt limit for newly created accounts. Defaults to ``CURRENCY:0`` if not specified.