diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-18 01:06:26 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-18 01:06:26 +0100 |
commit | 4eecf36b02f3dee502d97ac1d4b72d19d61da4ce (patch) | |
tree | a2cd70078019a1e98280040c15d77c26ab9d2a5e /api-merchant.rst | |
parent | 89602bbb777f8fb881b6727af9522f9196e2da16 (diff) | |
download | docs-4eecf36b02f3dee502d97ac1d4b72d19d61da4ce.tar.gz docs-4eecf36b02f3dee502d97ac1d4b72d19d61da4ce.tar.bz2 docs-4eecf36b02f3dee502d97ac1d4b72d19d61da4ce.zip |
restructuring and linking extension
Diffstat (limited to 'api-merchant.rst')
-rw-r--r-- | api-merchant.rst | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/api-merchant.rst b/api-merchant.rst index e2f408f2..6f3d822c 100644 --- a/api-merchant.rst +++ b/api-merchant.rst @@ -61,15 +61,20 @@ successful response to the following two calls: Issued by the wallet when the customer wants to see the contract for a certain purchase + .. http:post:: /contract Issued by the frontend to the backend when it wants to augment its `proposition` with all the cryptographic information. For the sake of precision, the frontend encloses the following JSON inside a `contract` field to the actual JSON sent to the backend. - .. code-block:: ts + + .. _`hello-link`: + + .. code-block:: tsref interface Contract { + // `hello-link`_ // Total price for the transaction. // The mint will subtract deposit fees from that amount // before transfering it to the merchant. @@ -81,7 +86,7 @@ successful response to the following two calls: // 53-bit number chosen by the merchant to uniquely identify the contract. transaction_id: number; - // List of products that are part of the purchase (see below) + // List of products that are part of the purchase (see `below) products: Product[]; // Time when this contract was generated |