.. include:: api/devs.ouya.tv/api-firmware_builds.rst
.. include:: api/devs.ouya.tv/api-v1-console_configuration.rst
.. include:: api/devs.ouya.tv/api-v1-credit_card.post.rst
+.. include:: api/devs.ouya.tv/api-v1-credit_card.put.rst
.. include:: api/devs.ouya.tv/api-v1-events.rst
.. include:: api/devs.ouya.tv/api-v1-gamers.rst
.. include:: api/devs.ouya.tv/api-v1-gamers-me.rst
--- /dev/null
+HTTP/1.1 303 See Otherlocation: https://devs.ouya.tv/wpsuccess?OTT=C187D8AE8970435C9638C58C8351E2DEF975680B737A4B55A3D314BF0C477F2A
+Content-Length: 9
+Via: 1.1 localhost (Apache-HttpClient/UNAVAILABLE (cache))
+Date: Wed, 17 Jun 2015 21:51:23 GMT
+See Other
--- /dev/null
+===============================================
+``PUT https://devs.ouya.tv/api/v1/credit_card``
+===============================================
+
+Store the result of the credit card storage request.
+
+Usage
+=====
+Called after `POST https://ott9.wpstn.com/live/`_.
+
+HTTP request
+============
+Protocol
+ ``https``
+Method
+ ``PUT``
+Host
+ ``devs.ouya.tv``
+Path
+ ``/api/v1/credit_card``
+Headers
+ Standard headers
+
+ ``Content-Type``
+ ``application/x-www-form-urlencoded``
+GET parameters
+ ``auth_token``
+ Same data as in standard header ``X-OUYA-AuthToken``
+ ``body``:
+ Complete response including headers
+ ``zipcode``:
+ Postal code
+POST parameters
+ ``auth_token``
+ Same data as in standard header ``X-OUYA-AuthToken``
+
+Example body parameter:
+
+.. include:: api-v1-credit_card.put.get-body.txt
+ :code:
+
+
+HTTP response
+=============
+Status code
+ ``200 OK``
+Content type
+ ``application/json; charset=utf-8``
+
+Example:
+
+.. include:: api-v1-credit_card.put.response.json
+ :code:
https://devs.ouya.tv/wpsuccess?OTT=C187D8AE8970...
The redirect location header seems to be ignored; it does not get called.
+Instead, `PUT https://devs.ouya.tv/api/v1/credit_card`_ is fetched.