gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] 01/02: return more data from /config for merchant SPA as re


From: gnunet
Subject: [taler-docs] 01/02: return more data from /config for merchant SPA as requested by sebastian
Date: Sun, 17 Dec 2023 15:16:14 +0100

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

grothoff pushed a commit to branch master
in repository docs.

commit b202712a558b2c6c5008590c2303d4cbba34cf31
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sun Dec 17 22:03:59 2023 +0800

    return more data from /config for merchant SPA as requested by sebastian
---
 core/api-merchant.rst | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 7792b65c..5c5b3ca5 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -154,6 +154,28 @@ such as the implemented version of the protocol and the 
currency used.
       // the backend.
       currencies: { currency : CurrencySpecification};
 
+      // Array of exchanges trusted by the merchant.
+      // Since protocol v6.
+      exchanges: ExchangeConfigInfo[];
+      
+    }
+
+  .. ts:def:: ExchangeConfigInfo
+
+    interface ExchangeConfigInfo {
+
+      // Base URL of the exchange REST API.
+      base_url: string;
+
+      // Currency for which the exchange is configured.
+      // May not be the one the exchange actually uses,
+      // but is the only one we would trust this exchange for.
+      currency: string;
+
+      // Offline master public key of the exchange. The
+      // ``/keys`` data must be signed with this public
+      // key for us to trust it.
+      master_pub: EddsaPublicKey;
     }
 
 

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