gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: add /config for exchange


From: gnunet
Subject: [taler-docs] branch master updated: add /config for exchange
Date: Sun, 19 Feb 2023 10:19:46 +0100

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

grothoff pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 5abd7fa  add /config for exchange
5abd7fa is described below

commit 5abd7fab6fd15ba11dbc7dbdc263ad63685e7df3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Feb 19 10:19:38 2023 +0100

    add /config for exchange
---
 core/api-exchange.rst | 31 ++++++++++++++++++++++++++++++-
 core/api-merchant.rst |  2 +-
 2 files changed, 31 insertions(+), 2 deletions(-)

diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 6628e8b..9492e7e 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -1,6 +1,6 @@
 ..
   This file is part of GNU TALER.
-  Copyright (C) 2014-2022 Taler Systems SA
+  Copyright (C) 2014-2023 Taler Systems SA
 
   TALER is free software; you can redistribute it and/or modify it under the
   terms of the GNU Affero General Public License as published by the Free 
Software
@@ -53,6 +53,35 @@ possibly by using HTTPS.
   returned MUST be mixed with locally generated entropy.
 
 
+.. http:get:: /config
+
+  Return the protocol version and currency supported by this exchange backend, 
as well as the list of possible KYC requirements.  This endpoint is largely for 
the SPA for AML officers. Merchants should use ``/keys`` which also contains 
the protocol version and currency.
+
+  **Response:**
+
+  :http:statuscode:`200 OK`:
+    The body is a `VersionResponse`.
+
+  .. ts:def:: ExchangeVersionResponse
+
+    interface ExchangeVersionResponse {
+      // libtool-style representation of the Exchange protocol version, see
+      // 
https://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
+      // The format is "current:revision:age".
+      version: string;
+
+      // Name of the protocol.
+      name: "taler-exchange";
+
+      // Currency supported by this exchange.
+      currency: string;
+
+      // Names of supported KYC requirements.
+      supported_kyc_requirements: string[];
+
+    }
+
+
 .. http:get:: /keys
 
   Get a list of all denomination keys offered by the exchange,
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 1ff0df2..fe40ec9 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -3236,7 +3236,7 @@ Using template
   creating an order using :ref:`POST /private/orders <post-order>`.
 
   **Details:**
-  
+
   .. ts:def:: UsingTemplateDetails
 
     interface UsingTemplateDetails {

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