[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: transaction->transfer, document /adm

From: gnunet
Subject: [taler-docs] branch master updated: transaction->transfer, document /admin/add-incoming
Date: Sat, 11 Jan 2020 23:41:23 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 186ae7d  transaction->transfer, document /admin/add-incoming
186ae7d is described below

commit 186ae7da9a9e281da425b45906db047f3eb1f0ee
Author: Florian Dold <address@hidden>
AuthorDate: Sat Jan 11 23:41:16 2020 +0100

    transaction->transfer, document /admin/add-incoming
 core/api-wire-plugin-bank.rst | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)

diff --git a/core/api-wire-plugin-bank.rst b/core/api-wire-plugin-bank.rst
index 7eef1cb..aac6e03 100644
--- a/core/api-wire-plugin-bank.rst
+++ b/core/api-wire-plugin-bank.rst
@@ -36,8 +36,7 @@ The wire plugin authenticates requests to the wire gatway via
 Making Transactions
-.. http:post:: ${BASE_URL}/transaction
+.. http:post:: ${BASE_URL}/transfer
   This API allows the exchange to make a transaction, typically to a merchant. 
 The bank account
   of the exchange is not included in the request, but instead derived from the 
user name in the
@@ -268,3 +267,33 @@ Querying the transaction history
       // The wire transfer ID in the outgoing transaction.
       wtid: ShortHashCode;
+Wire Transfer Test APIs
+Endpoints in this section are only used for integration tests and never
+exposed by bank gateways in production.
+.. http:post:: ${BASE_URL}/admin/add-incoming
+  Simulate a transfer from a customer to the exchange.  This API is *not*
+  idempotent since it's only used in testing.
+  .. ts:def:: OutgoingBankTransaction
+    interface AddIncomingRequest {
+      // Amount to transfer.
+      amount: Amount;
+      // Reserve public key that is included in the wire transfer details
+      // to identify the reserve that is being topped up.
+      reserve_pub: EddsaPublicKey
+      // Account (as payto URI) that makes the wire transfer to the exchange.
+      // Usually this account must be created by the test harness before this 
API is
+      // used.  An exception is the "exchange-fakebank", where any debit 
account can be
+      // specified, as it is automatically created.
+      debit_account: string;
+    }

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]