commit c1f623b50580c9ecc5a2cdbe4d91d51ff182556d
parent 224158fe7ac6b0bf2597aef8517704193306b2a9
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 28 Oct 2025 14:07:31 +0100
document another EC case on /withdraw
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -1758,13 +1758,17 @@ exchange.
that the client can commit to in a call to ``/withdraw``, this time
with ``max_age`` set accordingly and ``coin_evs`` being an array
of ``n*kappa`` elements of type `CoinEnvelope`.
- 3. the provided value for ``max_age`` is higher than the allowed value
+ 3. The provided value for ``max_age`` is higher than the allowed value
according to the reserve's birthday. The response comes with a
standard `ErrorDetail` response with error-code
``TALER_EC_EXCHANGE_AGE_WITHDRAW_MAXIMUM_AGE_TOO_LARGE``
and an additional field ``maximum_allowed_age`` for the maximum
age (in years) that the client can commit to in a call
to ``/withdraw``.
+ 4. The request uses a nonce value that was previously seen by
+ the exchange for a different request. As nonces must be unique,
+ the request is rejected. This can only happen with some cipher
+ types that use nonces.
:http:statuscode:`410 Gone`:
A requested denomination key is no longer valid. There are two cases: