From 3d10e7b94f9f68cea4d2731c8ebbaff845fb2dfd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 30 Mar 2020 18:09:11 +0200 Subject: specification fixes --- core/api-exchange.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'core/api-exchange.rst') 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 { -- cgit v1.2.3