commit b0c905dfc1270a8e6fa578dbcbdda14448546e7e
parent 75a7824617512013527c917fb9f1f12f8938bc94
Author: Florian Dold <florian.dold@gmail.com>
Date: Sun, 11 Mar 2018 13:52:47 +0100
clarify amounts
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/merchant-api.content.texi b/doc/merchant-api.content.texi
@@ -236,7 +236,7 @@ following fields must be given:
@itemize
@item @var{amount}: The amount to be paid, as a string in the format
-@code{CURRENCY:VALUE}, for example @code{EUR:10} for 10 Euros or
+@code{CURRENCY:DECIMAL_VALUE}, for example @code{EUR:10} for 10 Euros or
@code{KUDOS:1.5} for 1.5 KUDOS.
@item @var{summary}: A human-readable summary for what the payment is about,
@@ -433,6 +433,8 @@ callbacks that do more than just showing and hiding elements.
A Taler order can specify many details about the payment.
This section describes each of the fields in depth.
+Financial amounts are always specified as a string in the format @code{"CURRENCY:DECIMAL_VALUE"}.
+
@table @var
@item amount
@cindex amount