commit 98e3d9107e8292d406b01cac364fb282b096f6a1
parent 40cc23265e7e01d2024c7dead5ee1d7b5730a7d4
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Tue, 9 Feb 2016 15:03:50 +0100
what bank replies upon succesful reserve creation
Diffstat:
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git 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;
+
+ }