diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-05-09 11:25:37 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-05-09 11:25:37 +0200 |
commit | 2753adf7479ff5b43a8bc446823da7c8e7c7c271 (patch) | |
tree | 43ebbbea4c7599fc337f40444971d94ec588c295 /api | |
parent | 8641309245560d0eed0f694c1d4453b7da2546c3 (diff) | |
download | docs-2753adf7479ff5b43a8bc446823da7c8e7c7c271.tar.gz docs-2753adf7479ff5b43a8bc446823da7c8e7c7c271.tar.bz2 docs-2753adf7479ff5b43a8bc446823da7c8e7c7c271.zip |
adapting to #5005
Diffstat (limited to 'api')
-rw-r--r-- | api/api-bank.rst | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/api/api-bank.rst b/api/api-bank.rst index 6caac69c..8ecc9abd 100644 --- a/api/api-bank.rst +++ b/api/api-bank.rst @@ -36,12 +36,26 @@ request. **Response:** -:status 200 OK: The request has been correctly handled, so the funds have been transferred to the recipient's account +:status 200 OK: The request has been correctly handled, so the funds have been transferred to the recipient's account. The body is a +`BankDepositDetails`_. :status 400 Bad Request: The bank replies a `BankError`_ object **Details:** +.. _BankDepositDetails: +.. code-block:: tsref + + interface BankDepositDetails { + + // Timestamp related to the transaction being made. + timestamp: Timestamp; + + // Serial id identifying the transaction into the bank's + // database. + row_id: number; + } + .. _BankDepositRequest: .. code-block:: tsref |