[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: specify new /management/wire-fee end
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: specify new /management/wire-fee endpoint |
Date: |
Fri, 27 Nov 2020 14:56:09 +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 be7a2c4 specify new /management/wire-fee endpoint
be7a2c4 is described below
commit be7a2c47e649e6c7f81eaec23e6e71da8287590a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Nov 27 14:56:05 2020 +0100
specify new /management/wire-fee endpoint
---
core/api-exchange.rst | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 3ce044a..4d5d512 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -654,6 +654,52 @@ Management operations authorized by master key
}
+.. http:post:: /management/wire-fee
+
+ This request will be used to configure wire fees.
+
+ **Request:**
+
+ The request must be a `WireFeeSetupMessage`.
+
+ **Response:**
+
+ :http:statuscode:`204 No content`:
+ The wire fee was successfully configured.
+ :http:statuscode:`403 Forbidden`:
+ The master signature is invalid.
+ :http:statuscode:`409 Conflict`:
+ The exchange has a conflicting wire fee already setup.
+
+ **Details:**
+
+ .. ts:def:: WireFeeSetupMessage
+
+ interface WireFeeSetupMessage {
+
+ // wire method the fee applies to
+ wire_method: string;
+
+ // Signature using the exchange's offline key
+ // with purpose TALER_SIGNATURE_MASTER_WIRE_FEES.
+ master_sig_wire: EddsaSignature;
+
+ // When does the wire fee validity period start?
+ fee_start: Timestamp;
+
+ // When does the wire fee validity period end (exclusive).
+ fee_end: Timestamp;
+
+ // Closing fee to charge during that time period for this wire method.
+ closing_fee: Amount;
+
+ // Wire fee to charge during that time period for this wire method.
+ wire_fee: Amount;
+
+ }
+
+
+
.. http:post:: /management/wire
This request will be used to enable a wire method (exchange bank account).
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: specify new /management/wire-fee endpoint,
gnunet <=