commit 4723a470900756d384d272d1d0e8924b7cbac3dd
parent 3cd3969c20abe0d5cd0a31d5dbf4b3807fd93f64
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
Date: Sun, 9 Jun 2024 00:45:43 +0200
small changes
Diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/core/api-donau.rst b/core/api-donau.rst
@@ -475,7 +475,7 @@ Inspired by the Taler exchange :ref:`Deposit<deposit-par>`.
Donation statement operations are requested by a donor.
-.. http:POST:: /submit
+.. http:POST:: /batch-submit
Send in donation receipts for the current or one of the past fiscal years.
The donor will reveive the signed total back, which is called the
@@ -547,7 +547,7 @@ Donation statement operations are requested by a donor.
**Response:**
:http:statuscode:`200 OK`:
- The request was successful, and the response is a `DonationStatement`.
+ The request was successful, and the response is a `DonationStatementResponse`.
:http:statuscode:`403 Forbidden`:
One of the signatures is invalid. This response comes with a standard `ErrorDetail` response.
:http:statuscode:`404 Not found`:
@@ -556,12 +556,14 @@ Donation statement operations are requested by a donor.
**Details:**
- .. ts:def:: DonationStatement
+ .. ts:def:: DonationStatementResponse
- interface DonationStatement {
+ interface DonationStatementResponse {
total: Amount;
// signature over h_donor_tax_id, total, donation_year
- signature: EddsaSignature;
+ donation_statement_sig: EddsaSignature;
+ // the corresponding public key to the signature
+ donau_pub: EddsaPublicKey;
}
.. _donau_charity: