{"info":{"_postman_id":"bce6ab9e-50c6-4656-bd11-48ef78396ca6","name":"568Win Seamless Wallet API Document English Version","description":"<html><head></head><body><h2 id=\"what-is-seamless-wallet\">What is Seamless Wallet?</h2>\n<p>Seamless wallet allows your players to play seamlessly across all of 568Win's products from the account and credit that they already registered on your site.<br>If you are interested in this feature, please contact 568Win for further assistance.</p>\n<h2 id=\"how-it-works\">How it works?</h2>\n<h3 id=\"when-a-user-place-a-bet\">When a user place a bet</h3>\n<ul>\n<li><p>First, 568Win will check the balance on user account. 568Win will invoke the API request, and you should send the balance of the account back to 568Win. Please refer to <a href=\"#4da769c9-2f5c-4fdd-96c1-72c3f19d1461\">Get member balance</a></p>\n</li>\n<li><p>If user don't have enough amount of balance, 568Win will not accept the bet.<br>  If user has enough amount of balance to place bet, 568Win will inquire you to deduct the stake from user account. Please refer to <a href=\"#bd5281bc-839a-40e5-a6d5-a34206855e74\">Deduct stake</a></p>\n</li>\n</ul>\n<h3 id=\"after-the-bet-was-accepted\">After the bet was accepted</h3>\n<ul>\n<li>568Win will send the result of bet for you. Please refer to <a href=\"#0b8e63e4-8901-4536-80c0-74c5a3f0ceca\">Settle bet</a><br>  If 568Win rollback the bet, 568Win will send rollback request to inform you. Please refer to <a href=\"#1a648877-46a5-4c05-835c-6d2dfdba6a82\">Rollback</a><br>  If 568Win canceled the bet, 568Win will send cancel request to inform you. Please refer to <a href=\"#508fd45b-b3b5-4d94-8682-956f461010bc\">Cancel bet</a></li>\n</ul>\n<h2 id=\"company-key-policy\">Company Key Policy</h2>\n<ul>\n<li><p>The Company Key is a security credential required for accessing 568Win system. To ensure security, each key has an expiration date, after which it will no longer work.</p>\n</li>\n<li><p>You can choose the key’s expiration period. In the back office system, under the page <strong>7.3 System Parameter</strong>, choose the key validity period of either 30 or 90 days.</p>\n</li>\n<li><p>To maintain continuous system access, you must generate a new key before your current one expires. The new key can be created at any time through the back office 3.4 Company Key or <a href=\"https://documenter.getpostman.com/view/39587621/2sAYdbPt8e#b30ec8e7-0d95-470a-8661-5deb77579399\">API 7.3 Regenerate Company Key</a>.</p>\n</li>\n</ul>\n<h4 id=\"for-all-the-apis-below-should-use-company-key-apitype-seamlesswallet\">For all the APIs below, should use Company Key ApiType: SeamlessWallet</h4>\n<h3 id=\"seamless-wallet-api-testing-web-site\">Seamless Wallet API Testing Web Site</h3>\n<p>You can follow these steps below, and use <a href=\"http://swtest-demo.568win.com/\">this web site</a> to test your seamless wallet.</p>\n<img src=\"https://content.pstmn.io/f9c0e27c-f5a0-43d7-825d-c445db86a98e/aW1hZ2UucG5n\" width=\"616\" height=\"243\">\n\n<img src=\"https://content.pstmn.io/39df1dbd-4b0b-4235-a2ad-0f12deac194b/aW1hZ2UucG5n\" width=\"523\" height=\"732\">\n\n<h3 id=\"bet-status\">Bet Status</h3>\n<p>Bet status in your system should be implemented as follows: Running, Settled, and Void.</p>\n<img src=\"https://content.pstmn.io/6074c7aa-c5ef-4fd4-a667-ced9e639a451/aW1hZ2UucG5n\" width=\"1264\" height=\"663\">\n\n<h3 id=\"protocol\">Protocol</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>All the API request is made through HTTP post\n ● All the request will come with the following format:\n    1.Header:\n        Content-Type: application/json; charset=UTF-8\n    2.Body:\n        {\"CompanyKey\":\"7b277d9ad9f146a591a6d40bf4290d62c65bf0bcda32b50404a011733cfb7b1e\", \"Username\":\"test\"}\n ● All the API response should be in the form:\n    1.Header: Content-Type: application/json; charset=UTF-8\n    2.Body:\n        {\"AccountName\":\"test\",\"Balance\":\"9463.50002\",\"ErrorCode\":\"0\",\"ErrorMessage\":\"No Error\"}\n\n</code></pre><h2 id=\"sbo-sports-freebet-impact\">SBO Sports FreeBet impact</h2>\n<p>SBO Sports FreeBet uses the same Seamless Wallet endpoints. No new wallet endpoint, endpoint path, authentication flow, or response envelope is required.</p>\n<p>When a player places a bet using SBO Sports FreeBet, 568Win will still trigger the existing <code>Deduct</code> API.</p>\n<p>In this scenario:</p>\n<ul>\n<li><code>Amount</code> will be <code>0</code> because no wallet balance is deducted from the player.</li>\n<li><a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\"><code>ExtraInfo</code></a> will contain the PromotionReward parameter to identify the bet as an SBO Sports FreeBet bet.</li>\n</ul>\n<p>Please refer to the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\">ExtraInfo</a> appendix for related details.<br>Note: Normal bets will not contain the PromotionReward parameter.</p>\n<p><a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\"><code>ExtraInfo</code></a> FreeBet parameter example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"PromotionRewardCode\": \"FB-2Q4W6E8R1T3Y5U7I\",\n  \"PromotionRewardAmount\": 50.0,\n  \"PromotionEventId\": 1001\n}\n</code></pre>\n<p>Please do not determine whether a bet is a FreeBet bet based only on <code>Amount = 0</code>. When the PromotionReward parameter exists in <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\"><code>ExtraInfo</code></a>, the bet should be treated as an SBO Sports FreeBet bet. Please store the following values together for future reconciliation and tracking:</p>\n<ul>\n<li>PromotionReward</li>\n<li><code>TransferCode</code></li>\n<li><code>TransactionId</code></li>\n</ul>\n<p>Existing <code>Settle</code>, <code>Cancel</code>, and <code>Rollback</code> handling flows should continue to be used afterward.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"39587621","collectionId":"bce6ab9e-50c6-4656-bd11-48ef78396ca6","publishedId":"2sAY55adgd","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-25T09:36:02.000Z"},"item":[{"name":"SW API","item":[{"name":"Get Member Balance","id":"4da769c9-2f5c-4fdd-96c1-72c3f19d1461","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"ProductType\" : 1,\r\n    \"GameType\" : 1,\r\n    \"Gpid\" : -2\r\n} ","options":{"raw":{"language":"json"}}},"url":"YourDomain/GetBalance","description":"<p>568Win will use this API to get the member's balance.</p>\n<p>*You have to implement this API to handle our request. Please implement the ResponseBody as the example below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Request Field Name</th>\n<th>Type</th>\n<th>Required/Optional</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CompanyKey</td>\n<td>string</td>\n<td>Required</td>\n<td>The Company Key is a unique and essential security credential that grants your company secure access to the 568Win system. The Company Key is rotated with a new key every 30 or 90 days, generated by the company.</td>\n</tr>\n<tr>\n<td>Username (Post)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>ProductType</td>\n<td>int</td>\n<td>Required</td>\n<td>ProductType means the product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8\">Product Type</a> below.</td>\n</tr>\n<tr>\n<td>GameType</td>\n<td>int</td>\n<td>Required</td>\n<td>GameType means the different games under same product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b8fa98ec-4d55-405f-a416-1d3b1551f4f5\">Game Type</a> below.</td>\n</tr>\n<tr>\n<td>AccountName (Call Back)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet, and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>Balance</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Member's account balance.  <br />Balance should be 2 decimal places only.</td>\n</tr>\n<tr>\n<td>ErrorCode</td>\n<td>int</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>ErrorMessage</td>\n<td>string</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>Gpid</td>\n<td>int</td>\n<td>Optional</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#f945cbe6-9141-4734-90e2-77ba4844054d\">Game Provider</a> list below.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["GetBalance"],"host":["YourDomain"],"query":[],"variable":[]}},"response":[{"id":"44fdffb9-931b-489a-9b41-77911960ad5a","name":"Sample Code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"ProductType\" : 1,\r\n    \"GameType\" : 1,\r\n    \"Gpid\" : -2\r\n} ","options":{"raw":{"language":"json"}}},"url":"YourDomain/GetBalance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"AccountName\": \"Player01\",\n    \"Balance\": 9483.52,\n    \"ErrorCode\": 0,\n    \"ErrorMessage\": \"No Error\"\n}"}],"_postman_id":"4da769c9-2f5c-4fdd-96c1-72c3f19d1461"},{"name":"Deduct Stake","id":"bd5281bc-839a-40e5-a6d5-a34206855e74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"Amount\": 1.5,\r\n    \"TransferCode\": \"3998211\",\r\n    \"TransactionId\": \"3998211\",\r\n    \"BetTime\": \"2021-06-01T00:23:25.9143053-04:00\",\r\n    \"GameRoundId\": null,\r\n    \"GamePeriodId\": null,\r\n    \"OrderDetail\": null,\r\n    \"PlayerIp\": \"1.2.3.4\",\r\n    \"GameTypeName\": null,\r\n    \"CompanyKey\": \"CompanyKey\",\r\n    \"Username\": \"PlayerName\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"NewGameType\": 101,\r\n    \"GameId\": 1,\r\n    \"Gpid\": -2,\r\n    \"ExtraInfo\":{\r\n        \"sportType\":\"Football\",\r\n        \"marketType\":\"Over/Under\",\r\n        \"league\":\"ITALY SERIE A\",\r\n        \"match\":\"Lecce vs Sampdoria\",\r\n        \"betOption\":\"Over\",\r\n        \"kickoffTime\":\"2021-06-01T00:23:25\",\r\n        \"isHalfWonLose\": false,\r\n        \"winlostDate\": null\r\n    },\r\n    \"SeamlessGameExtraInfo\":{\r\n        \"FeatureBuyStatus\":0,\r\n        \"EndRoundStatus\":0\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Deduct","description":"<p>568Win will use this API to inform you to deduct the user's stake when bet is placed by member, 568Win <strong>will reject user's bet if the errorCode is not 0 from your response.</strong></p>\n<p>This API may be requested by us many times under the same bet, which means that user raise their bet.<br />In different product type Deduct api has different logic.</p>\n<ul>\n<li><p>In Sports, the same transferCode can't Deduct twice.</p>\n</li>\n<li><p>In Casino and RNG Games, the same transferCode can Deduct twice, but 2nd Deduct amount must be greater than 1st Deduct.</p>\n</li>\n<li><p>In VirtualSports, the same transferCode can't Deduct twice.</p>\n</li>\n<li><p>In 3rd Wan Mei, the same transferCode and same transactionId can't Deduct twice, but same transferCode can Deduct another transactionId.</p>\n</li>\n</ul>\n<p>*You have to implement this API to handle our request. Please implement the ResponseBody as the example below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Request Field Name</th>\n<th>Type</th>\n<th>Required/Optional</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CompanyKey</td>\n<td>string</td>\n<td>Required</td>\n<td>The Company Key is a unique and essential security credential that grants your company secure access to the 568Win system. The Company Key is rotated with a new key every 30 or 90 days, generated by the company.</td>\n</tr>\n<tr>\n<td>Username (Post)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>ProductType</td>\n<td>int</td>\n<td>Required</td>\n<td>ProductType means the product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8\">Product Type</a> below.</td>\n</tr>\n<tr>\n<td>GameType</td>\n<td>int</td>\n<td>Required</td>\n<td>GameType means the different games under same product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b8fa98ec-4d55-405f-a416-1d3b1551f4f5\">Game Type</a> below.</td>\n</tr>\n<tr>\n<td>NewGameType</td>\n<td>int</td>\n<td>Optional</td>\n<td>NewGameType means the game's category in Seamless Game Provider and Third Party Sports Provider  <br />Are not used by other Product  <br />  <br />Please refer to Appendix <a href=\"https://documenter.getpostman.com/view/39587621/2sAY547zFg#3926011c-d953-402c-afd8-dbd49ce1e6e8\">9.13.1 New Seamless Game Provider Game Type</a></td>\n</tr>\n<tr>\n<td>GameId</td>\n<td>int</td>\n<td>Optional</td>\n<td>The GameId of the game. Can check 8.1 get-game-list API</td>\n</tr>\n<tr>\n<td>GamePeriodId</td>\n<td>string</td>\n<td>Optional</td>\n<td>Seamless Games The round id of the game.</td>\n</tr>\n<tr>\n<td>OrderDetail</td>\n<td>string</td>\n<td>Optional</td>\n<td>Seamless Games Player's Order detail of game.</td>\n</tr>\n<tr>\n<td>GameTypeName</td>\n<td>string</td>\n<td>Optional</td>\n<td>Seamless Games The game type of the bet</td>\n</tr>\n<tr>\n<td>AccountName (Call Back)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>Amount (Post)</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Amount of bet.</td>\n</tr>\n<tr>\n<td>BetAmount (Call back)</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Amount of bet.</td>\n</tr>\n<tr>\n<td>TransferCode</td>\n<td>string</td>\n<td>Required</td>\n<td>Everytime when a member place a bet, it generates a unique transfer code refering to the bet, so each bet has their own transfer code.</td>\n</tr>\n<tr>\n<td>TransactionId</td>\n<td>string</td>\n<td>Required</td>\n<td>When ProductType : 1 or 3 or 7 (Sports, Games, Casino), will have the same value with transferCode.  <br />When ProductType : 9 (Seamless Game Provider), will send the Round Id in order to identify the round in specific third party games.</td>\n</tr>\n<tr>\n<td>BetTime</td>\n<td>dateTime</td>\n<td>Required</td>\n<td>Time for member to place bet.</td>\n</tr>\n<tr>\n<td>Balance</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Member's account balance.  <br />Balance should be 2 decimal places only.</td>\n</tr>\n<tr>\n<td>PlayerIp</td>\n<td>string</td>\n<td>Optional</td>\n<td>Player's ip address</td>\n</tr>\n<tr>\n<td>GameRoundId</td>\n<td>string</td>\n<td>Optional</td>\n<td>Seamless Games The sub-round id of the game.</td>\n</tr>\n<tr>\n<td>ErrorCode</td>\n<td>int</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>ErrorMessage</td>\n<td>string</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>Gpid</td>\n<td>int</td>\n<td>Optional</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#f945cbe6-9141-4734-90e2-77ba4844054d\">Game Provider</a> list below.</td>\n</tr>\n<tr>\n<td>ExtraInfo</td>\n<td>Object</td>\n<td>Optional</td>\n<td><strong>Only support SBO/ 568Win Sports.</strong>  <br />Please refer to <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\">ExtraInfo</a></td>\n</tr>\n<tr>\n<td>SeamlessGameExtraInfo</td>\n<td>Object</td>\n<td>Optional</td>\n<td><strong>Only support SeamlessGame</strong>  <br />Please refer to <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#cecfa9d0-f0fb-478f-b727-507efd9b1a6e\">SeamlessGameExtraInfo</a></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"sbo-sports-freebet\">SBO Sports FreeBet</h3>\n<p>When a player places a bet using SBO Sports FreeBet, 568Win will still trigger the existing <code>Deduct</code> API.</p>\n<p>In this scenario:</p>\n<ul>\n<li><code>Amount</code> will be <code>0</code> because no wallet balance is deducted from the player.</li>\n<li><a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\"><code>ExtraInfo</code></a> will contain the PromotionReward parameter to identify the bet as an SBO Sports FreeBet bet.</li>\n</ul>\n<p>Please refer to the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\">ExtraInfo</a> appendix for related details.<br />Note: Normal bets will not contain the PromotionReward parameter.</p>\n<p>Example FreeBet parameters in <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\"><code>ExtraInfo</code></a>:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"PromotionRewardCode\": \"FB-2Q4W6E8R1T3Y5U7I\",\n  \"PromotionRewardAmount\": 50.0,\n  \"PromotionEventId\": 1001\n}\n</code></pre>\n<p>Please do not determine whether a bet is a FreeBet bet based only on <code>Amount = 0</code>. When the PromotionReward parameter exists in <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\"><code>ExtraInfo</code></a>, the bet should be treated as an SBO Sports FreeBet bet. Please store the following values together for future reconciliation and tracking:</p>\n<ul>\n<li>PromotionReward</li>\n<li><code>TransferCode</code></li>\n<li><code>TransactionId</code></li>\n</ul>\n<p>Existing <code>Settle</code>, <code>Cancel</code>, and <code>Rollback</code> handling flows should continue to be used afterward.</p>\n","urlObject":{"path":["Deduct"],"host":["YourDomain"],"query":[],"variable":[]}},"response":[{"id":"cab07bda-9636-483c-b201-40f6863e8ebe","name":"Sample Code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"Amount\": 1.5,\r\n    \"TransferCode\": \"3998211\",\r\n    \"TransactionId\": \"3998211\",\r\n    \"BetTime\": \"2021-06-01T00:23:25.9143053-04:00\",\r\n    \"GameRoundId\": null,\r\n    \"GamePeriodId\": null,\r\n    \"OrderDetail\": null,\r\n    \"PlayerIp\": \"1.2.3.4\",\r\n    \"GameTypeName\": null,\r\n    \"CompanyKey\": \"CompanyKey\",\r\n    \"Username\": \"PlayerName\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"NewGameType\": 101,\r\n    \"GameId\": 1,\r\n    \"Gpid\": -2,\r\n    \"ExtraInfo\":{\r\n        \"sportType\":\"Football\",\r\n        \"marketType\":\"Over/Under\",\r\n        \"league\":\"ITALY SERIE A\",\r\n        \"match\":\"Lecce vs Sampdoria\",\r\n        \"betOption\":\"Over\",\r\n        \"kickoffTime\":\"2021-06-01T00:23:25\",\r\n        \"isHalfWonLose\": false,\r\n        \"winlostDate\": null\r\n    },\r\n    \"SeamlessGameExtraInfo\":{\r\n        \"FeatureBuyStatus\":0,\r\n        \"EndRoundStatus\":0\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Deduct"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"AccountName\": \"Player01\",\n    \"Balance\": 8262.52,\n    \"ErrorCode\": 0,\n    \"ErrorMessage\": \"No Error\",\n    \"BetAmount\": 1.5\n}"}],"_postman_id":"bd5281bc-839a-40e5-a6d5-a34206855e74"},{"name":"Settle Bet","id":"0b8e63e4-8901-4536-80c0-74c5a3f0ceca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"TransferCode\": \"3998211\",\r\n    \"WinLoss\": 0.000000,\r\n    \"ResultType\": 1,\r\n    \"ResultTime\": \"2021-06-01T23:33:49.0404216-04:00\",\r\n    \"CommissionStake\": 0.0,\r\n    \"GameResult\": null,\r\n    \"CompanyKey\": \"CompanyKey\",\r\n    \"Username\": \"PlayerName\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"Gpid\": -2,\r\n    \"IsCashOut\": true,\r\n    \"ExtraInfo\":{\r\n        \"sportType\":\"Football\",\r\n        \"marketType\":\"Over/Under\",\r\n        \"league\":\"ITALY SERIE A\",\r\n        \"match\":\"Lecce vs Sampdoria\",\r\n        \"betOption\":\"Over\",\r\n        \"kickoffTime\":\"2024-06-01T00:23:25\",\r\n        \"isHalfWonLose\": true,\r\n        \"winlostDate\": \"2024-06-01T00:00:00\"\r\n    },\r\n    \"SeamlessGameExtraInfo\":{\r\n        \"FeatureBuyStatus\":0,\r\n        \"EndRoundStatus\":0\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Settle","description":"<p>568Win will use this API to send the result of bet for you to settle the bet.<br />Please note that 568Win might resettle the bet when needed. You need to handle the case for 568Win.</p>\n<p><strong>When 568Win settle the bet:</strong></p>\n<ol>\n<li><p>The bet should be in running status at first.</p>\n</li>\n<li><p>568Win call Settle. You need to make the bet to Settled status.</p>\n</li>\n</ol>\n<p><strong>When 568Win resettle the bet:</strong></p>\n<ol>\n<li><p>The bet should be in settled status at first.</p>\n</li>\n<li><p>568Win call Rollback. You need to make the bet back to running status.</p>\n</li>\n<li><p>568Win call Settle to resettle the bet. You need to make the bet to Settled status.</p>\n</li>\n</ol>\n<p>*You have to implement this API to handle our request. Please implement the ResponseBody as the example below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Request Field Name</th>\n<th>Type</th>\n<th>Required/Optional</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CompanyKey</td>\n<td>string</td>\n<td>Required</td>\n<td>The Company Key is a unique and essential security credential that grants your company secure access to the 568Win system. The Company Key is rotated with a new key every 30 or 90 days, generated by the company.</td>\n</tr>\n<tr>\n<td>Username (Post)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>ProductType</td>\n<td>int</td>\n<td>Required</td>\n<td>ProductType means the product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8\">Product Type</a> below.</td>\n</tr>\n<tr>\n<td>GameType</td>\n<td>int</td>\n<td>Required</td>\n<td>GameType means the different games under same product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b8fa98ec-4d55-405f-a416-1d3b1551f4f5\">Game Type</a> below.</td>\n</tr>\n<tr>\n<td>AccountName (Call Back)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>CommissionStake</td>\n<td>decimal</td>\n<td>Required</td>\n<td>A valid stake from the provider. It is called TurnoverStake in the Report API.</td>\n</tr>\n<tr>\n<td>GameResult</td>\n<td>string</td>\n<td>Required</td>\n<td>GameResult of seamlessBet</td>\n</tr>\n<tr>\n<td>TransferCode</td>\n<td>string</td>\n<td>Required</td>\n<td>When the bet is settled, you should identify and use the corresponding transfer code generated during the previous <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#0b8e63e4-8901-4536-80c0-74c5a3f0ceca\">Deduct Stake</a> stage to proceed with the Settle process.</td>\n</tr>\n<tr>\n<td>Balance</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Member's account balance.  <br />Balance should be 2 decimal places only.</td>\n</tr>\n<tr>\n<td>WinLoss</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Win or loss amount, Include the member's stake.</td>\n</tr>\n<tr>\n<td>ResultType</td>\n<td>int</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#4414e4e9-fe41-4af4-a480-decea8dafb3d\">Result Type</a> below.</td>\n</tr>\n<tr>\n<td>ResultTime</td>\n<td>dateTime</td>\n<td>Required</td>\n<td>The time that bet was settled.</td>\n</tr>\n<tr>\n<td>ErrorCode</td>\n<td>int</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>ErrorMessage</td>\n<td>string</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>Gpid</td>\n<td>int</td>\n<td>Optional</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#f945cbe6-9141-4734-90e2-77ba4844054d\">Game Provider</a> list below.</td>\n</tr>\n<tr>\n<td>IsCashOut</td>\n<td>bool</td>\n<td>Required</td>\n<td>When value is True, this bet has been cashed out</td>\n</tr>\n<tr>\n<td>ExtraInfo</td>\n<td>Object</td>\n<td>Optional</td>\n<td><strong>Only support SBO/ 568Win Sports.</strong>  <br />Please refer to <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\">ExtraInfo</a></td>\n</tr>\n<tr>\n<td>SeamlessGameExtraInfo</td>\n<td>Object</td>\n<td>Optional</td>\n<td><strong>Only support SeamlessGame</strong>  <br />Please refer to <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#cecfa9d0-f0fb-478f-b727-507efd9b1a6e\">SeamlessGameExtraInfo</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["Settle"],"host":["YourDomain"],"query":[],"variable":[]}},"response":[{"id":"28f62d9e-e29d-4b94-9bc0-bb8f39d913be","name":"Sample Code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"TransferCode\": \"3998211\",\r\n    \"WinLoss\": 0.000000,\r\n    \"ResultType\": 1,\r\n    \"ResultTime\": \"2021-06-01T23:33:49.0404216-04:00\",\r\n    \"CommissionStake\": 0.0,\r\n    \"GameResult\": \"\",\r\n    \"CompanyKey\": \"CompanyKey\",\r\n    \"Username\": \"PlayerName\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"Gpid\": -2,\r\n    \"IsCashOut\": true,\r\n    \"ExtraInfo\":{\r\n        \"sportType\":\"Football\",\r\n        \"marketType\":\"Over/Under\",\r\n        \"league\":\"ITALY SERIE A\",\r\n        \"match\":\"Lecce vs Sampdoria\",\r\n        \"betOption\":\"Over\",\r\n        \"kickoffTime\":\"2024-06-01T00:23:25\",\r\n        \"isHalfWonLose\": true,\r\n        \"winlostDate\": \"2024-06-01T00:00:00\"\r\n    },\r\n    \"SeamlessGameExtraInfo\":{\r\n        \"FeatureBuyStatus\":0,\r\n        \"EndRoundStatus\":0\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Settle"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"AccountName\": \"Player01\",\n    \"Balance\": 8242.52,\n    \"ErrorCode\": 0,\n    \"ErrorMessage\": \"No Error\"\n}"}],"_postman_id":"0b8e63e4-8901-4536-80c0-74c5a3f0ceca"},{"name":"Rollback","id":"1a648877-46a5-4c05-835c-6d2dfdba6a82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"TransferCode\":\"3998211\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"Gpid\": -2,\r\n    \"ExtraInfo\":{\r\n        \"sportType\":\"Football\",\r\n        \"marketType\":\"Over/Under\",\r\n        \"league\":\"ITALY SERIE A\",\r\n        \"match\":\"Lecce vs Sampdoria\",\r\n        \"betOption\":\"Over\",\r\n        \"kickoffTime\":\"2021-06-01T00:23:25\",\r\n        \"isHalfWonLose\": true,\r\n        \"winlostDate\": null\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Rollback","description":"<p>If any situation forces 568Win to rollback the settlement, after 568Win has rollback the bet, 568Win will send this API request to inform you.</p>\n<p>Rollback means the settled bet in a game will go back to running state, and will have to be settled again.</p>\n<p>*You have to implement this API to handle our request. Please implement the ResponseBody as the example below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Request Field Name</th>\n<th>Type</th>\n<th>Required/Optional</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CompanyKey</td>\n<td>string</td>\n<td>Required</td>\n<td>The Company Key is a unique and essential security credential that grants your company secure access to the 568Win system. The Company Key is rotated with a new key every 30 or 90 days, generated by the company.</td>\n</tr>\n<tr>\n<td>Username (Post)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>ProductType</td>\n<td>int</td>\n<td>Required</td>\n<td>ProductType means the product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8\">Product Type</a> below.</td>\n</tr>\n<tr>\n<td>GameType</td>\n<td>int</td>\n<td>Required</td>\n<td>GameType means the different games under same product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b8fa98ec-4d55-405f-a416-1d3b1551f4f5\">Game Type</a> below.</td>\n</tr>\n<tr>\n<td>AccountName (Call Back)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>TransferCode</td>\n<td>string</td>\n<td>Required</td>\n<td>When the bet is rolled back, you should identify and use the corresponding transfer code generated during the previous <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#0b8e63e4-8901-4536-80c0-74c5a3f0ceca\">Deduct Stake</a> stage to proceed with the Rollback process.</td>\n</tr>\n<tr>\n<td>Balance</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Member's account balance.  <br />Balance should be 2 decimal places only.</td>\n</tr>\n<tr>\n<td>ErrorCode</td>\n<td>int</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>ErrorMessage</td>\n<td>string</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>Gpid</td>\n<td>int</td>\n<td>Optional</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#f945cbe6-9141-4734-90e2-77ba4844054d\">Game Provider</a> list below.</td>\n</tr>\n<tr>\n<td>ExtraInfo</td>\n<td>Object</td>\n<td>Optional</td>\n<td><strong>Only support SBO/ 568Win Sports.</strong>  <br />Please refer to <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\">ExtraInfo</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["Rollback"],"host":["YourDomain"],"query":[],"variable":[]}},"response":[{"id":"f1701a21-6482-4fea-88be-9f9fa23ea403","name":"Sample Code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"TransferCode\":\"3998211\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"Gpid\": -2,\r\n    \"ExtraInfo\":{\r\n        \"sportType\":\"Football\",\r\n        \"marketType\":\"Over/Under\",\r\n        \"league\":\"ITALY SERIE A\",\r\n        \"match\":\"Lecce vs Sampdoria\",\r\n        \"betOption\":\"Over\",\r\n        \"kickoffTime\":\"2021-06-01T00:23:25\",\r\n        \"isHalfWonLose\": true,\r\n        \"winlostDate\": null\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Rollback"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"AccountName\":\"Player01\",\n    \"Balance\":8222.52,\n    \"ErrorCode\":0,\n    \"ErrorMessage\":\"No Error\"\n}"}],"_postman_id":"1a648877-46a5-4c05-835c-6d2dfdba6a82"},{"name":"Cancel Bet","id":"508fd45b-b3b5-4d94-8682-956f461010bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"TransferCode\":\"3998211\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"IsCancelAll\" : true,\r\n    \"TransactionId\":\"3998211\",\r\n    \"Gpid\":-2,\r\n    \"ExtraInfo\":{\r\n        \"sportType\":\"Football\",\r\n        \"marketType\":\"Over/Under\",\r\n        \"league\":\"ITALY SERIE A\",\r\n        \"match\":\"Lecce vs Sampdoria\",\r\n        \"betOption\":\"Over\",\r\n        \"kickoffTime\":\"2024-06-01T00:23:25\",\r\n        \"isHalfWonLose\": true,\r\n        \"winlostDate\": \"2024-06-01T00:00:00\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Cancel","description":"<p>If any situation forces 568Win to cancel the bet, after 568Win has canceled the bet, 568Win will send this API request to inform you.<br />Cancel means the running or settled bet in a game will be void, and will not be accepted anymore.</p>\n<ol>\n<li><p>The bet should be in either Running or Settled status at first.</p>\n<ol>\n<li><p>If you cancel a bet on a running order, you can cancel the raise order.</p>\n</li>\n<li><p>If you cancel a bet on a settled order, you can only cancel the entire order, and you cannot cancel the raise order separately.</p>\n</li>\n</ol>\n</li>\n<li><p>568Win call Cancel. You need to make the bet to Void status.</p>\n</li>\n</ol>\n<p>*You have to implement this API to handle our request. Please implement the ResponseBody as the example below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Request Field Name</th>\n<th>Type</th>\n<th>Required/Optional</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CompanyKey</td>\n<td>string</td>\n<td>Required</td>\n<td>The Company Key is a unique and essential security credential that grants your company secure access to the 568Win system. The Company Key is rotated with a new key every 30 or 90 days, generated by the company.</td>\n</tr>\n<tr>\n<td>ProductType</td>\n<td>int</td>\n<td>Required</td>\n<td>ProductType means the product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8\">Product Type</a> below.</td>\n</tr>\n<tr>\n<td>GameType</td>\n<td>int</td>\n<td>Required</td>\n<td>GameType means the different games under same product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b8fa98ec-4d55-405f-a416-1d3b1551f4f5\">Game Type</a> below.</td>\n</tr>\n<tr>\n<td>Username (Post)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>AccountName (Call Back)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>TransferCode</td>\n<td>string</td>\n<td>Required</td>\n<td>When the bet is cancelled, you should identify and use the corresponding transfer code generated during the previous <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#0b8e63e4-8901-4536-80c0-74c5a3f0ceca\">Deduct Stake</a> stage to proceed with the Cancel process.</td>\n</tr>\n<tr>\n<td>TransactionId</td>\n<td>string</td>\n<td>Optional</td>\n<td>A unique identifier for each transaction.  <br />When ProductType : 1 or 3 or 7 (Sports, Games, Casino), Transaction ID will be the same value with transferCode.  <br />When ProductType : 9 (Seamless Game Provider), the Transaction ID is to identify the sub bets in specific third-party games.</td>\n</tr>\n<tr>\n<td>IsCancelAll</td>\n<td>bool</td>\n<td>Required</td>\n<td><code>true</code>: Cancel all the subbets that under same transferCode  <br />  <br /><code>false</code>: Cancel the bet that only match transferCode and transactionId</td>\n</tr>\n<tr>\n<td>Balance</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Member's account balance.  <br />Balance should be 2 decimal places only.</td>\n</tr>\n<tr>\n<td>ErrorCode</td>\n<td>int</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>ErrorMessage</td>\n<td>string</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>Gpid</td>\n<td>int</td>\n<td>Optional</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#f945cbe6-9141-4734-90e2-77ba4844054d\">Game Provider</a> list below.</td>\n</tr>\n<tr>\n<td>ExtraInfo</td>\n<td>Object</td>\n<td>Optional</td>\n<td><strong>Only support SBO/ 568Win Sports.</strong>  <br />Please refer to <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\">ExtraInfo</a></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["Cancel"],"host":["YourDomain"],"query":[],"variable":[]}},"response":[{"id":"b819670f-8318-4502-a2b9-f94f42543fdd","name":"Sample Code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"TransferCode\":\"3998211\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"IsCancelAll\" : true,\r\n    \"TransactionId\":\"3998211\",\r\n    \"Gpid\":-2,\r\n    \"ExtraInfo\":{\r\n        \"sportType\":\"Football\",\r\n        \"marketType\":\"Over/Under\",\r\n        \"league\":\"ITALY SERIE A\",\r\n        \"match\":\"Lecce vs Sampdoria\",\r\n        \"betOption\":\"Over\",\r\n        \"kickoffTime\":\"2024-06-01T00:23:25\",\r\n        \"isHalfWonLose\": true,\r\n        \"winlostDate\": \"2024-06-01T00:00:00\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Cancel"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"AccountName\":\"Player01\",\n    \"Balance\":8242.52,\n    \"ErrorCode\":0,\n    \"ErrorMessage\":\"No Error\"\n}"}],"_postman_id":"508fd45b-b3b5-4d94-8682-956f461010bc"},{"name":"Return Stake","id":"8fcdecd1-4cef-492c-b954-87ca17899c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"ProductType\": 9,\r\n    \"GameType\": 1,\r\n    \"Gpid\": 1022,\r\n    \"CurrentStake\": 0.6,\r\n    \"TransferCode\":\"3998211\",\r\n    \"TransactionId\":\"3998211\",\r\n    \"ReturnStakeTime\": \"2026-05-12T22:34:22.0000000-04:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/ReturnStake","description":"<p>This API is mainly used for the following scenario:</p>\n<p>After a player places a bet, some third-party providers may reject part of the original stake amount due to risk control reasons, and only accept a partial stake amount.</p>\n<ul>\n<li><p>Supported Provider:</p>\n<ul>\n<li><strong>GPID 1022 - BTiSports</strong></li>\n</ul>\n</li>\n</ul>\n<p>Once the provider confirms the actual accepted stake amount, 568Win will call the ReturnStake API to notify you of the new accepted stake amount, so you can refund the difference back to the player's wallet.<br />This API only updates the Stake Amount of the bet and does not affect the bet status.</p>\n<p><strong>Flow:</strong></p>\n<ol>\n<li><p>The bet has previously completed the deduction process through the <a href=\"https://documenter.getpostman.com/view/39587621/2sAYdctDGt#defcb34b-7247-4a74-901e-45659e128e8f\">Deduct Stake</a> API, and the current bet status is Running.</p>\n</li>\n<li><p>Once the provider confirms the actual accepted stake amount, 568Win will call the Return Stake API and pass the latest <code>CurrentStake</code>.<br /> <code>CurrentStake</code> represents the final accepted stake amount by the provider, and is <strong>NOT</strong> the refund difference amount.</p>\n</li>\n<li><p>After receiving the Return Stake API:</p>\n<ol>\n<li><p>You are required to refund the difference between the original stake amount and <code>CurrentStake</code> back to the player's wallet.</p>\n</li>\n<li><p>The bet status must remain as Running.</p>\n</li>\n<li><p>Please do <strong>NOT</strong> settle or cancel the bet at this stage.</p>\n</li>\n</ol>\n</li>\n<li><p>If the bet is settled afterward:</p>\n<ol>\n<li>The <a href=\"https://documenter.getpostman.com/view/39587621/2sAYdctDGt#5ca0d6e9-d533-4ac4-929a-3dd009aacc3a\">Settle Bet</a> API will use the latest <code>CurrentStake</code> as the calculation basis for WinLoss.</li>\n</ol>\n</li>\n</ol>\n<p><strong>Example:</strong></p>\n<ol>\n<li><p>A player places a bet with a stake amount of 100.<br /> 568Win calls the Deduct Stake API with <code>Amount = 100</code>, and you deduct 100 from the player’s wallet.</p>\n</li>\n<li><p>Due to risk control, the provider only accepts 60 as the final valid stake amount.<br /> 568Win then call the Return Stake API with <code>CurrentStake = 60</code>.</p>\n</li>\n<li><p>After receiving the Return Stake API request, you should calculate the refund amount based on:<br /> <code>Original Stake Amount − CurrentStake</code><br /> In this example: <code>100 − 60 = 40</code><br /> Therefore, 40 should be refund back to the player’s wallet.</p>\n</li>\n<li><p>The bet status must remain <code>Running</code>, and the final stake amount of the bet becomes 60.<br /> When the bet is settled later, the <a href=\"https://documenter.getpostman.com/view/39587621/2sAYdctDGt#5ca0d6e9-d533-4ac4-929a-3dd009aacc3a\">Settle Bet</a> process will use 60 as the basis for WinLoss calculation.</p>\n</li>\n</ol>\n<p><strong>Note:</strong></p>\n<ul>\n<li><p>When integrating the <strong>BTiSports</strong> third-party sports product, implementation of the Return Stake API is mandatory.</p>\n</li>\n<li><p>If the Return Stake API is not implemented correctly, inconsistencies may occur between the player’s wallet balance and the actual accepted stake amount confirmed by the provider. This may further lead to reconciliation discrepancies or potential financial risks.</p>\n</li>\n</ul>\n<p>*You have to implement this API to handle 568Win's request. Please implement the ResponseBody as the example below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Request Field Name</th>\n<th>Type</th>\n<th>Required/Optional</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CompanyKey</td>\n<td>string</td>\n<td>Required</td>\n<td>The Company Key is a unique and essential security credential that grants your company secure access to the 568Win system. The Company Key is rotated with a new key every 30 or 90 days, generated by the company.</td>\n</tr>\n<tr>\n<td>Username (Post)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>ProductType</td>\n<td>int</td>\n<td>Required</td>\n<td>ProductType means the product's category. Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8\">Product Type</a> below.</td>\n</tr>\n<tr>\n<td>GameType</td>\n<td>int</td>\n<td>Required</td>\n<td>GameType means the different games under same product's category. Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b8fa98ec-4d55-405f-a416-1d3b1551f4f5\">Game Type</a> below.</td>\n</tr>\n<tr>\n<td>AccountName (Call Back)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>CurrentStake (Post)</td>\n<td>decimal</td>\n<td>Required</td>\n<td>The <strong>new current stake</strong> after reduction (NOT the refund delta).</td>\n</tr>\n<tr>\n<td>TransferCode</td>\n<td>string</td>\n<td>Required</td>\n<td>When you receive a Return Stake request to refund the difference stake amount, you should identify and use the corresponding transfer code generated during the previous <a href=\"https://documenter.getpostman.com/view/39587621/2sAYdctDGt#defcb34b-7247-4a74-901e-45659e128e8f\">Deduct Stake</a> stage to proceed with the Return Stake process.</td>\n</tr>\n<tr>\n<td>TransactionId</td>\n<td>string</td>\n<td>Required</td>\n<td>A unique identifier for each transaction.  <br />When ProductType: 1 or 3 or 7 (Sports, Games, Casino), will have the same value with transferCode.  <br />When ProductType: 9 (Seamless Game Provider), will send the Round Id in order to identify the round in specific third-party games.</td>\n</tr>\n<tr>\n<td>ReturnStakeTime</td>\n<td>dateTime</td>\n<td>Required</td>\n<td>The time the provider changed the stake.</td>\n</tr>\n<tr>\n<td>Balance</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Member's account balance. (If errorCode is not 0, balance should be 0 )  <br />Balance should be 2 decimal places only.</td>\n</tr>\n<tr>\n<td>ErrorCode</td>\n<td>int</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>ErrorMessage</td>\n<td>string</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>Gpid</td>\n<td>int</td>\n<td>Optional</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#f945cbe6-9141-4734-90e2-77ba4844054d\">Game Provider</a> list below.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["ReturnStake"],"host":["YourDomain"],"query":[],"variable":[]}},"response":[{"id":"a76999b4-cb25-4a35-a8f7-01dfebc20fb1","name":"Sample Code","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"ProductType\": 9,\r\n    \"GameType\": 1,\r\n    \"Gpid\": 1022,\r\n    \"CurrentStake\": 0.6,\r\n    \"TransferCode\":\"3998211\",\r\n    \"TransactionId\":\"3998211\",\r\n    \"ReturnStakeTime\": \"2026-05-12T22:34:22.0000000-04:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":""},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"AccountName\":\"Player01\",\r\n    \"Balance\":8263.42,\r\n    \"ErrorCode\":0,\r\n    \"ErrorMessage\":\"No Error\"\r\n}"}],"_postman_id":"8fcdecd1-4cef-492c-b954-87ca17899c67"},{"name":"Bonus","id":"b80f48fc-9fb2-474d-bd18-a7dbc1c569a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"Amount\":10,\r\n    \"BonusTime\":\"2018-06-06T23:00:00.0007712-04:00\",\r\n    \"IsGameProviderPromotion\": false,\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"NewGameType\": 101,\r\n    \"TransferCode\":\"3998211\",\r\n    \"TransactionId\":\"3998211\",\r\n    \"GameId\":1,\r\n    \"Gpid\":-2,\r\n    \"SeamlessGameExtraInfo\":{\r\n        \"FeatureBuyStatus\":0,\r\n        \"EndRoundStatus\":0\r\n    },\r\n    \"BonusProvider\": \"Shared\"\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Bonus","description":"<p>When player having or getting some bonus/jackpot/freespin promotionin game, 568Win will use this API to send request to increase the player's balance in their wallet directly.</p>\n<p>*You would have to implement the interface to handle our request. Please implement the ResponseBody as the example below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Request Field Name</th>\n<th>Type</th>\n<th>Required/Optional</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CompanyKey</td>\n<td>string</td>\n<td>Required</td>\n<td>The Company Key is a unique and essential security credential that grants your company secure access to the 568Win system. The Company Key is rotated with a new key every 30 or 90 days, generated by the company.</td>\n</tr>\n<tr>\n<td>ProductType</td>\n<td>int</td>\n<td>Required</td>\n<td>ProductType means the product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8\">Product Type</a> below.</td>\n</tr>\n<tr>\n<td>GameType</td>\n<td>int</td>\n<td>Required</td>\n<td>GameType means the different games under same product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b8fa98ec-4d55-405f-a416-1d3b1551f4f5\">Game Type</a> below.</td>\n</tr>\n<tr>\n<td>NewGameType</td>\n<td>int</td>\n<td>Optional</td>\n<td>NewGameType means the game's category in Seamless Game Provider and Third Party Sports Provider  <br />Are not used by other Product  <br />  <br />Please refer to Appendix <a href=\"https://documenter.getpostman.com/view/39587621/2sAY547zFg#3926011c-d953-402c-afd8-dbd49ce1e6e8\">9.13.1 New Seamless Game Provider Game Type</a></td>\n</tr>\n<tr>\n<td>Username (Post)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>AccountName (Call Back)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>Amount</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Amount of bonus/jackpot/promotion.</td>\n</tr>\n<tr>\n<td>TransferCode</td>\n<td>string</td>\n<td>Required</td>\n<td>Everytime when a member received a bonus/jackpot/promotion, it generates a unique transfer code refering to the transaction, so each bet has their own transfer code.</td>\n</tr>\n<tr>\n<td>TransactionId</td>\n<td>string</td>\n<td>Required</td>\n<td>A unique identifier for each transaction.  <br />When ProductType : 1 or 3 or 7 (Sports, Games, Casino), Transaction ID will be the same value with transferCode.  <br />When ProductType : 9 (Seamless Game Provider), the Transaction ID is to identify the sub bets in specific third-party games.</td>\n</tr>\n<tr>\n<td>BonusTime</td>\n<td>dateTime</td>\n<td>Required</td>\n<td>The time that player received a bonus/jackpot/promotion.</td>\n</tr>\n<tr>\n<td>IsGameProviderPromotion</td>\n<td>bool</td>\n<td>Optional</td>\n<td>Flag mark the bonus is provided by game provider</td>\n</tr>\n<tr>\n<td>Balance</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Member's account balance.  <br />Balance should be 2 decimal places only.</td>\n</tr>\n<tr>\n<td>ErrorCode</td>\n<td>int</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>ErrorMessage</td>\n<td>string</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>GameId</td>\n<td>int</td>\n<td>Optional</td>\n<td>The GameId of the game. Can check 8.1 get-game-list API</td>\n</tr>\n<tr>\n<td>Gpid</td>\n<td>int</td>\n<td>Optional</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#f945cbe6-9141-4734-90e2-77ba4844054d\">Game Provider</a> list below.</td>\n</tr>\n<tr>\n<td>SeamlessGameExtraInfo</td>\n<td>Object</td>\n<td>Optional</td>\n<td><strong>Only support SeamlessGame</strong>  <br />Please refer to <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#cecfa9d0-f0fb-478f-b727-507efd9b1a6e\">SeamlessGameExtraInfo</a></td>\n</tr>\n<tr>\n<td>BonusProvider</td>\n<td>string</td>\n<td>Optional</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#d71087b1-4ef0-41d1-a92c-ee0c0a5b2ea6\">BonusProvider</a> below.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["Bonus"],"host":["YourDomain"],"query":[],"variable":[]}},"response":[{"id":"77e72387-637f-4887-a8b7-bfe0de446c08","name":"Sample Code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"Amount\":10,\r\n    \"BonusTime\":\"2018-06-06T23:00:00.0007712-04:00\",\r\n    \"IsGameProviderPromotion\": false,\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"NewGameType\": 101,\r\n    \"TransferCode\":\"3998211\",\r\n    \"TransactionId\":\"3998211\",\r\n    \"GameId\":1,\r\n    \"Gpid\":-2,\r\n    \"SeamlessGameExtraInfo\":{\r\n        \"FeatureBuyStatus\":0,\r\n        \"EndRoundStatus\":0\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/Bonus"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"AccountName\":\"Player01\",\n    \"Balance\":8242.52,\n    \"ErrorCode\":0,\n    \"ErrorMessage\":\"No Error\"\n}"}],"_postman_id":"b80f48fc-9fb2-474d-bd18-a7dbc1c569a1"},{"name":"Get Bet Status","id":"36e4286a-0e52-494e-ba95-091e76a3b233","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"TransferCode\":\"3998211\",\r\n    \"TransactionId\":\"3998211\",\r\n    \"Gpid\":-2\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/GetBetStatus","description":"<p>568Win will use this API request to sync up bet status between 568Win, normally for checking and debugging purposes.</p>\n<p>For example, if a bet in 568Win system is settled, but the wallet status in your system is still running, then 568Win can find out the bet has a problem.</p>\n<p>*You would have to implement the interface to handle our request. Please implement the ResponseBody as the example below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Request Field Name</th>\n<th>Type</th>\n<th>Required/Optional</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>CompanyKey</td>\n<td>string</td>\n<td>Required</td>\n<td>The Company Key is a unique and essential security credential that grants your company secure access to the 568Win system. The Company Key is rotated with a new key every 30 or 90 days, generated by the company.</td>\n</tr>\n<tr>\n<td>ProductType</td>\n<td>int</td>\n<td>Required</td>\n<td>ProductType means the product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8\">Product Type</a> below.</td>\n</tr>\n<tr>\n<td>GameType</td>\n<td>int</td>\n<td>Required</td>\n<td>GameType means the different games under same product's category.  <br />Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b8fa98ec-4d55-405f-a416-1d3b1551f4f5\">Game Type</a> below.</td>\n</tr>\n<tr>\n<td>Username (Post)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>AccountName (Call Back)</td>\n<td>string</td>\n<td>Required</td>\n<td>Username cannot be longer than 20 chars. Only numeric, alphabet and _ is allowed in Username. Username must be unique among all users in fund provider.</td>\n</tr>\n<tr>\n<td>TransferCode</td>\n<td>string</td>\n<td>Required</td>\n<td>Everytime when a member place a bet, it generates a unique transfer code refering to the bet, so each bet has their own transfer code.</td>\n</tr>\n<tr>\n<td>TransactionId</td>\n<td>string</td>\n<td>Required</td>\n<td>When ProductType : 1 or 3 or 7 (Sports, Games, Casino), will have the same value with transferCode.  <br />When ProductType : 9 (Seamless Game Provider), will send the Round Id in order to identify the round in specific third party games.</td>\n</tr>\n<tr>\n<td>Status</td>\n<td>string</td>\n<td>Required</td>\n<td>Represent the bet status: {running,settled,void}</td>\n</tr>\n<tr>\n<td>WinLoss</td>\n<td>decimal</td>\n<td>Required</td>\n<td>Win or loss amount, Include the member's stake.</td>\n</tr>\n<tr>\n<td>Stake</td>\n<td>decimal</td>\n<td>Required</td>\n<td>member's stake.</td>\n</tr>\n<tr>\n<td>ErrorCode</td>\n<td>int</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>ErrorMessage</td>\n<td>string</td>\n<td>Required</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#eb0f84ab-240a-4c30-8d68-74e43ef22224\">Error list</a> below.</td>\n</tr>\n<tr>\n<td>Gpid</td>\n<td>int</td>\n<td>Optional</td>\n<td>Please check the <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#f945cbe6-9141-4734-90e2-77ba4844054d\">Game Provider</a> list below.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["GetBetStatus"],"host":["YourDomain"],"query":[],"variable":[]}},"response":[{"id":"4b2dd743-0f02-4bb4-92ce-f02ae6b984c3","name":"Sample Code","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json; charset=UTF-8"}],"body":{"mode":"raw","raw":"{\r\n    \"CompanyKey\":\"CompanyKey\",\r\n    \"Username\":\"PlayerName\",\r\n    \"ProductType\": 1,\r\n    \"GameType\": 1,\r\n    \"TransferCode\":\"3998211\",\r\n    \"TransactionId\":\"3998211\",\r\n    \"Gpid\":-2\r\n}","options":{"raw":{"language":"json"}}},"url":"YourDomain/GetBetStatus"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"TransferCode\":\"3998211\",\n    \"TransactionId\":\"3998211\",\n    \"Status\":\"settled\",\n    \"WinLoss\":120,\n    \"Stake\": 100,\n    \"ErrorCode\":0,\n    \"ErrorMessage\":\"No Error\"\n}"}],"_postman_id":"36e4286a-0e52-494e-ba95-091e76a3b233"}],"id":"513137d1-931f-4efe-9a61-349a7d12f1c1","_postman_id":"513137d1-931f-4efe-9a61-349a7d12f1c1","description":""},{"name":"Appendix","item":[{"name":"Error List","item":[],"id":"eb0f84ab-240a-4c30-8d68-74e43ef22224","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Error Message</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>No Error</td>\n<td>The request has been correctly response</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Member not exist</td>\n<td>The member is not exist</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Invalid Ip</td>\n<td>The IP is invalid</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Username empty</td>\n<td>Username is empty</td>\n</tr>\n<tr>\n<td>4</td>\n<td>CompanyKey Error</td>\n<td>The CompanyKey is error</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Not enough balance</td>\n<td>Member's balance is not enough</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Bet not exists</td>\n<td>Return this error code will stop the resend any request from 568win.</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Internal Error</td>\n<td>*</td>\n</tr>\n<tr>\n<td>2001</td>\n<td>Bet Already Settled</td>\n<td>Return this error code will stop the resend settle request from 568win.</td>\n</tr>\n<tr>\n<td>2002</td>\n<td>Bet Already Canceled</td>\n<td>Return this error code will stop the resend cancel request from 568win.</td>\n</tr>\n<tr>\n<td>2003</td>\n<td>Bet Already Rollback</td>\n<td>Return this error code will stop the resend rollback request from 568win.</td>\n</tr>\n<tr>\n<td>5003</td>\n<td>Bet With Same RefNo Exists</td>\n<td>Bet with same refNo already exists.</td>\n</tr>\n<tr>\n<td>For other error, you can define yourself.</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"eb0f84ab-240a-4c30-8d68-74e43ef22224"},{"name":"Game Provider","item":[],"id":"f945cbe6-9141-4734-90e2-77ba4844054d","description":"<p>List of Third-Party Providers refer to this link: <a href=\"https://info.568win.com/en/game-provider-comparision/game-providers?isCustomer=y\">Third Party Providers Information</a></p>\n","_postman_id":"f945cbe6-9141-4734-90e2-77ba4844054d"},{"name":"Product Type","item":[],"id":"33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8","description":"<p>For product type 9 (Seamless Game Provider), please reference to <a href=\"https://documenter.getpostman.com/view/39587621/2sAY547zFg#3926011c-d953-402c-afd8-dbd49ce1e6e8\">Appendix 9.13.1 New Seamless Game Provider Game Type</a> in API Document.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Product Type</th>\n<th>Product Name</th>\n<th>Product Chinese Name</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Sportsbook</td>\n<td>体育博彩</td>\n</tr>\n<tr>\n<td>3</td>\n<td>SBO Games</td>\n<td>电子游戏</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Virtual Sports</td>\n<td>虚拟运动</td>\n</tr>\n<tr>\n<td>7</td>\n<td>568Win Live Casino</td>\n<td>真人赌场</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Seamless Game Provider</td>\n<td>无缝游戏</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"33ad2c52-87fa-4d69-bf78-d0d6ae3d6df8"},{"name":"Game Types","item":[],"id":"b8fa98ec-4d55-405f-a416-1d3b1551f4f5","description":"<p>For product type 9 (Seamless Game Provider), please reference to <a href=\"https://documenter.getpostman.com/view/39587621/2sAY547zFg#3926011c-d953-402c-afd8-dbd49ce1e6e8\">Appendix 9.13.1 New Seamless Game Provider Game Type</a> in Api Document.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Product Type</th>\n<th>Game Type</th>\n<th>Game Name</th>\n<th>Game Chinese Name</th>\n<th>Device</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>1</td>\n<td>Sportsbook</td>\n<td>体育博彩</td>\n<td>Desktop, Mobile</td>\n</tr>\n<tr>\n<td>1</td>\n<td>3</td>\n<td>568 Sportsbook</td>\n<td>568 体育博彩</td>\n<td>Desktop, Mobile</td>\n</tr>\n<tr>\n<td>3</td>\n<td>161</td>\n<td>Money Roll</td>\n<td>錢滾錢</td>\n<td>Desktop, Mobile</td>\n</tr>\n<tr>\n<td>3</td>\n<td>201</td>\n<td>Royal Baccarat</td>\n<td>皇家百家乐</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>3</td>\n<td>203</td>\n<td>Royal Roulettle</td>\n<td>皇家轮盘</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>3</td>\n<td>204</td>\n<td>Royal Blackjack</td>\n<td>皇家21点</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>3</td>\n<td>205</td>\n<td>Royal Sic Bo</td>\n<td>皇家骰宝</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>3</td>\n<td>207</td>\n<td>Royal 5 Box Blackjack</td>\n<td>皇家多手21点</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>3</td>\n<td>208</td>\n<td>Dragon Bonus</td>\n<td>龙宝</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>3</td>\n<td>511</td>\n<td>Royal Baccarat</td>\n<td>皇家百家乐</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>3</td>\n<td>513</td>\n<td>Royal Roulettle</td>\n<td>皇家轮盘</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>3</td>\n<td>514</td>\n<td>Royal Blackjack</td>\n<td>皇家21点</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>3</td>\n<td>515</td>\n<td>Royal Sic Bo</td>\n<td>皇家骰宝</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>3</td>\n<td>517</td>\n<td>Royal 5 Box Blackjack</td>\n<td>皇家多手21点</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>3</td>\n<td>518</td>\n<td>Dragon Bonus</td>\n<td>龙宝</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>3</td>\n<td>601</td>\n<td>Live Bingo!</td>\n<td>活力宾果!</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>5</td>\n<td>0</td>\n<td>Unknown  <br />(GetBalance may use 0 as parameter to call)</td>\n<td>未知游戲(GetBalance會使用0當作參數來呼叫)</td>\n<td>Desktop, Mobile</td>\n</tr>\n<tr>\n<td>5</td>\n<td>201601</td>\n<td>Virtual Football</td>\n<td>虚拟足球</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>5</td>\n<td>201604</td>\n<td>Virtual Basketball</td>\n<td>虚拟篮球</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>5</td>\n<td>201607</td>\n<td>Virtual Euro Cup</td>\n<td>虚拟歐洲杯</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>5</td>\n<td>201608</td>\n<td>Virtual Asian Cup</td>\n<td>虚拟亞洲杯</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>5</td>\n<td>201609</td>\n<td>Virtual Champions Cup</td>\n<td>虚拟冠軍杯</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>5</td>\n<td>202601</td>\n<td>Virtual Football</td>\n<td>虚拟足球</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>5</td>\n<td>202602</td>\n<td>Virtual Basketball</td>\n<td>虚拟篮球</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>5</td>\n<td>202607</td>\n<td>Virtual Euro Cup</td>\n<td>虚拟歐洲杯</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>5</td>\n<td>202608</td>\n<td>Virtual Asian Cup</td>\n<td>虚拟亞洲杯</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>5</td>\n<td>202609</td>\n<td>Virtual Champions Cup</td>\n<td>虚拟冠軍杯</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>5</td>\n<td>202610</td>\n<td>Bundesliga</td>\n<td>德国足球甲级联赛虚拟杯</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>5</td>\n<td>201600</td>\n<td>MixParlay</td>\n<td>混合过关</td>\n<td>Desktop</td>\n</tr>\n<tr>\n<td>5</td>\n<td>202600</td>\n<td>MixParlay</td>\n<td>混合过关</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>7</td>\n<td>0</td>\n<td>Unknown  <br />(GetBalance in lobby may use 0 as parameter to call)</td>\n<td>未知游戲(GetBalance 在大厅會使用0當作參數來呼叫)</td>\n<td>Desktop, Mobile</td>\n</tr>\n<tr>\n<td>7</td>\n<td>1</td>\n<td>Baccarat</td>\n<td>百家乐</td>\n<td>Desktop, Mobile</td>\n</tr>\n<tr>\n<td>7</td>\n<td>3</td>\n<td>Roulette</td>\n<td>大轮盘</td>\n<td>Desktop, Mobile</td>\n</tr>\n<tr>\n<td>7</td>\n<td>5</td>\n<td>SicBo</td>\n<td>骰宝</td>\n<td>Desktop, Mobile</td>\n</tr>\n<tr>\n<td>7</td>\n<td>10</td>\n<td>MultipleTableBaccarat</td>\n<td>多桌百家乐</td>\n<td>Desktop,Mobile</td>\n</tr>\n<tr>\n<td>7</td>\n<td>12</td>\n<td>SpeedBaccarat</td>\n<td>极速百家乐</td>\n<td>Desktop,Mobile</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"b8fa98ec-4d55-405f-a416-1d3b1551f4f5"},{"name":"Result Type","item":[],"id":"4414e4e9-fe41-4af4-a480-decea8dafb3d","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Result Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>won</td>\n</tr>\n<tr>\n<td>1</td>\n<td>lose</td>\n</tr>\n<tr>\n<td>2</td>\n<td>tie</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"4414e4e9-fe41-4af4-a480-decea8dafb3d"},{"name":"Extrainfo","item":[],"id":"b2e8d2fc-f508-4b7d-b84a-e411a14e446c","description":"<p>Only support Sports.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>sportType</td>\n<td>string</td>\n<td>Please check <a href=\"https://documenter.getpostman.com/view/39587621/2sAY547zFg#8bff15cf-da36-47b0-8593-ac05980fc263\">9.5 Sport Type</a>.</td>\n</tr>\n<tr>\n<td>marketType</td>\n<td>string</td>\n<td>Please check <a href=\"https://documenter.getpostman.com/view/39587621/2sAY547zFg#21daec9b-bc6e-4d2b-8df3-a2be726b7fec\">9.6 Market Type</a>.  <br />The value is <code>'Null'</code> when the bet is mix parlay.</td>\n</tr>\n<tr>\n<td>league</td>\n<td>string</td>\n<td>Name of league of the match. The value is <code>'Null'</code> when the bet is mix parlay.</td>\n</tr>\n<tr>\n<td>match</td>\n<td>string</td>\n<td>Name of match. The value is <code>'Null'</code> when the bet is mix parlay.</td>\n</tr>\n<tr>\n<td>betOption</td>\n<td>string</td>\n<td>The option player bet. The value is <code>'Null'</code> when the bet is mix parlay.</td>\n</tr>\n<tr>\n<td>kickoffTime</td>\n<td>dateTime</td>\n<td>The start time of the game. The value is <code>'Null'</code> when the bet is mix parlay.</td>\n</tr>\n<tr>\n<td>isHalfWonLose</td>\n<td>bool</td>\n<td>This bet is half win lose or not.</td>\n</tr>\n<tr>\n<td>winlostDate</td>\n<td>dateTime(nullable)</td>\n<td>Win lost date of the bet. (only have correct value in Settle/Cancel api)</td>\n</tr>\n<tr>\n<td>PromotionRewardCode</td>\n<td>string</td>\n<td>SBO Sports FreeBet promotion reward reference. Store it with <code>TransferCode</code> and <code>TransactionId</code> for reconciliation and support lookup.</td>\n</tr>\n<tr>\n<td>PromotionRewardAmount</td>\n<td>decimal</td>\n<td>FreeBet stake amount used by SBO Sports to calculate the odds result. Top-level <code>Amount</code> remains the wallet cash deduction amount and is <code>0</code> for FreeBet bets.</td>\n</tr>\n<tr>\n<td>PromotionEventId</td>\n<td>int</td>\n<td>568Win promotion event ID for attribution.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"sbo-sports-freebet-fields\">SBO Sports FreeBet fields</h3>\n<p>When a player places an SBO Sports FreeBet bet, these fields are included in <a href=\"https://documenter.getpostman.com/view/39587621/2sAY55adgd#b2e8d2fc-f508-4b7d-b84a-e411a14e446c\"><code>ExtraInfo</code></a> on the <code>Deduct</code> request. They are optional and are only sent for FreeBet bets. Do not identify FreeBet by <code>Amount = 0</code> alone; use these parameters when they are present.</p>\n","_postman_id":"b2e8d2fc-f508-4b7d-b84a-e411a14e446c"},{"name":"SeamlessGameExtraInfo","item":[],"id":"cecfa9d0-f0fb-478f-b727-507efd9b1a6e","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>FeatureBuyStatus</td>\n<td>int</td>\n<td>0 : No Implement Feature  <br />1 : The bet is buy FreeSpin  <br />2 : The bet is not buy FreeSpin</td>\n</tr>\n<tr>\n<td>EndRoundStatus</td>\n<td>int</td>\n<td>0 : No Implement Feature  <br />1 : The bet is EndRound  <br />2 : The bet is not EndRound</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"cecfa9d0-f0fb-478f-b727-507efd9b1a6e"},{"name":"BonusProvider","item":[],"id":"d71087b1-4ef0-41d1-a92c-ee0c0a5b2ea6","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>BonusProvider</th>\n<th>Remark</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Shared</td>\n<td>The event prizes/bonuses will be shared by 568Win and the operator.</td>\n</tr>\n<tr>\n<td>Operator</td>\n<td>The event prizes/bonuses will be covered by the operator</td>\n</tr>\n<tr>\n<td>GameProvider</td>\n<td>The event prizes/bonuses will be covered by the game provider</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d71087b1-4ef0-41d1-a92c-ee0c0a5b2ea6"}],"id":"e994ea70-550a-4347-bbad-f8e1a71fbb27","_postman_id":"e994ea70-550a-4347-bbad-f8e1a71fbb27","description":""}],"event":[{"listen":"prerequest","script":{"id":"192cdc3d-7c7b-4757-8406-8e401e6d8439","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"1d35a584-d5bd-422b-96e8-f4e6d32d4d4d","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"YourDomain","value":"YourDomain","type":"string"},{"key":"CompanyKey","value":"CompanyKey","type":"string"},{"key":"PlayerName","value":"PlayerName","type":"string"}]}