more profile info
authorChristian Weiske <[email protected]>
Thu, 8 Jun 2023 18:12:59 +0000 (20:12 +0200)
committerChristian Weiske <[email protected]>
Thu, 8 Jun 2023 18:12:59 +0000 (20:12 +0200)
api/l2.gamestickservices.net/api-rest-player-profile.rst

index 72bb03da18f509c785386364c0bed11e91d159a4..f916100cc1fa96cdb41a6f87d86e4658fd3bd36c 100644 (file)
@@ -84,6 +84,7 @@ Property notes:
     Known values:
 
     - ``MANUALY_DEFINED``
+    - ``CONSUMER``
 
   ``body.achievementStatus``
     Type: object
@@ -109,6 +110,11 @@ Property notes:
 
     ``body.balance.amountOfMoneyLeft``
       Type: string
+
+      Examples:
+
+      - ``USD 0.00``
+      - ``GBP 25.00``
     ``body.balance.transactions``
       Type: array
 
@@ -116,18 +122,36 @@ Property notes:
         Type: string
       ``body.balance.transactions[].balance``
         Type: string
+
+        Example: ``GBP 25.00``
       ``body.balance.transactions[].date``
         Type: string
 
         Must contain the string " - " (space dash space).
         Before: date, after: description
+
+        Example: ``16/10/2013 - TOP UP:PREPAID_CARD``
       ``body.balance.transactions[].description``
         Type: string
       ``body.balance.transactions[].source``
         Type: string
+
+        Known values:
+
+        - ``PREPAID_CARD``
       ``body.balance.transactions[].type``
         Type: string
 
+        Known values:
+
+        - ``CREDIT_WALLET``
+
+  ``body.currency``
+    Three-letter currency code
+
+    Known values:
+    - ``GBP``
+    - ``USD``
   ``body.dateJoined``
     Type: string
   ``body.dateOfBirth``
@@ -142,6 +166,13 @@ Property notes:
     Type: string
   ``body.location``
     Type: string
+
+    Two-letter uppercase country code
+
+    Known values:
+
+    - ``GB``
+    - ``US``
   ``body.message``
     Type: string
 
@@ -154,12 +185,17 @@ Property notes:
     Type: string
 
     Example: ``17+``
+  ``body.password``
+    Password hash (probably for age change verification)
+
+    Example: ``75381f9f2bd23d8b4a0dcb0ad7c364ff``
   ``body.securityLevel``
     Type: int
 
     Known values:
 
-    - ``0``: default
+    - ``0``
+    - ``1``
   ``body.success``
     Type: string