credit card data
authorChristian Weiske <cweiske@cweiske.de>
Mon, 13 Jul 2015 05:34:29 +0000 (07:34 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 13 Jul 2015 05:34:29 +0000 (07:34 +0200)
api/devs.ouya.tv/api-v1-wallet.response-2.json [new file with mode: 0644]
api/devs.ouya.tv/api-v1-wallet.rst

diff --git a/api/devs.ouya.tv/api-v1-wallet.response-2.json b/api/devs.ouya.tv/api-v1-wallet.response-2.json
new file mode 100644 (file)
index 0000000..71fbb21
--- /dev/null
@@ -0,0 +1,10 @@
+{
+    "balance": 0.0, 
+    "credit_card": {
+        "expires_at": "09/30/2016", 
+        "last_four": "1234", 
+        "provider": "MasterCard"
+    }, 
+    "currency": "USD", 
+    "requiresPaymentMethod": true
+}
index 68700772e91c55c5e02e20ecbe218e1b87ff96b1..fb97bc5a78500dd1ff30b4e7122769ae1299eeab 100644 (file)
@@ -33,10 +33,20 @@ Status code
 Content type
   ``application/json; charset=utf-8``
 
-Example:
 
+Example without credit card data
+--------------------------------
 .. include:: api-v1-wallet.response.json
    :code:
 
+FIXME: Find out if we get that response when giving a dummy number
+during registration (4111 1111 1111 1111).
+
+
+Example with credit card data
+-----------------------------
+.. include:: api-v1-wallet.response-2.json
+   :code:
+
 FIXME: Find out if we can disable credit card input by setting
 ``requiresPaymentMethod`` to ``false``.