commit 524f9418370652bfcf5940e83ebed183f76e5ccb
parent e2afaa97ae49d40bf82a81d8651d415a9d56a7c9
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Fri, 13 Oct 2023 19:46:39 +0200
allow template to just require an amount
Diffstat:
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -3307,6 +3307,13 @@ Adding templates
// Human-readable summary for the template.
summary?: string;
+ // Required currency for payments to the template.
+ // The user may specify any amount, but it must be
+ // in this currency.
+ // This parameter is optional and should not be present
+ // if "amount" is given.
+ currency?: string;
+
// The price is imposed by the merchant and cannot be changed by the customer.
// This parameter is optional.
amount?: Amount;
diff --git a/manpages/taler.conf.5.rst b/manpages/taler.conf.5.rst
@@ -721,6 +721,9 @@ CURRENCY
The entire section is ignored if the currency does not match the currency
we use, which must be given in the ``[taler]`` section.
+DISABLED
+ Set to YES to disable this exchange. Optional option, defaults to NO.
+
AUDITOR OPTIONS
---------------