summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-10-19 12:39:23 +0200
committerMS <ms@taler.net>2023-10-19 12:39:56 +0200
commit7a3025e0d8ae698994a0d1c51dba15fff78aea1c (patch)
tree7b5d7c27be7fcebeeb43c09008e6f301226c1e4d
parent14fc31f083a4cbb1ae110f9d243d5faf6a9569c1 (diff)
downloaddocs-7a3025e0d8ae698994a0d1c51dba15fff78aea1c.tar.gz
docs-7a3025e0d8ae698994a0d1c51dba15fff78aea1c.tar.bz2
docs-7a3025e0d8ae698994a0d1c51dba15fff78aea1c.zip
conversion calculation: wrong currency gets 400
-rw-r--r--core/api-corebank.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/api-corebank.rst b/core/api-corebank.rst
index 84dc0765..3a6aeeb0 100644
--- 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.