commit 4c6cab876541e9680f387553317a3e7fea4c2c0a
parent c8b06f9c63937787dbbd81efbe46933dbd9e5442
Author: Antoine A <>
Date: Wed, 7 Aug 2024 13:00:30 +0200
wire-gateway: improve doc
Diffstat:
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/core/api-bank-wire.rst b/core/api-bank-wire.rst
@@ -181,7 +181,13 @@ Making Transactions
interface TransferList {
// Array of initiated transfers.
- transfers : TransferListStatus[];
+ transfers: TransferListStatus[];
+
+ // Payto URI to identify the sender of funds.
+ // This must be one of the exchange's bank accounts.
+ // Credit account is shared by all incoming transactions
+ // as per the nature of the request.
+ debit_account: string;
}
.. ts:def:: TransferListStatus
@@ -323,14 +329,13 @@ accounts are merged into a single history.
interface IncomingHistory {
// Array of incoming transactions.
- incoming_transactions : IncomingBankTransaction[];
+ incoming_transactions: IncomingBankTransaction[];
// Payto URI to identify the receiver of funds.
// This must be one of the exchange's bank accounts.
// Credit account is shared by all incoming transactions
// as per the nature of the request.
credit_account: string;
-
}
.. ts:def:: IncomingBankTransaction
@@ -361,7 +366,6 @@ accounts are merged into a single history.
// The account public key extracted from the transaction details.
account_pub: EddsaPublicKey;
-
}
.. ts:def:: IncomingReserveTransaction
@@ -383,7 +387,6 @@ accounts are merged into a single history.
// The reserve public key extracted from the transaction details.
reserve_pub: EddsaPublicKey;
-
}
.. ts:def:: IncomingWadTransaction
@@ -449,7 +452,7 @@ accounts are merged into a single history.
interface OutgoingHistory {
// Array of outgoing transactions.
- outgoing_transactions : OutgoingBankTransaction[];
+ outgoing_transactions: OutgoingBankTransaction[];
// Payto URI to identify the sender of funds.
// This must be one of the exchange's bank accounts.