|author||Christian Grothoff <firstname.lastname@example.org>||2021-05-18 17:51:42 +0200|
|committer||Christian Grothoff <email@example.com>||2021-05-18 17:51:42 +0200|
Diffstat (limited to 'core/api-exchange.rst')
1 files changed, 9 insertions, 3 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 9b8b2d1..d588e58 100644
@@ -2617,7 +2617,9 @@ Wallet-to-wallet transfers
The response will include a `PurseDepositSuccess` object.
The payment was accepted, but insufficient to reach the
- specified purse balance. The client should make further
+ specified purse balance. If an encrypted contract was
+ provided, it will have been stored in the database.
+ The client should make further
purse deposits before the expiration deadline.
The response will include a `PurseDepositAccepted` object.
@@ -2635,12 +2637,16 @@ Wallet-to-wallet transfers
residual value, or because the same public key of the coin has been
previously used with a different denomination. Which case it is
can be decided by looking at the error code
- (``TALER_EC_EXCHANGE_DEPOSIT_INSUFFICIENT_FUNDS`` or ``TALER_EC_EXCHANGE_GENERIC_COIN_CONFLICTING_DENOMINATION_KEY``).
+ (``TALER_EC_EXCHANGE_DEPOSIT_INSUFFICIENT_FUNDS`` or
The fields of the response are the same in both cases.
The request should not be repeated again with this coin.
In this case, the response is a `PurseDepositDoubleSpendError`.
If the value of all successful coins is below the purse fee,
- the exchange may not setup the purse at all.
+ the exchange may not setup the purse at all. The encrypted
+ contract will not have been associated with the purse if this
+ status code is returned. However, all coins that were not
+ double-spent will have been deposited into the purse.
:http:statuscode:`425 Too Early`:
This response type is used if the given purse expiration time
is too far in the future (at least from the perspective