commit c2a40c8f6c1f8c2ac0934e5b068c819c25abb838
parent 6e4f50afca4a84b237ce90508acb7d6fa61364a2
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 9 Mar 2026 17:11:00 +0100
need to return accumulated_total_without_fee in /batch-deposit
Diffstat:
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -30,9 +30,9 @@ defines all specific terms used in this section.
Version History
---------------
-The current protocol version is **v32**.
+The current protocol version is **v33**.
-* The merchant is currently targeting **v32**.
+* The merchant is currently targeting **v33**.
* The AML SPA is currently targeting **v31**.
* The KYC SPA is currently targeting **v30**.
@@ -42,7 +42,8 @@ The current protocol version is **v32**.
* ``v30``: various minor feature additions
* ``v31``: improvements for AML reporting
* ``v32``: support for extra_wire_subject_metadata
-* ``v33``: support for wire_transfer_gateway in ``/keys``
+* ``v33``: support for wire_transfer_gateway in ``/keys`` and
+ addition of accumulated_total_without_fee in ``/batch-deposit``
**Upcoming versions:**
diff --git a/core/exchange/post-batch-deposit.rst b/core/exchange/post-batch-deposit.rst
@@ -301,9 +301,9 @@
The deposit operation succeeds if the coin is valid for making a deposit and
has enough residual value that has not already been deposited or melted.
- .. ts:def:: DepositSuccess
+ .. ts:def:: DepositSuccessResponse
- interface DepositSuccess {
+ interface DepositSuccessResponse {
// Optional base URL of the exchange for looking up wire transfers
// associated with this transaction. If not given,
// the base URL is the same as the one used for this request.
@@ -315,6 +315,11 @@
// URL, or if the base URL has changed since the deposit.
transaction_base_url?: string;
+ // Total amount deposited so far under this contract terms for
+ // this merchant.
+ // Since **v33**.
+ accumulated_total_without_fee: Amount;
+
// Timestamp when the deposit was received by the exchange.
exchange_timestamp: Timestamp;