summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-30 18:09:11 +0200
committerChristian Grothoff <christian@grothoff.org>2020-03-30 18:09:11 +0200
commit3d10e7b94f9f68cea4d2731c8ebbaff845fb2dfd (patch)
tree73116d6c2424f56321bb36a3ea22bf65a38fe881 /core
parent83d8d63066fedfffd0bfcf8a03a6bfa85b81007e (diff)
downloaddocs-3d10e7b94f9f68cea4d2731c8ebbaff845fb2dfd.tar.gz
docs-3d10e7b94f9f68cea4d2731c8ebbaff845fb2dfd.tar.bz2
docs-3d10e7b94f9f68cea4d2731c8ebbaff845fb2dfd.zip
specification fixes
Diffstat (limited to 'core')
-rw-r--r--core/api-exchange.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index b45cddeb..92ff0289 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -402,7 +402,7 @@ exchange.
// Union discriminated by the "type" field.
type ReserveTransaction =
| ReserveWithdrawTransaction
- | ReserveDepositTransaction
+ | ReserveCreditTransaction
| ReserveClosingTransaction
| ReserveRecoupTransaction;
@@ -429,10 +429,10 @@ exchange.
}
- .. ts:def:: ReserveDepositTransaction
+ .. ts:def:: ReserveCreditTransaction
- interface ReserveDepositTransaction {
- type: "DEPOSIT";
+ interface ReserveCreditTransaction {
+ type: "CREDIT";
// Amount deposited.
amount: Amount;
@@ -446,7 +446,7 @@ exchange.
// Timestamp of the incoming wire transfer.
timestamp: Timestamp;
}
-
+
.. ts:def:: ReserveClosingTransaction
@@ -462,8 +462,8 @@ exchange.
// Wire transfer subject.
wtid: string;
- // Hash of the wire account into which the funds were returned to.
- h_wire: string;
+ // payto:// URI of the the wire account into which the funds were returned to.
+ receiver_account_details: string;
// This is a signature over a
// struct TALER_ReserveCloseConfirmationPS with purpose
@@ -477,7 +477,7 @@ exchange.
timestamp: Timestamp;
}
-
+
.. ts:def:: ReserveRecoupTransaction
interface ReserveRecoupTransaction {