POST https://ott9.wpstn.com/live/
authorChristian Weiske <[email protected]>
Sat, 27 Jun 2015 20:56:53 +0000 (22:56 +0200)
committerChristian Weiske <[email protected]>
Sat, 27 Jun 2015 20:56:53 +0000 (22:56 +0200)
README.rst
api/devs.ouya.tv/api-v1-credit_card.post.rst
api/ott9.wpstn.com/live.rst [new file with mode: 0644]

index 24e18661a01f86e349688bdce30f9b0b376b00dd..99daeab00f606c0409c7ecafe7149fe18e915b36 100644 (file)
@@ -8,6 +8,7 @@ speak with ``devs.ouya.tv``.
 .. contents::
 
 .. include:: headers.rst
+.. include:: api/ott9.wpstn.com/live.rst
 .. include:: api/status.ouya.tv/api-v1-status.rst
 .. include:: api/devs.ouya.tv/api-firmware_builds.rst
 .. include:: api/devs.ouya.tv/api-v1-console_configuration.rst
index 9c87e7db46bcc50156c6635a7f95773c6c264a0f..962acaf69f4b5ee327647fce9f6a9f7eef4886e7 100644 (file)
@@ -46,3 +46,5 @@ Example:
 
 The ``one_time_token`` is used in the following ``POST`` request to
 the URL determined in ``redirect_url``.
+
+See `POST https://ott9.wpstn.com/live/`_.
diff --git a/api/ott9.wpstn.com/live.rst b/api/ott9.wpstn.com/live.rst
new file mode 100644 (file)
index 0000000..0fdd580
--- /dev/null
@@ -0,0 +1,63 @@
+=====================================
+``POST https://ott9.wpstn.com/live/``
+=====================================
+
+Store credit card data.
+
+
+Usage
+=====
+Called after fetching a one time token from
+`POST https://devs.ouya.tv/api/v1/credit_card`_.
+
+
+HTTP request
+============
+Protocol
+  ``https``
+Method
+  ``POST``
+Host
+  ``ott9.wpstn.com``
+Path
+  ``/live/``
+Headers
+  ``Content-Type``
+    ``application/x-www-form-urlencoded``
+  ``User-Agent``
+    ``OUYA 0 1.00 1.2.1427_r1``
+POST parameters
+  ``Action``:
+    ``Add``
+  ``OTT``:
+    Random one-time token from credit card POST request.
+  ``AcctName``:
+    Credit card account holder name
+  ``AcctNumber``:
+    ``4111111111111111``
+
+    Credit card number
+  ``ExpDate``:
+    ``012017``
+
+    Month & year
+  ``CVN``:
+    ``777``
+
+    Secret code
+  ``Email``:
+    E-mail address
+  ``ZipCode``:
+    Postal code
+
+
+HTTP response
+=============
+Status code
+  ``303 See Other``
+
+Redirects to ``wpsuccess`` URL on devs.ouya.tv with the ``OTT`` parameter::
+
+  https://devs.ouya.tv/wpsuccess?OTT=C187D8AE8970...
+
+The redirect location header seems to be ignored; it does not get called.