summaryrefslogtreecommitdiff
path: root/api-bank.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-02 21:07:42 +0100
committerChristian Grothoff <christian@grothoff.org>2016-03-02 21:07:42 +0100
commit8d606274df864fb1753a9e8d9e0fca61423b0887 (patch)
treef0c8728fcd631d3493130e14c00cf53c463475ca /api-bank.rst
parentd1016d521da025f59e60a05c73621b4e4829f583 (diff)
downloaddocs-8d606274df864fb1753a9e8d9e0fca61423b0887.tar.gz
docs-8d606274df864fb1753a9e8d9e0fca61423b0887.tar.bz2
docs-8d606274df864fb1753a9e8d9e0fca61423b0887.zip
fixing #4230 in spec
Diffstat (limited to 'api-bank.rst')
-rw-r--r--api-bank.rst13
1 files changed, 8 insertions, 5 deletions
diff --git a/api-bank.rst b/api-bank.rst
index d59cfd5..8d2d562 100644
--- a/api-bank.rst
+++ b/api-bank.rst
@@ -31,17 +31,20 @@ the recipient's account
.. code-block:: tsref
interface BankDepositRequest {
-
+
// JSON 'amount' object. The amount the caller wants to transfer
// to the recipient's count
amount: Amount;
// The id of this wire transfer
- wid: base32;
+ wid: base32;
+
+ // The sender's account identificator
+ debit_account: number;
// The recipient's account identificator
- account: number;
-
+ credit_account: number;
+
}
.. _BankIncomingError:
@@ -52,5 +55,5 @@ the recipient's account
// The reason which made this request fail. Typically due to malfomation
// of the POST's body
reason: string
-
+
}