summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-11-22 17:09:30 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-11-22 17:09:30 +0100
commit8adf148a388d595c4b964c4d14abfe8975805d3e (patch)
treea589d06cd0c750326f31a50daeb52d921dff1035
parentb8e656ca832da0ade6d465269185440b91370796 (diff)
downloaddocs-8adf148a388d595c4b964c4d14abfe8975805d3e.tar.gz
docs-8adf148a388d595c4b964c4d14abfe8975805d3e.tar.bz2
docs-8adf148a388d595c4b964c4d14abfe8975805d3e.zip
optional "direction" /history argument
-rw-r--r--api-bank.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/api-bank.rst b/api-bank.rst
index 401847f8..a3137b6c 100644
--- a/api-bank.rst
+++ b/api-bank.rst
@@ -131,7 +131,7 @@ User API
:query auth: authentication method used. At this stage of development, only value `basic` is accepted. Note that username and password need to be given as request's headers. The dedicated headers are: `X-Taler-Bank-Username` and `X-Taler-Bank-Password`.
:query delta: returns the first `N` records younger (older) than `start` if `+N` (`-N`) is specified.
:query start: according to `delta`, only those records with row id strictly greater (lesser) than `start` will be returned. This argument is optional; if not given, `delta` youngest records will be returned.
- :query direction: optional argument taking values `debit` or `credit`, according to the caller willing to receive both incoming and outgoing, only outgoing, or only incoming records.
+ :query direction: optional argument taking values `debit` or `credit`, according to the caller willing to receive both incoming and outgoing, only outgoing, or only incoming records. Takes `credit` by default.
:query account_number: optional argument indicating the bank account number whose history is to be returned. If not given, then the history of the calling user will be returned.
**Response**