summaryrefslogtreecommitdiff
path: root/api-exchange.rst
diff options
context:
space:
mode:
Diffstat (limited to 'api-exchange.rst')
-rw-r--r--api-exchange.rst27
1 files changed, 12 insertions, 15 deletions
diff --git a/api-exchange.rst b/api-exchange.rst
index 63ac477c..3087a8e8 100644
--- a/api-exchange.rst
+++ b/api-exchange.rst
@@ -233,8 +233,7 @@ Obtaining wire-transfer information
// A single /wire response can contain an arbitrary number of these
// string-object pairs. However, the keys must be unique.
string : Object;
-
- }
+ }
Possible encodings for the objects are right now the following:
@@ -242,7 +241,7 @@ Obtaining wire-transfer information
.. _tsref-type-WireTestResponse:
.. code-block:: tsref
- interface WireTestResponse {
+ interface WireTestResponse {
// Mandatory indicator that this is a TEST wire response.
type: "test";
@@ -251,14 +250,13 @@ Obtaining wire-transfer information
// URI of the bank
bank_uri: string;
-
}
- .. _WireSepaResponse:
+ .. _WireSepaResponse:
.. _tsref-type-WireSepaResponse:
.. code-block:: tsref
- interface WireSepaResponse {
+ interface WireSepaResponse {
// Mandatory indicator that this is a SEPA wire response.
type: "sepa";
@@ -271,13 +269,12 @@ Obtaining wire-transfer information
// BIC of the bank.
bic: string;
- // the EdDSA signature_ (binary-only) with purpose
+ // the EdDSA signature (binary-only) with purpose
// `TALER_SIGNATURE_EXCHANGE_PAYMENT_METHOD_SEPA` signing over the hash over the
// 0-terminated strings representing the receiver's name, IBAN and the BIC.
sig: EddsaSignature;
}
-
------------------
Withdrawal
------------------
@@ -445,9 +442,9 @@ exchange.
.. _deposit-par:
---------------------
+-------
Deposit
---------------------
+-------
Deposit operations are requested by a merchant during a transaction. For the
deposit operation, the merchant has to obtain the deposit permission for a coin
@@ -543,9 +540,9 @@ denomination.
has enough residual value that has not already been deposited or melted.
+ .. _DepositSuccess:
.. code-block:: tsref
- .. _DepositSuccess:
interface DepositSuccess {
// The string constant "DEPOSIT_OK"
status: string;
@@ -562,7 +559,7 @@ denomination.
// explicitly as the client might otherwise be confused by clock skew as to
// which signing key was used.
pub: EddsaPublicKey;
- }
+ }
.. _DepositDoubleSpendError:
.. code-block:: tsref
@@ -1150,10 +1147,10 @@ Refunds
}
+ .. _RefundSuccess:
.. code-block:: tsref
- .. _RefundSuccess:
- interface RefundSuccess {
+ interface RefundSuccess {
// The string constant "REFUND_OK"
status: string;
@@ -1167,7 +1164,7 @@ Refunds
// explicitly as the client might otherwise be confused by clock skew as to
// which signing key was used.
pub: EddsaPublicKey;
- }
+ }
------------------------------
Administrative API: Key update