commit c83403f7040742b4e625613dc7b6670fb38563da
parent eaabc8c859ef2736e0e3d0e7bd77e610d8ea95c4
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 13 Aug 2026 00:11:59 +0200
merchant protocol v35 for #10713
Diffstat:
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -29,7 +29,7 @@ Merchant Backend RESTful API
Version History
---------------
-The currently implemented protocol version is **v34**.
+The currently implemented protocol version is **v35**.
* The Android PoS app is currently targeting **v20**.
* The SPA is currently targeting **vXX**.
@@ -66,6 +66,9 @@ The currently implemented protocol version is **v34**.
together with the ``choice_amounts`` request field to instantiate them,
and ``min_amount``/``max_amount`` to bound client-chosen amounts for
templates of any type
+* ``v35``: adds ``exchange_payto_uri`` to
+ :http:get:`[/instances/$INSTANCE]/private/transfers`,
+ passing on the exchange account reported by exchange protocol **v39**
**Upcoming versions:**
diff --git a/core/merchant/get-private-transfers.rst b/core/merchant/get-private-transfers.rst
@@ -55,6 +55,14 @@
// Full payto://-URI of the bank account that received the wire transfer.
payto_uri: string;
+ // Full payto://-URI of the exchange's own bank account that was
+ // debited, useful to locate the transfer in a bank statement.
+ // Optional: only exchanges implementing exchange protocol **v39**
+ // report it, and even those only for transfers made after they
+ // started to record it.
+ // Since protocol **v35**.
+ exchange_payto_uri?: string;
+
// Base URL of the exchange that made the wire transfer.
exchange_url: WebURL;