gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: Align specs to code.


From: gnunet
Subject: [taler-docs] branch master updated: Align specs to code.
Date: Thu, 03 Dec 2020 15:48:12 +0100

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

ms pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new f1d0199  Align specs to code.
f1d0199 is described below

commit f1d0199a830e6b354c5d49b4dd8b0e1bea0c828e
Author: MS <ms@taler.net>
AuthorDate: Thu Dec 3 15:47:54 2020 +0100

    Align specs to code.
---
 libeufin/api-nexus.rst | 72 +++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 56 insertions(+), 16 deletions(-)

diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst
index b7186f1..67ac3c3 100644
--- a/libeufin/api-nexus.rst
+++ b/libeufin/api-nexus.rst
@@ -303,28 +303,68 @@ manages payment initiations of the account and tracks the 
initiations of payment
   .. ts:def:: Transaction
 
      interface Transaction {
-       // local bank account involved in the transaction.
-       account: string;
 
-       // counterpart IBAN
-       counterpartIban: string;
+       // money moved by the transaction
+       amount: string;
 
-       // counterpart BIC
-       counterpartBic: string;
+       // CRDT or DBIT
+       creditDebitIndicator: string
 
-       // counterpart holder name
-       counterpartName: string;
+       // Two of the most used values are BOOK, or PENDING
+       status: string;
 
-       // amount, in the format [-]CURRENCY:XX.YY,
-       // where the minus sign as prefix indicates
-       // a debit for the user's bank account.
-       amount: string;
+       // FIXME
+       bankTransactionCode: string;
 
-       // Dashed date YYYY-MM(01-12)-DD(01-31) of the transaction.
-       date: string;
+       // FIXME
+       valueDate: string;
+       
+       // When this payment got booked.  In the form YYYY-MM-DD
+       bookingDate: string;
 
-       // Payment subject.
-       subject: string;
+       // FIXME
+       accountServicerRef: string;
+
+       // FIXME
+       batches: {
+         // list of batched transactions
+         batchTransactions: [BatchedTransaction]
+       };
+     }
+
+  .. ts:def:: BatchedTransaction
+     interface BatchedTransaction {
+       // FIXME
+       amount: string;
+       // FIXME
+       creditDebitIndicator: string;
+       // FIXME
+       details {
+         debtor: {
+           name: string;
+         };
+         debtorAccount: {
+           iban: string;
+         };
+         // Missing, when the payment is DBIT.
+         debtorAgent: {
+           bic: string;
+         };
+         creditor: {
+           name: string;
+         };
+         creditorAccount: {
+           iban: string;
+         };
+         // Missing, when the payment is CRDT.
+         creditorAgent: {
+           iban: string;
+         };
+         // FIXME
+         endToEndId: string;
+         // FIXME
+         unstructuredRemittanceInformation: string;
+       }
      }
 
 

-- 
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]