summaryrefslogtreecommitdiff
path: root/core/api-exchange.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-18 17:51:42 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-18 17:51:42 +0200
commit72065f18ba1f08355aa2a767c05fbda8587b3e3b (patch)
treeb8c154478effb4a341ee82a542668dd0b2432332 /core/api-exchange.rst
parent2961b83cd565b81f6616ff779c65a9a7a6334f48 (diff)
downloaddocs-72065f18ba1f08355aa2a767c05fbda8587b3e3b.tar.gz
docs-72065f18ba1f08355aa2a767c05fbda8587b3e3b.tar.bz2
docs-72065f18ba1f08355aa2a767c05fbda8587b3e3b.zip
clarify
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r--core/api-exchange.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 9b8b2d1..d588e58 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -2617,7 +2617,9 @@ Wallet-to-wallet transfers
The response will include a `PurseDepositSuccess` object.
:http:statuscode:`202 Accepted`:
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.
:http:statuscode:`401 Unauthorized`:
@@ -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
+ ``TALER_EC_EXCHANGE_GENERIC_COIN_CONFLICTING_DENOMINATION_KEY``).
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