more info
[ouya-store-api.git] / api / devs.ouya.tv / api-v1-wallet.rst
1 ==========================================
2 ``GET https://devs.ouya.tv/api/v1/wallet``
3 ==========================================
4
5 Get the account balance and currency.
6
7 Usage
8 =====
9 After user registration, before the credit card input form is shown.
10
11
12 HTTP request
13 ============
14 Protocol
15   ``https``
16 Method
17   ``GET``
18 Host
19   ``devs.ouya.tv``
20 Path
21   ``/api/v1/wallet``
22 Headers
23   Standard headers
24 GET parameters
25   ``auth_token``
26     Same data as in standard header ``X-OUYA-AuthToken``
27
28
29 HTTP response
30 =============
31 Status code
32   ``200 OK`` 
33 Content type
34   ``application/json; charset=utf-8``
35
36 Example:
37
38 .. include:: api-v1-wallet.response.json
39    :code:
40
41 FIXME: Find out if we can disable credit card input by setting
42 ``requiresPaymentMethod`` to ``false``.