summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-21 23:08:51 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-21 23:08:51 +0100
commitf7ff87358870419d91c58ece8d3cffe666efd9b2 (patch)
tree42e0493612a268da205b47b449d382cb73a6d685 /core
parent8c4a53fb1e468393cb924f59e335a1adb6791ac8 (diff)
downloaddocs-f7ff87358870419d91c58ece8d3cffe666efd9b2.tar.gz
docs-f7ff87358870419d91c58ece8d3cffe666efd9b2.tar.bz2
docs-f7ff87358870419d91c58ece8d3cffe666efd9b2.zip
-simplify API for implementation
Diffstat (limited to 'core')
-rw-r--r--core/api-exchange.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 17299242..bfbf5936 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -1108,7 +1108,7 @@ Management operations authorized by master key
}
-.. http:post:: /management/aml-officers/$OFFICER_PUB
+.. http:post:: /management/aml-officers
Update settings for an AML Officer status.
@@ -1134,6 +1134,9 @@ Management operations authorized by master key
.. ts:def:: AmlOfficerSetup
interface AmlOfficerSetup {
+ // Public key of the AML officer
+ officer_pub: EddsaPublicKey;
+
// Legal full name of the AML officer
officer_name: string;
@@ -1154,9 +1157,9 @@ Management operations authorized by master key
}
- .. http:post:: /management/partners/$PARTNER_PUB
+ .. http:post:: /management/partners
- Enables a partner exchange for wad transfers.
+ Enables a partner exchange for wad transfers.
.. note::
@@ -1183,6 +1186,9 @@ Management operations authorized by master key
// Base URL of the partner exchange
partner_base_url: string;
+ // Master (offline) public key of the partner exchange.
+ partner_pub: EddsaPublicKey;
+
// How frequently will wad transfers be made
wad_frequency: RelativeTime;