gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: spec wire gateway protocol v1


From: gnunet
Subject: [taler-docs] branch master updated: spec wire gateway protocol v1
Date: Tue, 16 Jul 2024 13:34:37 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new b4e52efc spec wire gateway protocol v1
b4e52efc is described below

commit b4e52efc5360b0ed4168fbf1bf9c147cb9d839b9
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jul 16 13:34:35 2024 +0200

    spec wire gateway protocol v1
---
 core/api-bank-wire.rst | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)

diff --git a/core/api-bank-wire.rst b/core/api-bank-wire.rst
index 84184ec9..8082f9dd 100644
--- a/core/api-bank-wire.rst
+++ b/core/api-bank-wire.rst
@@ -29,7 +29,7 @@ LibEuFin (work in progress).
 .. http:get:: /config
 
   Return the protocol version and configuration information about the bank.
-  This specification corresponds to ``current`` protocol being version **0**.
+  This specification corresponds to ``current`` protocol being version **1**.
 
   **Response:**
 
@@ -222,9 +222,33 @@ Querying the transaction history
 
     // Union discriminated by the "type" field.
     type IncomingBankTransaction =
+    | IncomingKycAuthTransaction
     | IncomingReserveTransaction
     | IncomingWadTransaction;
 
+  .. ts:def:: IncomingKycAuthTransaction
+
+    // Since protocol **v1**.
+    interface IncomingKycAuthTransaction {
+      type: "KYCAUTH";
+
+      // Opaque identifier of the returned record.
+      row_id: SafeUint64;
+
+      // Date of the transaction.
+      date: Timestamp;
+
+      // Amount transferred.
+      amount: Amount;
+
+      // Payto URI to identify the sender of funds.
+      debit_account: string;
+
+      // The account public key extracted from the transaction details.
+      account_pub: EddsaPublicKey;
+
+    }
+
   .. ts:def:: IncomingReserveTransaction
 
     interface IncomingReserveTransaction {
@@ -450,5 +474,3 @@ Design:
   We explicitly reject any design where the user would have to enter a 
confirmation code
   they get from their bank in the context of the wallet, as this would teach 
and normalize
   bad security habits.
-
-

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]