summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-07 18:43:19 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-07 18:43:19 +0200
commit7892936cb1a125832c48de10fa288df8592432f3 (patch)
tree288ed68b459a50a38f552d4af234f636413996ee
parent8c1b31b8c5222544659507e00350fa5312e2be11 (diff)
parent308f3a715676c682b52a7051931d8ce39220f2c2 (diff)
downloaddocs-7892936cb1a125832c48de10fa288df8592432f3.tar.gz
docs-7892936cb1a125832c48de10fa288df8592432f3.tar.bz2
docs-7892936cb1a125832c48de10fa288df8592432f3.zip
Merge branch 'master' of git+ssh://git.taler.net/docs
-rw-r--r--core/api-wire.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/api-wire.rst b/core/api-wire.rst
index 98e07419..fee78890 100644
--- a/core/api-wire.rst
+++ b/core/api-wire.rst
@@ -29,7 +29,7 @@ LibEuFin (work in progress).
Authentication
--------------
-The bank library authenticates requests to the wire gatway via
+The bank library authenticates requests to the wire gateway via
`HTTP basic auth <https://tools.ietf.org/html/rfc7617>`_.
-------------------
@@ -45,7 +45,7 @@ Making Transactions
To make the API idempotent, the client must include a nonce. Requests with the same nonce
are rejected unless the request is the same.
- **Request:** The body of this request must have the format of a `TransactionRequest`.
+ **Request:** The body of this request must have the format of a `TransferRequest`.
**Response:**
@@ -79,9 +79,9 @@ Making Transactions
}
- .. ts:def:: TransactionRequest
+ .. ts:def:: TransferRequest
- interface TransactionRequest {
+ interface TransferRequest {
// Nonce to make the request idempotent. Requests with the same
// transaction_uid that differ in any of the other fields
// are rejected.
@@ -95,7 +95,7 @@ Making Transactions
exchange_base_url: string;
// Wire transfer identifier chosen by the exchange,
- // used by the merchant to identify the Taler order
+ // used by the merchant to identify the Taler order(s)
// associated with this wire transfer.
wtid: ShortHashCode;
@@ -114,8 +114,8 @@ Querying the transaction history
Return a list of transactions made from or to the exchange.
Incoming transactions must contain a valid reserve public key. If a bank
- transaction does not confirm to the right syntax, the wire gatway must not
- report it to the exchange, and sent funds back to the sender if possible.
+ transaction does not conform to the right syntax, the wire gateway must not
+ report it to the exchange, and send funds back to the sender if possible.
The bank account of the exchange is determined via the base URL and/or the
user name in the ``Authorization`` header. In fact the transaction history