taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit f981811b9b8fc7a6f43e144051b8b3e2c00fa903
parent 8824cfbccdd9c12af23e8bd7017caf99e9ca25a0
Author: MS <ms@taler.net>
Date:   Thu, 20 Apr 2023 14:29:16 +0200

API Nexus, GET /transactions.

Avoiding mixing CaMt and custom data in one format.

Diffstat:
Mlibeufin/api-nexus.rst | 56++++++++++++++++++++++++++++++--------------------------
1 file changed, 30 insertions(+), 26 deletions(-)

diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst @@ -425,32 +425,36 @@ tracks the initiations of payments. // should NOT expect it to grow continuously. index: string; - // money moved by the transaction - amount: string; - - // CRDT or DBIT - creditDebitIndicator: string - - // Two of the most used values are BOOK, or PENDING - status: string; - - // FIXME - bankTransactionCode: string; - - // FIXME - valueDate: string; - - // When this payment got booked. In the form YYYY-MM-DD - bookingDate: string; - - // FIXME - accountServicerRef: string; - - // FIXME - batches: { - // list of batched transactions - batchTransactions: BatchedTransaction[]; - }; + // Nexus representation of a transaction. The format is shaped + // around the CaMt terminology and its XML structure. + camtData: { + // money moved by the transaction + amount: string; + + // CRDT or DBIT + creditDebitIndicator: string + + // Two of the most used values are BOOK, or PENDING + status: string; + + // FIXME + bankTransactionCode: string; + + // FIXME + valueDate: string; + + // When this payment got booked. In the form YYYY-MM-DD + bookingDate: string; + + // FIXME + accountServicerRef: string; + + // FIXME + batches: { + // list of batched transactions + batchTransactions: BatchedTransaction[]; + }; + } } .. ts:def:: BatchedTransaction