Custom authentication header in the format X-Auth-Token: your_token_here. This token is required to authorize API requests.
Request Parameters
Name
Type
Description
playerToken
string
Unique token representing the player that was received with launch url.
gameUuid
string
Unique identifier of the game for which the request is being made.
Response Parameters
Name
Type
Description
playerId
string
Unique identifier of the player.
sessionId
string
Unique identifier of the player’s session.
currency
string
The currency code associated with the player’s session, typically in ISO 4217 format.
Error
If an error occurs while processing a request, the API must return a response with HTTP Status Code: 400 Bad Request
Name
Type
Description
error_code
string
Error code describing the specific issue.
Show Possible Error Codes
Error Code
Description
INVALID_TOKEN
The provided token is invalid or expired.
TECHNICAL_ERROR
An unexpected error occurred.
NOT_AUTHORIZED
The request is not authorized due to invalid X-Auth-Token header.
Responsibility of the wallet platform
Assert that the incoming playerToken is valid, and return the playerID that is connected to the playerToken.The playerID that is returned must be unique per player, and identical each time an individual player authenticates.RGS will use the returned sessionId value in all subsequent Get Balance, Credit, Debit and Rollback requests for this game session.
GET /session?playerToken=123e4567-e89b-12d3-a456-426614174000&gameUuid=game-uuid-456
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"RGS","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"favicon":"https://mintcdn.com/gaming-code/G-olwsYSDU7xJ5XM/favicon.svg?fit=max\u0026auto=format\u0026n=G-olwsYSDU7xJ5XM\u0026q=85\u0026s=14df7efda3553ce5dc154f22553c405c","api":{"playground":{"display":"none"},"mdx":{"server":["https://103.77.224.40"]}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gaming-code","hasAudioNarration":false,"actualSubdomain":"gaming-code","customDomains":["docs.game-services.work"],"gitSource":{"type":"github","owner":"gaming-code","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aacfb143b9900e0b56891e6","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"Public And Wallet API","count":17},{"language":"default","tag":"Internal API","count":9},{"language":"default","tag":"RGS Public API","count":7},{"language":"default","tag":"RGS API","count":6},{"language":"default","tag":"Get Started","count":6},{"language":"default","tag":"Wallet API","count":6},{"language":"default","tag":"Wallet Test","count":1},{"language":"default","tag":"Jackpot Values Generator","count":1},{"language":"default","tag":"Calculator","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#pagination{margin-top:2rem}"}]}
{"page":{"pagePath":"wallet/player","slug":"/wallet/player","pageMetadata":{"title":"Get Player Session","api":"Get /session","description":"Opens player game session for provided player token and game UUID.","href":"/wallet/player"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Opens player game session for provided player token and game UUID.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={blockquote:`blockquote`,code:`code`,hr:`hr`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,Note,Table,Warning}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`GET`}),` /session`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`headers`,children:`Headers`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`X-Auth-Token`})})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Custom authentication header in the format X-Auth-Token: your_token_here. This token is required to authorize API requests.`})]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`request-parameters`,children:`Request Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`playerToken`})})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Unique token representing the player that was received with launch url.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`gameUuid`})})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Unique identifier of the game for which the request is being made.`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`response-parameters`,children:`Response Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`playerId`})})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Unique identifier of the player.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`sessionId`})})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Unique identifier of the player’s session.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`currency`})})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`The currency code associated with the player’s session, typically in ISO 4217 format.`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`error`,children:`Error`}),`\n`,_jsxs(Note,{children:[`If an error occurs while processing a request, the API must return a response with `,_jsx(_components.code,{children:`HTTP Status Code: 400 Bad Request`})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Name`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`error_code`})})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`string`})}),_jsx(_components.td,{children:`Error code describing the specific issue.`})]})})]}),`\n`,_jsx(Expandable,{title:`Possible Error Codes`,children:_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Error Code`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`INVALID_TOKEN`})})}),_jsx(_components.td,{children:`The provided token is invalid or expired.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`TECHNICAL_ERROR`})})}),_jsx(_components.td,{children:`An unexpected error occurred.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(`span`,{style:{color:`rgb(var(--primary)`},children:`NOT_AUTHORIZED`})})}),_jsx(_components.td,{children:`The request is not authorized due to invalid X-Auth-Token header.`})]})]})]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Responsibility of the wallet platform`})}),`\n`,_jsx(_components.p,{children:`Assert that the incoming playerToken is valid, and return the playerID that is connected to the playerToken.`}),`\n`,_jsx(_components.p,{children:`The playerID that is returned must be unique per player, and identical each time an individual player authenticates.`}),`\n`,_jsx(_components.p,{children:`RGS will use the returned sessionId value in all subsequent Get Balance, Credit, Debit and Rollback requests for this game session.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Player Session","api":"Get /session","description":"Opens player game session for provided player token and game UUID.","href":"/wallet/player"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[231,249,"pre:`pre`,span:`span`,strong:`strong`,tb"],[345,406,"CodeBlock,Expandable,Heading,Note,ResponseExample,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expand"],[547,562,"ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingM"],[6519,6535,",`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Request`,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /session?playerToken=123e4567-e89b-12d3-a456-426614174000\u0026gameUuid=game-uuid-456`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Response 200`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"playerId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123e4567-e89b-12d3-a456-426614174000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sessionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1c4f1d6d-5e37-4a8f-e642-def88a3b4749\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Error 400`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INVALID_TOKEN\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDX"]]},"mdxExtracts":{"tableOfContents":[{"title":"Headers","slug":"headers","depth":3,"children":[]},{"title":"Request Parameters","slug":"request-parameters","depth":3,"children":[]},{"title":"Response Parameters","slug":"response-parameters","depth":3,"children":[]},{"title":"Error","slug":"error","depth":3,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Request","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"http\">\u003ccode language=\"http\" numberOfLines=\"1\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\">GET\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> /session?playerToken=123e4567-e89b-12d3-a456-426614174000\u0026#x26;gameUuid=game-uuid-456\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Response 200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"playerId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"123e4567-e89b-12d3-a456-426614174000\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sessionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1c4f1d6d-5e37-4a8f-e642-def88a3b4749\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Error 400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error_code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"INVALID_TOKEN\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Get Player Session","path":"/session","servers":[{"url":"https://103.77.224.40"}],"method":"get","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"gaming-code","siteName":"RGS","title":"Get Player Session - RGS","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-22T14:52:36.178Z","originalFileLocation":"wallet/player.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Opens player game session for provided player token and game UUID.\">\u003cmeta data-mint-head name=\"application-name\" content=\"RGS\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Player Session - RGS\">\u003cmeta data-mint-head property=\"og:description\" content=\"Opens player game session for provided player token and game UUID.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"RGS\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.game-services.work/wallet/player\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gaming-code.mintlify.site/_mintlify/api/og/v2?division=Wallet+API\u0026amp;title=Get+Player+Session\u0026amp;description=Opens+player+game+session+for+provided+player+token+and+game+UUID.\u0026amp;theme=e5ed9adb1acc63d397db9eeb\u0026amp;signature=a68cb3d24d60ce000b019798dd5cfbc8617ba3cbe8b913e8cf51aa33500a3df4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Player Session - RGS\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Opens player game session for provided player token and game UUID.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gaming-code.mintlify.site/_mintlify/api/og/v2?division=Wallet+API\u0026amp;title=Get+Player+Session\u0026amp;description=Opens+player+game+session+for+provided+player+token+and+game+UUID.\u0026amp;theme=e5ed9adb1acc63d397db9eeb\u0026amp;signature=a68cb3d24d60ce000b019798dd5cfbc8617ba3cbe8b913e8cf51aa33500a3df4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gaming-code/ezkwD0VtIVcEgzcu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"RGS\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.game-services.work/wallet/player\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/wallet/player.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.game-services.work/#organization\",\"name\":\"RGS\",\"url\":\"https://docs.game-services.work\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.game-services.work#website\",\"name\":\"RGS\",\"url\":\"https://docs.game-services.work\",\"publisher\":{\"@id\":\"https://docs.game-services.work/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.game-services.work/wallet/player#webpage\",\"url\":\"https://docs.game-services.work/wallet/player\",\"name\":\"Get Player Session\",\"description\":\"Opens player game session for provided player token and game UUID.\",\"dateModified\":\"2026-01-22T14:52:36.178Z\",\"isPartOf\":{\"@id\":\"https://docs.game-services.work#website\"},\"breadcrumb\":{\"@id\":\"https://docs.game-services.work/wallet/player#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.game-services.work/wallet/player#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"RGS\",\"item\":\"https://docs.game-services.work\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Player Session\",\"item\":\"https://docs.game-services.work/wallet/player\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.game-services.work/wallet/player#apireference\",\"headline\":\"Get Player Session\",\"name\":\"Get Player Session\",\"description\":\"Opens player game session for provided player token and game UUID.\",\"url\":\"https://docs.game-services.work/wallet/player\",\"mainEntityOfPage\":{\"@id\":\"https://docs.game-services.work/wallet/player#webpage\"},\"dateModified\":\"2026-01-22T14:52:36.178Z\",\"publisher\":{\"@id\":\"https://docs.game-services.work/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.game-services.work#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"RGS\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"RGS\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/wallet/player.md","siteName":"RGS","nav":{"global":null,"tabs":[{"tab":"Public And Wallet API","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/start/introduction"},{"title":"Wallet API Overview","href":"/start/wallet-overview"},{"title":"RGS Public API Overview","description":"This document provides an overview of key RGS API endpoints used to launch games and retrieve supporting metadata such as software providers, game listings, and available languages. These endpoints help operators build a dynamic and engaging gaming experience.","href":"/start/rgs-overview"}]},{"group":"Wallet API","pages":[{"title":"Get Player Session","api":"Get /session","href":"/wallet/player"},{"title":"Get Balance","api":"Get /balance","description":"Retrieves the current balance of a player based on their player ID.","href":"/wallet/balance"},{"title":"Credit Debit","api":"POST /credit-debit","href":"/wallet/creditdebit"},{"title":"Debit","api":"POST /debit","href":"/wallet/debit"},{"title":"Rollback","api":"POST /credit/rollback","href":"/wallet/rollback"},{"title":"Tournament Prize","api":"POST /tournament-prize","href":"/wallet/tournament"}]},{"group":"RGS Public API","pages":[{"title":"Game Launch","api":"Get /platform/api/game/launch","href":"/rgs/launch"},{"title":"Game Demo Launch","api":"Get /platform/api/game/launch/demo","href":"/rgs/demo-launch"},{"title":"Get Software Providers","api":"Get /platform/api/software-providers","href":"/rgs/software"},{"title":"Get Games","api":"Get /platform/api/games","href":"/rgs/games"},{"title":"Get Languages","api":"Get /platform/api/languages","href":"/rgs/languages"},{"title":"Get Currencies","api":"Get /platform/api/currencies","href":"/rgs/currencies"},{"title":"Get Game History","api":"Get /platform/game-history-path","href":"/rgs/game-history"}]},{"group":"Wallet Test","pages":[{"title":"Wallet Certification Suite","api":"GET /tbs/test","href":"/tests/run_tests"}]}]},{"tab":"Internal API","pages":[{"title":"Internal API","href":"/start/introduction-bo"}]},{"tab":"Jackpot Values Generator","pages":[{"title":"Jackpot Values Generator","href":"/tools/jackpot-values-generator"}]}]},"basePath":"","title":"Get Player Session - RGS","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js"]}