diff options
-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 |