commit 7048c18bb6facf5319b1978858d5263abcd4fcc2 parent fa557ed59abd71a3ed3893a7b9c2f4b70492d3f4 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 11 Jul 2023 20:01:50 +0200 merge /wire into /keys response Diffstat:
| M | core/api-exchange.rst | | | 22 | ++++++++++++++++++++++ |
1 file changed, 22 insertions(+), 0 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst @@ -121,6 +121,10 @@ possibly by using HTTPS. // based on this value. asset_type: string; + // Details about the exchange's wire accounts and + // wire fees. + wire: ExchangeWireDetails; + // Set to true if this exchange allows the use // of reserves for tipping. tipping_allowed: boolean; @@ -196,6 +200,24 @@ possibly by using HTTPS. eddsa_pub: EddsaPublicKey; } + .. ts:def:: ExchangeWireDetails + + interface ExchangeWireDetails { + + // Array of wire accounts operated by the exchange for + // incoming wire transfers. + accounts: WireAccount[]; + + // Object mapping names of wire methods (i.e. "iban" or "x-taler-bank") + // to wire fees. + fees: { method : AggregateTransferFee[] }; + + // List of exchanges that this exchange is partnering + // with to enable wallet-to-wallet transfers. + wads: ExchangePartner[]; + + } + .. ts:def:: GlobalFees interface GlobalFees {