taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 80f8c101c92bf0a181947929fafb2ae4ed504513
parent 9fef4fc368928452a7c94822d12b615b52d487b0
Author: Sebastian <sebasjm@gmail.com>
Date:   Tue,  1 Jul 2025 11:17:35 -0300

adding that are required in the current implementation of libeufin

Diffstat:
Mdesign-documents/063-libeufin-conversion-rate-classes.rst | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/design-documents/063-libeufin-conversion-rate-classes.rst b/design-documents/063-libeufin-conversion-rate-classes.rst @@ -26,6 +26,9 @@ The current global conversion rate schema is: // Rounding mode used during cashin conversion cashin_rounding_mode: "zero" | "up" | "nearest"; + // Smallest possible fiat amount, converted amount is rounded to this amount + cashin_tiny_amount: Amount; + // Minimum regional amount authorised for cashout before conversion cashout_min_amount: Amount; @@ -37,6 +40,10 @@ The current global conversion rate schema is: // Rounding mode used during cashout conversion cashout_rounding_mode: "zero" | "up" | "nearest"; + + // Smallest possible fiat amount, converted amount is rounded to this amount + cashout_tiny_amount: Amount; + } This would become the ``default`` class with ``conversion_rate_class_id = 0``, that will be used by all new users that are created with ``conversion_rate_class_id = null`` or updated with a PATCH request with ``conversion_rate_class_id = null``. The administrator would be able to create new classes with values that override some of the default properties: