summaryrefslogtreecommitdiff
path: root/integration-bank.rst
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-02-09 15:03:50 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-02-09 15:03:50 +0100
commit98e3d9107e8292d406b01cac364fb282b096f6a1 (patch)
tree8fb5493ae355e95909f57731e68097e393a0ffe3 /integration-bank.rst
parent40cc23265e7e01d2024c7dead5ee1d7b5730a7d4 (diff)
downloaddocs-98e3d9107e8292d406b01cac364fb282b096f6a1.tar.gz
docs-98e3d9107e8292d406b01cac364fb282b096f6a1.tar.bz2
docs-98e3d9107e8292d406b01cac364fb282b096f6a1.zip
what bank replies upon succesful reserve creation
Diffstat (limited to 'integration-bank.rst')
-rw-r--r--integration-bank.rst15
1 files changed, 13 insertions, 2 deletions
diff --git a/integration-bank.rst b/integration-bank.rst
index d8e17a9..4ebf2f1 100644
--- a/integration-bank.rst
+++ b/integration-bank.rst
@@ -31,8 +31,8 @@ As a result of the reserve creation request, the following steps will happen in
communicates the desired amount, the reserve's public key and the mint base URL to the
bank
4. Upon successful resolution of the CAPTCHA by the user, the bank initiates the reserve
- creation according to the gotten parameters.
-
+ creation according to the gotten parameters. Together with `200 OK` status code sent back
+ to the wallet, it gets also a `ReserveCreated`_ object.
Note that the reserve creation can be done by a SEPA wire transfer or some other means,
depending on the user's bank and chosen mint.
@@ -63,3 +63,14 @@ The event data must be a `CreateReserveDetail`_:
// mint
callback_url: string;
}
+
+.. _ReserveCreated:
+.. code-block:: tsref
+
+ interface ReserveCreated {
+
+ // A URL informing the user about the succesfull outcome
+ // of his operation
+ redirect_url: string;
+
+ }