Fix receipt description
[ouya-store-api.git] / api / devs.ouya.tv / api-v1-games-xxx-purchases.rst
index ce1edd25f9d4e959c1836c006b19df17c809d3f7..f314487131c7e55b57358a135c7673a0d56901a2 100644 (file)
@@ -54,7 +54,7 @@ Status code
 Content-type
   ``application/json; charset=utf-8``
 
-Three properties:
+The response is a JSON objec containing three properties:
 
 ``iv``
   Base 64 encoded initialization vector for encryption
@@ -63,14 +63,17 @@ Three properties:
 ``blob``
   Base64 encoded encrypted data
 
-The decrypted ``blob`` contains again a JSON object with the following properties:
+The decrypted ``blob`` contains again a JSON object with three properties:
 
 - ``iv``
 - ``key``
 - ``blob``
 
-This blob is again a base64-encoded JSON objecct and contains the actual data:
-An array of receipts/purchases.
+This blob is again base64-encoded JSON and contains the actual data:
+A JSON with a single property "purchases" whose value is
+an array of receipts/purchases.
+
+Each receipt has the following properties:
 
 ``purchaseDate``
   Required. Milliseconds.
@@ -79,9 +82,9 @@ An array of receipts/purchases.
 ``identifier``
   Product key. Required. Alternative name: ``sku``.
 ``gamer``
-  User name. Required.
-``uuid``
   User UUID. Required.
+``uuid``
+  Transaction UUID. Required.
 ``priceInCents``
   Integer. Optional.
 ``localPrice``