summaryrefslogtreecommitdiff
path: root/core/api-exchange.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-16 14:26:20 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-16 14:26:20 +0200
commit145788c384c7417815fd632a5aaac973c67d3136 (patch)
tree95ce76a9cd634353f80bb60d3c9188d4dca6d6d0 /core/api-exchange.rst
parente3454a99d5fc07f26220aab4de77391be3b43884 (diff)
downloaddocs-145788c384c7417815fd632a5aaac973c67d3136.tar.gz
docs-145788c384c7417815fd632a5aaac973c67d3136.tar.bz2
docs-145788c384c7417815fd632a5aaac973c67d3136.zip
add missing configuration endpoints
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r--core/api-exchange.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 089890a..9b8b2d1 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -926,6 +926,44 @@ Management operations authorized by master key
}
+.. http:post:: /management/p2pfees
+
+ Provides fee configuration for purses.
+
+ **Request:**
+
+ The request must be a `P2PFees` message.
+
+ **Response**
+
+ :http:statuscode:`204 No content`:
+ The configuration update has been processed successfully. The body is empty.
+ :http:statuscode:`403 Forbidden`:
+ The signature is invalid.
+ :http:statuscode:`409 Conflict`:
+ The exchange has previously received a conflicting configuration message or the currency does not match.
+
+
+.. http:post:: /management/partners
+
+ Enables a partner exchange for wad transfers.
+
+ **Request:**
+
+ The request must be an `ExchangePartner` message.
+
+ **Response**
+
+ :http:statuscode:`204 No content`:
+ The partner has been added successfully.
+ :http:statuscode:`403 Forbidden`:
+ The signature is invalid.
+ :http:statuscode:`409 Conflict`:
+ The exchange has previously received a conflicting configuration message or the currency does not match.
+
+
+
+
---------------
Auditor actions
---------------