{"info":{"_postman_id":"a3afd864-099e-4aa1-b071-3a125e7f9385","name":"API documentation","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"17764087","collectionId":"a3afd864-099e-4aa1-b071-3a125e7f9385","publishedId":"2sAYQakr4w","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-01-17T18:57:06.000Z"},"item":[{"name":"PlayWin Api Documentation","item":[{"name":"Get Provider Game List","event":[{"listen":"test","script":{"id":"4a063d54-4d0f-498b-ac77-298d891eb637","exec":[""],"type":"text/javascript","packages":{}}}],"id":"46279a54-293f-48f7-a3e1-fa574432d8b0","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://playwin6.com/providerGame?provider=JiliGaming&count=12&type=Slot Game","description":"<p>Gets information about a collection. For a complete list of this endpoint's possible values, use the <a href=\"https://schema.postman.com/json/collection/v2.1.0/collection.json\">collection.json schema file</a>.</p>\n","urlObject":{"protocol":"https","path":["providerGame"],"host":["playwin6","com"],"query":[{"key":"provider","value":"JiliGaming"},{"key":"count","value":"12"},{"key":"type","value":"Slot Game"}],"variable":[]}},"response":[{"id":"cf90cbfe-a69f-488b-82e1-df4cfbcb02da","name":"Successful Response","originalRequest":{"method":"GET","header":[],"url":"https://api.getpostman.com/collections/12ece9e1-2abf-4edc-8e34-de66e74114d2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","name":"Content-Type","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"collection\": {\n        \"info\": {\n            \"name\": \"Test Collection\",\n            \"description\": \"This is a test collection that makes a tiny request to Postman Echo service to get the list of request headers sent by a HTTP client.\",\n            \"_postman_id\": \"12ece9e1-2abf-4edc-8e34-de66e74114d2\",\n            \"schema\": \"https://schema.getpostman.com/json/collection/v2.0.0/collection.json\",\n            \"updatedAt\": \"2022-06-16T20:21:13.000Z\",\n            \"fork\": {\n                \"label\": \"Test Fork\",\n                \"createdAt\": \"2022-06-16T19:51:44.069Z\",\n                \"from\": \"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2\"\n            }\n        },\n        \"item\": [\n            {\n                \"name\": \"Test GET Response\",\n                \"id\": \"82ee981b-e19f-962a-401e-ea34ebfb4848\",\n                \"event\": [\n                    {\n                        \"listen\": \"test\",\n                        \"script\": {\n                            \"id\": \"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae\",\n                            \"exec\": [\n                                \"pm.test(\\\"Status code is 200\\\", function () {\",\n                                \"    pm.response.to.have.status(200);\",\n                                \"});\"\n                            ],\n                            \"type\": \"text/javascript\"\n                        }\n                    }\n                ],\n                \"request\": {\n                    \"url\": \"https://echo.getpostman.com/headers\",\n                    \"method\": \"GET\",\n                    \"header\": [\n                        {\n                            \"key\": \"Content-Type\",\n                            \"value\": \"application/json\"\n                        }\n                    ]\n                },\n                \"response\": []\n            }\n        ]\n    }\n}"},{"id":"9b3fec99-6bb9-4055-a5ff-03bc5ae6b689","name":"Get Collection with Access Token","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getpostman.com/collections/12ece9e1-2abf-4edc-8e34-de66e74114d2?access_key={{accessKey}}","protocol":"https","host":["api","getpostman","com"],"path":["collections","12ece9e1-2abf-4edc-8e34-de66e74114d2"],"query":[{"key":"access_key","value":"{{accessKey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"collection\": {\n        \"info\": {\n            \"name\": \"Test Collection\",\n            \"description\": \"This is a test collection that makes a tiny request to Postman Echo service to get the list of request headers sent by a HTTP client.\",\n            \"_postman_id\": \"12ece9e1-2abf-4edc-8e34-de66e74114d2\",\n            \"schema\": \"https://schema.getpostman.com/json/collection/v2.0.0/collection.json\",\n            \"updatedAt\": \"2022-06-16T20:21:13.000Z\",\n            \"fork\": {\n                \"label\": \"Test Fork\",\n                \"createdAt\": \"2022-06-16T19:51:44.069Z\",\n                \"from\": \"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2\"\n            }\n        },\n        \"item\": [\n            {\n                \"name\": \"Test GET Response\",\n                \"id\": \"82ee981b-e19f-962a-401e-ea34ebfb4848\",\n                \"event\": [\n                    {\n                        \"listen\": \"test\",\n                        \"script\": {\n                            \"id\": \"7d2334fc-a84a-4c3d-b26c-7529afa4c0ae\",\n                            \"exec\": [\n                                \"pm.test(\\\"Status code is 200\\\", function () {\",\n                                \"    pm.response.to.have.status(200);\",\n                                \"});\"\n                            ],\n                            \"type\": \"text/javascript\"\n                        }\n                    }\n                ],\n                \"request\": {\n                    \"url\": \"https://echo.getpostman.com/headers\",\n                    \"method\": \"GET\",\n                    \"header\": [\n                        {\n                            \"key\": \"Content-Type\",\n                            \"value\": \"application/json\"\n                        }\n                    ]\n                },\n                \"response\": []\n            }\n        ]\n    }\n}"},{"id":"a91e933c-c13f-4a6c-9aaa-153d66eca455","name":"Not Found","originalRequest":{"method":"GET","header":[],"url":"https://api.getpostman.com/collections/12ece9e1-2abf-4edc-8e34-de66e74114d2"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"name\": \"instanceNotFoundError\",\n        \"message\": \"We could not find the collection you are looking for\"\n    }\n}"},{"id":"ce1cd8fe-49a9-4b86-9913-581683630262","name":"Rate Limit Exceeded","originalRequest":{"method":"GET","header":[],"url":"https://api.getpostman.com/collections/12ece9e1-2abf-4edc-8e34-de66e74114d2"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"rateLimited\",\n    \"message\": \"Rate limit exceeded. Please retry after 1669048687\"\n}"}],"_postman_id":"46279a54-293f-48f7-a3e1-fa574432d8b0"},{"name":"Launch Game","event":[{"listen":"test","script":{"id":"b8971d72-c21e-4592-bf5e-2fb1a3817b87","exec":[""],"type":"text/javascript","packages":{}}}],"id":"ee9e6682-0830-499c-b2e5-f45c319842a7","request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://playwin6.com/launchGame?user_id=test001&wallet_amount=1000&game_uid=provider&token=token&timestamp=1739445377742&payload=","description":"<p>Gets all of your <a href=\"https://www.getpostman.com/docs/collections\">collections</a>. The response includes all of your subscribed collections.</p>\n","urlObject":{"protocol":"https","path":["launchGame"],"host":["playwin6","com"],"query":[{"description":{"content":"<p>user id that you use in your project</p>\n","type":"text/plain"},"key":"user_id","value":"test001"},{"description":{"content":"<p>user wallel balance in your project</p>\n","type":"text/plain"},"key":"wallet_amount","value":"1000"},{"description":{"content":"<p>provider name </p>\n","type":"text/plain"},"key":"game_uid","value":"provider"},{"description":{"content":"<p>api token</p>\n","type":"text/plain"},"key":"token","value":"token"},{"description":{"content":"<p>currenttime stamp</p>\n","type":"text/plain"},"key":"timestamp","value":"1739445377742"},{"description":{"content":"<p>AES-256 Encrypt HASH make by way given in doc  </p>\n","type":"text/plain"},"key":"payload","value":""}],"variable":[]}},"response":[{"id":"3c955d7e-3f75-4a4e-a7db-b9304b63fc08","name":"Successful Response","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getpostman.com/collections","protocol":"https","host":["api","getpostman","com"],"path":["collections"],"query":[{"key":"workspace","value":"1f0df51a-8658-4ee8-a2a1-d2567dfa09a9","description":"Optional. A workspace ID.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"collections\": [\n        {\n            \"id\": \"dac5eac9-148d-a32e-b76b-3edee9da28f7\",\n            \"name\": \"Cloud API\",\n            \"owner\": \"12345678\",\n            \"createdAt\": \"2022-04-12T10:29:46.000Z\",\n            \"updatedAt\": \"2022-04-12T10:29:56.000Z\",\n            \"uid\": \"12345678-dac5eac9-148d-a32e-b76b-3edee9da28f7\",\n            \"isPublic\": true\n        },\n        {\n            \"id\": \"12ece9e1-2abf-4edc-8e34-de66e74114d2\",\n            \"name\": \"Test Collection\",\n            \"owner\": \"12345678\",\n            \"createdAt\": \"2022-01-13T10:21:46.000Z\",\n            \"updatedAt\": \"2022-02-12T11:29:56.000Z\",\n            \"uid\": \"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2\",\n            \"isPublic\": false,\n            \"fork\": {\n                \"label\": \"Test Fork\",\n                \"createdAt\": \"2022-06-16T19:51:44.069Z\",\n                \"from\": \"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2\"\n            }\n        },\n        {\n            \"id\": \"f695cab7-6878-eb55-7943-ad88e1ccfd65\",\n            \"name\": \"Postman Echo\",\n            \"owner\": \"12345678\",\n            \"createdAt\": \"2021-04-11T09:18:26.000Z\",\n            \"updatedAt\": \"2022-05-01T15:29:32.000Z\",\n            \"uid\": \"12345678-f695cab7-6878-eb55-7943-ad88e1ccfd65\",\n            \"isPublic\": true\n        }\n    ]\n}"},{"id":"11783437-61d7-4cd8-b1fa-c29bca7f9719","name":"Filter by Workspace","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getpostman.com/collections?workspace=1f0df51a-8658-4ee8-a2a1-d2567dfa09a9","protocol":"https","host":["api","getpostman","com"],"path":["collections"],"query":[{"key":"workspace","value":"1f0df51a-8658-4ee8-a2a1-d2567dfa09a9","description":"Optional. A workspace ID."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"collections\": [\n        {\n            \"id\": \"dac5eac9-148d-a32e-b76b-3edee9da28f7\",\n            \"name\": \"Cloud API\",\n            \"owner\": \"12345678\",\n            \"createdAt\": \"2022-04-12T10:29:46.000Z\",\n            \"updatedAt\": \"2022-04-12T10:29:56.000Z\",\n            \"uid\": \"12345678-dac5eac9-148d-a32e-b76b-3edee9da28f7\",\n            \"isPublic\": true\n        }\n    ]\n}"},{"id":"ab2c9bb7-0742-4b34-a993-5226c3468aed","name":"Rate Limit Exceeded","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.getpostman.com/collections","protocol":"https","host":["api","getpostman","com"],"path":["collections"],"query":[{"key":"workspace","value":"1f0df51a-8658-4ee8-a2a1-d2567dfa09a9","description":"Optional. A workspace ID.","disabled":true}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"rateLimited\",\n    \"message\": \"Rate limit exceeded. Please retry after 1669048687\"\n}"}],"_postman_id":"ee9e6682-0830-499c-b2e5-f45c319842a7"},{"name":"getProvider","id":"d8c262c5-791e-44ae-94be-cbac996b3677","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://playwin6.com/getProvider","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"d5198931-04a0-4056-b043-53df6f3f505d","id":"d5198931-04a0-4056-b043-53df6f3f505d","name":"PlayWin Api Documentation","type":"folder"}},"urlObject":{"protocol":"https","path":["getProvider"],"host":["playwin6","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d8c262c5-791e-44ae-94be-cbac996b3677"}],"id":"d5198931-04a0-4056-b043-53df6f3f505d","description":"<h3 id=\"api-description-encrypt-fetch-and-launch-games\"><strong>API Description: Encrypt, Fetch and Launch Games</strong></h3>\n<p><strong>Encrypt Request Data and Generate HMAC Hash</strong></p>\n<p>Here is your JSON data for open game:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Example Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>user_id</code></td>\n<td><code>string</code></td>\n<td>Unique identifier for the user</td>\n<td><code>\"12345\"</code></td>\n</tr>\n<tr>\n<td><code>wallet_amount</code></td>\n<td><code>string</code></td>\n<td>Amount in user's wallet</td>\n<td><code>\"456.25\"</code></td>\n</tr>\n<tr>\n<td><code>game_uid</code></td>\n<td><code>string</code></td>\n<td>Unique identifier for the game</td>\n<td><code>\"game_789\"</code></td>\n</tr>\n<tr>\n<td><code>token</code></td>\n<td><code>string</code></td>\n<td>Authentication token</td>\n<td><code>\"abcdef123456\"</code></td>\n</tr>\n<tr>\n<td><code>timestamp</code></td>\n<td><code>string</code></td>\n<td>Time of request in milliseconds</td>\n<td><code>\"1700000000000\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"aes-256-encryption-process-step-by-step-guide\"><strong>AES-256 Encryption Process (Step-by-Step Guide)</strong></h3>\n<p>This guide explains how to <strong>encrypt data using AES-256-ECB</strong> with a <strong>secret key</strong>, ensuring that <code>wallet_amount</code> and <code>timestamp</code> are in <strong>number format</strong>.</p>\n<hr />\n<h3 id=\"step-1-prepare-the-data\"><strong>Step 1: Prepare the Data</strong></h3>\n<p>We start with a JSON object containing user details.</p>\n<h4 id=\"example-json-data-before-encryption\"><strong>Example JSON Data (Before Encryption)</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"user_id\": \"12345\",\n  \"wallet_amount\": 456.25,\n  \"game_uid\": \"game_789\",\n  \"token\": \"abcdef123456\",\n  \"timestamp\": 1700000000000\n}\n\n</code></pre>\n<p>✅ <strong>Note:</strong></p>\n<ul>\n<li><code>wallet_amount</code> and <code>timestamp</code> are <strong>numbers</strong>, not strings.</li>\n</ul>\n<hr />\n<h3 id=\"step-2-convert-json-to-a-string\"><strong>Step 2: Convert JSON to a String</strong></h3>\n<p>Before encryption, we <strong>stringify</strong> the JSON object.</p>\n<h4 id=\"example-in-javascript\"><strong>Example (In JavaScript)</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-js\">const data = {\n  user_id: \"12345\",\n  wallet_amount: 456.25,  // Number\n  game_uid: \"game_789\",\n  token: \"abcdef123456\",\n  timestamp: 1700000000000  // Number\n};\nconst jsonString = JSON.stringify(data);  // Convert JSON to String\n\n</code></pre>\n<hr />\n<h3 id=\"step-3-encrypt-the-data-aes-256-ecb\"><strong>Step 3: Encrypt the Data (AES-256-ECB)</strong></h3>\n<p>Now, we <strong>encrypt</strong> the JSON string using <strong>AES-256-ECB</strong> with a <strong>secret key</strong>.</p>\n<h4 id=\"encryption-function-javascript---nodejs\"><strong>Encryption Function (JavaScript - Node.js)</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-js\">const crypto = require(\"crypto\");\nfunction aes256Encrypt(aesKey, plaintext) {\n    const key = Buffer.from(aesKey, \"utf8\");\n    const cipher = crypto.createCipheriv(\"aes-256-ecb\", key, null);  // ECB mode (No IV)\n    cipher.setAutoPadding(true);\n    let encrypted = cipher.update(plaintext, \"utf8\", \"base64\");\n    encrypted += cipher.final(\"base64\");\n    return encrypted;\n}\n// Example Usage\nconst secretKey = \"xyz-provide-by-us\";  // 32-byte key\nconst encryptedText = aes256Encrypt(secretKey, jsonString);\n\n</code></pre>\n<p>✅ <strong>Note:</strong></p>\n<ul>\n<li><p>The secret key <strong>must be 32 characters (256 bits)</strong>.</p>\n</li>\n<li><p>The result is a <strong>Base64 encoded encrypted string</strong>.</p>\n</li>\n</ul>\n<h4 id=\"1-fetch-game-api\"><strong>1. Fetch Game API</strong></h4>\n<p>This API is designed to retrieve game information based on specific criteria such as the game provider, game type, and status. The response includes essential details like game name, code, type, and associated image.</p>\n<p><strong>Key Features</strong>:</p>\n<ul>\n<li><p>Filters games based on the provider and optionally by game type.</p>\n</li>\n<li><p>Includes only active games (status = 1).</p>\n</li>\n<li><p>Supports pagination with a limit on the number of results returned.</p>\n</li>\n</ul>\n<p><strong>Endpoint</strong>: <code>/providerGame</code><br /><strong>Method</strong>: <code>GET</code><br /><strong>Request Parameters</strong>:</p>\n<ul>\n<li><p><strong>provider</strong> (string, required): Specifies the game provider.</p>\n</li>\n<li><p><strong>type</strong> (string, optional): Specifies the type/category of the game.</p>\n</li>\n<li><p><strong>limitCount</strong> (number, required): Limits the number of results returned.</p>\n</li>\n</ul>\n<p><strong>Response</strong>:</p>\n<ul>\n<li><p><strong>game_name</strong> (string): Name of the game.</p>\n</li>\n<li><p><strong>game_code</strong> (string): Unique code for the game.</p>\n</li>\n<li><p><strong>game_type</strong> (string): Type or category of the game.</p>\n</li>\n<li><p><strong>game_image</strong> (string): URL of the game image.</p>\n</li>\n</ul>\n<hr />\n<h4 id=\"2-launch-game-api\"><strong>2. Launch Game API</strong></h4>\n<p>This API is used to launch a specific game. To access this API, a valid token provided by the system is required for authentication and authorization.</p>\n<p><strong>Key Features</strong>:</p>\n<ul>\n<li><p>Ensures secure game launching using an authentication token.</p>\n</li>\n<li><p>Accepts the game code to uniquely identify the game to be launched.</p>\n</li>\n<li><p>Returns a URL or other details needed to launch the game.</p>\n</li>\n</ul>\n<p><strong>Endpoint</strong>: <code>/launchGame</code><br /><strong>Method</strong>: <code>GET</code><br /><strong>Request Body</strong>:</p>\n<ul>\n<li><p><strong>game_code</strong> (string, required): The unique code of the game to be launched.</p>\n</li>\n<li><p><strong>Personalized Session</strong>: Launches a game session based on user-specific details like <code>user_id</code> and <code>wallet_amount</code>.</p>\n</li>\n<li><p><strong>Dynamic Game Access</strong>: Accepts a unique identifier (<code>game_uid</code>) to determine the specific game provider and launch configuration.</p>\n</li>\n</ul>\n<p><strong>Response</strong>:</p>\n<ul>\n<li><p><strong>Successful Request</strong> (string): If all parameters are valid and the token is authenticated, the server <strong>redirect to the game's URL</strong></p>\n</li>\n<li><p><strong>Invalid Request</strong>: tIf any parameter is invalid or the token is expired, the server does <strong>not redirect</strong> and instead returns an appropriate error response.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>.\n\n</code></pre><p><strong>Authentication</strong>:<br />The <code>token</code> token should be obtained from the system in advance and included in the request . The token validates the user's identity and permissions.</p>\n<hr />\n<h3 id=\"fetch-game-api\"><strong>Fetch Game API</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>provider</strong></td>\n<td>string</td>\n<td>Yes</td>\n<td>The unique identifier for the game provider.</td>\n</tr>\n<tr>\n<td><strong>type</strong></td>\n<td>string</td>\n<td>No</td>\n<td>The category or type of game. Optional filter.</td>\n</tr>\n<tr>\n<td><strong>limitCount</strong></td>\n<td>number</td>\n<td>Yes</td>\n<td>The maximum number of games to fetch.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Response Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>game_name</strong></td>\n<td>string</td>\n<td>The name of the game.</td>\n</tr>\n<tr>\n<td><strong>game_code</strong></td>\n<td>string</td>\n<td>The unique code of the game.</td>\n</tr>\n<tr>\n<td><strong>game_type</strong></td>\n<td>string</td>\n<td>The category or type of the game.</td>\n</tr>\n<tr>\n<td><strong>game_image</strong></td>\n<td>string</td>\n<td>The URL of the game's image.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"launch-game-api\"><strong>Launch Game API</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>user_id</strong></td>\n<td>string</td>\n<td>Yes</td>\n<td>The unique identifier of the user launching the game.</td>\n</tr>\n<tr>\n<td><strong>wallet_amount</strong></td>\n<td>number</td>\n<td>Yes</td>\n<td>The user's wallet balance.</td>\n</tr>\n<tr>\n<td><strong>game_uid</strong></td>\n<td>string</td>\n<td>Yes</td>\n<td>The unique identifier for the game provider or session.</td>\n</tr>\n<tr>\n<td><strong>token</strong></td>\n<td>string</td>\n<td>Yes</td>\n<td>A secure token for validating the session and request.</td>\n</tr>\n<tr>\n<td><strong>timestamp</strong></td>\n<td>string</td>\n<td>Yes</td>\n<td>Timestamp in milliseconds and request.</td>\n</tr>\n<tr>\n<td><strong>payload</strong></td>\n<td>string</td>\n<td>Yes</td>\n<td>AES-256 encrypted hash value.</td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Response</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Redirect</strong></td>\n<td>-</td>\n<td>If successful, redirects to the game's launch URL.</td>\n</tr>\n<tr>\n<td><strong>Error</strong></td>\n<td>JSON</td>\n<td>Returns error message and status if parameters are invalid.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p>These tables provide a quick reference for developers to understand the required fields and expected responses for each API.</p>\n<h3 id=\"3-callback-description\">3. Callback Description</h3>\n<p>When the job is completed, the system will send a callback to that you provide us URL.</p>\n<h3 id=\"callback-flow-documentation\">Callback Flow Documentation</h3>\n<p>When the game results are ready, your system will receive a callback with the following data:</p>\n<p><strong>Callback Request:</strong></p>\n<p><strong>Method:</strong> <code>POST</code></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"game_uid\": \"12345\",              // Unique identifier for the game\n  \"game_round\": \"67890\",            // Round number for the game\n  \"bet_amount\": \"50.00\",            // The amount bet by the user\n  \"serial_number\": \"SN123456789\",   // A unique serial number for the transaction\n  \"win_amount\": \"100.00\",           // The amount won by the user\n  \"member_account\": \"user123\",      // The account of the user\n  \"currency_code\": \"USD\",           // Currency code (USD, EUR, etc.)\n  \"timestamp\": \"2025-01-27T12:34:56Z\"  // Timestamp when the game results were generated\n}\n\n</code></pre>\n<p><strong>Callback Response:</strong></p>\n<p>Once the you processes the callback, you will respond with an updated <code>credit_amount</code> and the timestamp when the response was processed:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"credit_amount\": \"1000\",           // new updated amount\n  \"timestamp\": \"2025-01-27T12:34:56Z\"  // Timestamp when the game results were generated\n}\n\n</code></pre>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"9224337f-3381-4e1e-a09e-881a4c415bc6","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"2a1f7766-7010-4f01-b702-1cc17a7ca699","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"d5198931-04a0-4056-b043-53df6f3f505d"}],"event":[{"listen":"prerequest","script":{"id":"acb001af-6025-42cc-b97a-88371249f38c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ce036bb1-b6a7-46d0-a789-73cb26de88c2","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://farming-simulator.pstmn.io"}]}