summaryrefslogtreecommitdiff
path: root/api-exchange.rst
diff options
context:
space:
mode:
Diffstat (limited to 'api-exchange.rst')
-rw-r--r--api-exchange.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/api-exchange.rst b/api-exchange.rst
index e2af539e..e6d5c93a 100644
--- a/api-exchange.rst
+++ b/api-exchange.rst
@@ -360,7 +360,7 @@ exchange.
// `base32`_ encoding of `TALER_WithdrawRequestPS`_ with purpose TALER_SIGNATURE_WALLET_RESERVE_WITHDRAW. This field appears only if `type` is "WITHDRAW".
details?: string;
- // Signature over the transaction `details`.
+ // Signature over the transaction `details` (FIXME: Which transaction, which details?).
signature?: EddsaSignature;
}
@@ -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`_.
@@ -549,7 +549,7 @@ denomination.
// The string constant "DEPOSIT_OK"
status: string;
- // the EdDSA signature of `TALER_DepositConfirmation`_ using a current
+ // the EdDSA signature of `TALER_DepositConfirmationPS`_ using a current
// `signing key of the exchange <sign-key-priv>`_ affirming the successful
// deposit and that the exchange will transfer the funds after the refund
// deadline, or as soon as possible if the refund deadline is zero.
@@ -823,7 +823,7 @@ the API during normal operation.
gamma_tp: EddsaPublicKey;
// Specific `gamma` value chosen by the exchange.
- gamma: Integer;
+ gamma: number;
}
@@ -946,6 +946,7 @@ typically also view the balance.)
The wire transfer identifier is unknown to the exchange.
.. _TrackTransferResponse:
+ .. _tsref-type-TrackTransferResponse:
.. code-block:: tsref
interface TrackTransferResponse {
@@ -978,7 +979,7 @@ typically also view the balance.)
.. _tsref-type-TrackTransferDetail:
.. code-block:: tsref
- interface WireDepositDetail {
+ interface TrackTransferDetail {
// SHA-512 hash of the contact of the merchant with the customer.
H_contract: HashCode;