commit 7a3025e0d8ae698994a0d1c51dba15fff78aea1c
parent 14fc31f083a4cbb1ae110f9d243d5faf6a9569c1
Author: MS <ms@taler.net>
Date: Thu, 19 Oct 2023 12:39:23 +0200
conversion calculation: wrong currency gets 400
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/api-corebank.rst b/core/api-corebank.rst
@@ -802,7 +802,8 @@ Cashouts
Response is a `CashoutConversionResponse`.
:http:statuscode:`400 Bad request`:
Both parameters have been provided and the calculation is not correct,
- or none of them has been provided.
+ or none of them has been provided, or the requested currency was not
+ supported. The response should clarify which case.
:http:statuscode:`404 Not found`:
The server does not support local currency conversion.