GET https://devs.ouya.tv/api/v1/apps/xxx
[ouya-store-api.git] / api / devs.ouya.tv / api-v1-credit_card.put.rst
1 ===============================================
2 ``PUT https://devs.ouya.tv/api/v1/credit_card``
3 ===============================================
4
5 Store the result of the credit card storage request.
6
7 Usage
8 =====
9 Called after `POST https://ott9.wpstn.com/live/`_.
10
11 HTTP request
12 ============
13 Protocol
14   ``https``
15 Method
16   ``PUT``
17 Host
18   ``devs.ouya.tv``
19 Path
20   ``/api/v1/credit_card``
21 Headers
22   Standard headers
23
24   ``Content-Type``
25     ``application/x-www-form-urlencoded``
26 GET parameters
27   ``auth_token``
28     Same data as in standard header ``X-OUYA-AuthToken``
29   ``body``:
30     Complete response including headers
31   ``zipcode``:
32     Postal code
33 POST parameters
34   ``auth_token``
35     Same data as in standard header ``X-OUYA-AuthToken``
36
37 Example body parameter:
38
39 .. include:: api-v1-credit_card.put.get-body.txt
40    :code:
41
42
43 HTTP response
44 =============
45 Status code
46   ``200 OK`` 
47 Content type
48   ``application/json; charset=utf-8``
49
50 Example:
51
52 .. include:: api-v1-credit_card.put.response.json
53    :code: