summaryrefslogtreecommitdiff
path: root/api-exchange.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-10-18 23:04:43 +0200
committerChristian Grothoff <christian@grothoff.org>2016-10-18 23:04:43 +0200
commit5315da03acdef93934533497d781b47cc17134d9 (patch)
treeb39c2473e41af7ed700be499fe3f60bb902658dd /api-exchange.rst
parentf0f8e4b873acf06cd7ac3dc5ef221bb3ab361fa1 (diff)
downloaddocs-5315da03acdef93934533497d781b47cc17134d9.tar.gz
docs-5315da03acdef93934533497d781b47cc17134d9.tar.bz2
docs-5315da03acdef93934533497d781b47cc17134d9.zip
update specification to match current implementation
Diffstat (limited to 'api-exchange.rst')
-rw-r--r--api-exchange.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/api-exchange.rst b/api-exchange.rst
index 15acf5ed..d53056fb 100644
--- a/api-exchange.rst
+++ b/api-exchange.rst
@@ -392,7 +392,7 @@ exchange.
not yet have completed and might be known to the exchange in the near future.
In this case, the wallet should repeat the exact same request later again
using exactly the same blinded coin.
- :status 402 Payment Required:
+ :status 403 Forbidden:
The balance of the reserve is not sufficient to withdraw a coin of the indicated denomination.
The response is `WithdrawError`_ object.
@@ -475,7 +475,7 @@ denomination.
The operation succeeded, the exchange confirms that no double-spending took place. The response will include a `DepositSuccess`_ object.
:status 401 Unauthorized:
One of the signatures is invalid.
- :status 403:
+ :status 403 Forbidden:
The deposit operation has failed because the coin has insufficient
residual value; the request should not be repeated again with this coin.
In this case, the response is a `DepositDoubleSpendError`_.