summaryrefslogtreecommitdiff
path: root/api-merchant.rst
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-10-04 21:38:50 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-10-04 21:38:50 +0200
commit5d9997c05dfe492c30eb159c2e27d9a50f109492 (patch)
treeab4f4a7c579474803125dacdbbf12ae42cb547de /api-merchant.rst
parente9d64452bd321c084132a214511009b4a77fc9f1 (diff)
downloaddocs-5d9997c05dfe492c30eb159c2e27d9a50f109492.tar.gz
docs-5d9997c05dfe492c30eb159c2e27d9a50f109492.tar.bz2
docs-5d9997c05dfe492c30eb159c2e27d9a50f109492.zip
TransactionHistory
Diffstat (limited to 'api-merchant.rst')
-rw-r--r--api-merchant.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/api-merchant.rst b/api-merchant.rst
index 02d7b13c..b0e6c243 100644
--- a/api-merchant.rst
+++ b/api-merchant.rst
@@ -295,8 +295,7 @@ The following API are made available by the merchant's `backend` to the merchant
:query date: only transactions *jounger* than this parameter will be returned. It's a timestamp, given in seconds.
**Response**
- :status 200 OK:
- The response is a JSON `array` of `TransactionHistory`_
+ :status 200 OK: The response is a JSON `array` of `TransactionHistory`_.
.. _tsref-type-TransactionHistory:
.. _TransactionHistory:
@@ -307,9 +306,16 @@ The following API are made available by the merchant's `backend` to the merchant
transaction_id: number;
// Hashcode of the relevant contract
- TBD FIXME
-
+ h_contract: HashCode;
+ // Exchange's base URL
+ exchange: string;
+
+ // Transaction's timestamp
+ timestamp: Timestamp;
+
+ // Price payed for this transaction
+ total_amount: Amount;
}
---------