diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-19 12:37:32 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-19 12:37:32 +0200 |
commit | 1e2144acd70afeebecc1889aaaa04eca0c2b65ed (patch) | |
tree | b69cd39d0ce25c3f77c308b9eb7f7dac1dec3bca | |
parent | 9cc3e04399ca7f223a61ebd515f4d8104be886e8 (diff) | |
parent | 5315da03acdef93934533497d781b47cc17134d9 (diff) | |
download | docs-1e2144acd70afeebecc1889aaaa04eca0c2b65ed.tar.gz docs-1e2144acd70afeebecc1889aaaa04eca0c2b65ed.tar.bz2 docs-1e2144acd70afeebecc1889aaaa04eca0c2b65ed.zip |
Merge branch 'master' of ssh://taler.net/api
-rw-r--r-- | api-common.rst | 4 | ||||
-rw-r--r-- | api-exchange.rst | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/api-common.rst b/api-common.rst index 3bbc8722..d44e55ec 100644 --- a/api-common.rst +++ b/api-common.rst @@ -70,8 +70,8 @@ handle the error as if an internal error (500) had been returned. interface ErrorDetail { - // Numeric error code. See "taler_error_codes.h". - error_code: number; + // Numeric error code unique to the condition. See "taler_error_codes.h". + code: number; // Human-readable description of the error, i.e. "missing parameter", "commitment violation", ... // The other arguments are specific to the error value reported here. 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`_. |