{"info":{"_postman_id":"e69df242-e955-4f0d-938c-98855bb76d78","name":"API Risk AI","description":"<html><head></head><body><p>RISK AI is a web service created for third parties, which must guarantee maximum speed taking into account the resources and/or limitations of its database to ensure it can manage the calls that will arrive from its customers</p>\n<h1 id=\"diagram\"><strong>Diagram</strong></h1>\n<img src=\"https://content.pstmn.io/41e82246-f001-4df2-b091-b90cbdc34777/RElBR1JBTSBSSVNLIEFJLnBuZw==\" alt=\"\">\n\n<h1 id=\"bookmaker-credentials-and-configuration\"><strong>Bookmaker credentials and configuration</strong></h1>\n<p>After your account has been successfully approved by Sirplay you will receive credentials to</p>\n<p>access to the Sirplay IAM and recover the access token.</p>\n<p>Sirplay provide to the bookmaker the following information:</p>\n<p><strong>EMAIL, PASSWORD and PLATFORM_ID.</strong></p>\n<p>Email and Password secrets are sensitive data and should be kept secure and safe from non-authorized personnel and never should be included as plain text in any communication, electronic or not!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Diagram","slug":"diagram"},{"content":"Bookmaker credentials and configuration","slug":"bookmaker-credentials-and-configuration"}],"owner":"6697490","collectionId":"e69df242-e955-4f0d-938c-98855bb76d78","publishedId":"2s9YsJDDMC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"A0C528"},"publishDate":"2024-01-11T11:16:02.000Z"},"item":[{"name":"Authentication API","item":[{"name":"Login","id":"2e13ecb2-7d9a-426d-9f1b-69bebbaff7f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"test@test.com\",\r\n    \"password\": \"XXXXXX\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/auth/login","description":"<p><strong>Params</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string provided by Sirplay</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string provided by Sirplay</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["auth","login"],"host":["risk","srp","tools"],"query":[],"variable":[]}},"response":[{"id":"ae66e3e8-010e-4cd0-adc1-665ad8eccf41","name":"Login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"v.flauto@sirplay.com\",\r\n    \"password\": \"123456\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/auth/login"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": \"Logged\",\n    \"id\": \"63f7831479da7bb0852XXXX\",\n    \"accessToken\": \"EXAMPLE_TOKEN\",\n    \"refreshToken\": \"EXAMPLE_REFRESH_TOKEN\",\n    \"name\": \"xxxxxxxxxxxxx\",\n    \"email\": \"xxxxxxxxxxxxx\",\n    \"expired\": 1704834754\n}"}],"_postman_id":"2e13ecb2-7d9a-426d-9f1b-69bebbaff7f1"}],"id":"cc9b589b-7b4b-40cf-bd98-812ec39fae81","description":"<p>Every time before calling RISKAI Api you need to retreive the access token calling the authenticate api. The access token will be used in the RISKAI Api call as bearer token in the Authorization header.</p>\n","_postman_id":"cc9b589b-7b4b-40cf-bd98-812ec39fae81"},{"name":"Bets API","item":[{"name":"Bet Single","id":"97541ca6-b157-410d-845f-facf4971f404","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"platform_id\": 54,\r\n    \"user_id\": 9992,\r\n    \"type\": \"single\",\r\n    \"context\": \"prematch\",\r\n    \"amount\": 500,\r\n    \"win\": 1000,\r\n    \"language\": \"en\",\r\n    \"odds\": [\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962916\",\r\n            \"event_description\": \"Fiorentina - Torino\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"1\",\r\n            \"outcome_odd_value\": \"2.18\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-40\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"40\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/external-verify","description":"<p>Single if only one quota belonging to a single event has been selected</p>\n","urlObject":{"protocol":"https","path":["bets","external-verify"],"host":["risk","srp","tools"],"query":[],"variable":[]}},"response":[{"id":"e03b9dc9-ccc8-4887-8a30-88a1b4ca3445","name":"Bet Single","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"platform_id\": 54,\r\n    \"user_id\": 9992,\r\n    \"type\": \"single\",\r\n    \"context\": \"prematch\",\r\n    \"amount\": 500,\r\n    \"language\": \"en\",\r\n    \"odds\": [\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962916\",\r\n            \"event_description\": \"Fiorentina - Torino\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"1\",\r\n            \"outcome_odd_value\": \"2.18\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-40\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"40\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/external-verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"response\": \"accept\",\n        \"code\": \"XXXXXXXXXXXXXXXXXXXXXX\",\n        \"data\": [\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"block_max_amount_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"max_risk_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_min_bet\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"check\",\n                \"rule_code\": \"multiple_max_bet\",\n                \"message\": \"Error max played for multiple bet (500/300)\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_max_total_risk\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_max_win\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_min_odds__single_max_odds\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_max_repeat_all\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"_max_repeat_amount_all\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"rule_entity_user\",\n                \"message\": \"\"\n            }\n        ]\n    }\n}"}],"_postman_id":"97541ca6-b157-410d-845f-facf4971f404"},{"name":"Bet Multiple","id":"9805448d-1b10-4b08-8298-a0c2ef0a136d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"platform_id\": 54,\r\n    \"user_id\": 9992,\r\n    \"type\": \"multiple\",\r\n    \"context\": \"prematch\",\r\n    \"amount\": 500,\r\n    \"win\": 1000,\r\n    \"language\": \"en\",\r\n    \"odds\": [\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962916\",\r\n            \"event_description\": \"Fiorentina - Torino\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"1\",\r\n            \"outcome_odd_value\": \"2.39\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-30\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"30\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        },\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962868\",\r\n            \"event_description\": \"Lazio - Frosinone\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"2\",\r\n            \"outcome_odd_value\": \"5.17\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-40\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"40\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/external-verify","description":"<p>Multiple if multiple events belonging to different quota groups have been selectes</p>\n","urlObject":{"protocol":"https","path":["bets","external-verify"],"host":["risk","srp","tools"],"query":[],"variable":[]}},"response":[{"id":"ef854350-2cf5-4ec3-b1b5-572971e1faa7","name":"Bet Multiple","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"platform_id\": 54,\r\n    \"user_id\": 9992,\r\n    \"type\": \"multiple\",\r\n    \"context\": \"prematch\",\r\n    \"amount\": 500,\r\n    \"language\": \"en\",\r\n    \"odds\": [\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962916\",\r\n            \"event_description\": \"Fiorentina - Torino\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"1\",\r\n            \"outcome_odd_value\": \"2.39\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-30\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"30\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        },\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962868\",\r\n            \"event_description\": \"Lazio - Frosinone\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"2\",\r\n            \"outcome_odd_value\": \"5.17\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-40\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"40\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/external-verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"response\": \"accept\",\n        \"code\": \"XXXXXXXXXXXXXXXXXXXXXX\",\n        \"data\": [\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"block_max_amount_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"max_risk_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_min_bet\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"check\",\n                \"rule_code\": \"multiple_max_bet\",\n                \"message\": \"Error max played for multiple bet (500/300)\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_max_total_risk\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_max_win\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_min_odds__single_max_odds\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_max_repeat_all\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"_max_repeat_amount_all\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"rule_entity_user\",\n                \"message\": \"\"\n            }\n        ]\n    }\n}"}],"_postman_id":"9805448d-1b10-4b08-8298-a0c2ef0a136d"},{"name":"Bet System","id":"c5051571-b05c-4892-900f-d28504ebf89d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"platform_id\": 54,\r\n    \"user_id\": 9992,\r\n    \"type\": \"system\",\r\n    \"context\": \"prematch\",\r\n    \"amount\": 501,\r\n    \"win\": 10000,\r\n    \"language\": \"en\",\r\n    \"odds\": [\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962916\",\r\n            \"event_description\": \"Fiorentina - Torino\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"1\",\r\n            \"outcome_odd_value\": \"2.39\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-30\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"30\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        },\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962868\",\r\n            \"event_description\": \"Lazio - Frosinone\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"2\",\r\n            \"outcome_odd_value\": \"5.17\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-40\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"40\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/external-verify","description":"<p>System if two or more bets belonging to different odds groups have been selected</p>\n","urlObject":{"protocol":"https","path":["bets","external-verify"],"host":["risk","srp","tools"],"query":[],"variable":[]}},"response":[{"id":"0c430296-9c02-4145-9a6d-d5743d722743","name":"Bet System","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"platform_id\": 54,\r\n    \"user_id\": 9992,\r\n    \"type\": \"system\",\r\n    \"context\": \"prematch\",\r\n    \"amount\": 501,\r\n    \"language\": \"en\",\r\n    \"odds\": [\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962916\",\r\n            \"event_description\": \"Fiorentina - Torino\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"1\",\r\n            \"outcome_odd_value\": \"2.39\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-30\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"30\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        },\r\n        {\r\n            \"type\": \"prematch\",\r\n            \"event_source\": \"11962868\",\r\n            \"event_description\": \"Lazio - Frosinone\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"2\",\r\n            \"outcome_odd_value\": \"5.17\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-40\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"40\",\r\n            \"time\": 1703874600000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/external-verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"response\": \"accept\",\n        \"code\": \"XXXXXXXXXXXXXXXXXXXXXX\",\n        \"data\": [\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"block_max_amount_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"max_risk_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_min_bet\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"check\",\n                \"rule_code\": \"multiple_max_bet\",\n                \"message\": \"Error max played for multiple bet (500/300)\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_max_total_risk\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_max_win\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_min_odds__single_max_odds\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_max_repeat_all\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"_max_repeat_amount_all\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"rule_entity_user\",\n                \"message\": \"\"\n            }\n        ]\n    }\n}"}],"_postman_id":"c5051571-b05c-4892-900f-d28504ebf89d"},{"name":"Bet Integral","id":"65f0a373-5c5e-4d1a-9cb4-0287ee3b359e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"platform_id\": 54,\r\n    \"user_id\": 9992,\r\n    \"type\": \"integral\",\r\n    \"context\": \"prematch\",\r\n    \"amount\": 501,\r\n    \"win\": 10000,\r\n    \"language\": \"en\",\r\n    \"odds\": [\r\n        {\r\n            \"event_source\": \"11919438\",\r\n            \"event_description\": \"Sassuolo - Genoa\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"1\",\r\n            \"outcome_odd_value\": \"2.20\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-30\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"30\",\r\n            \"time\": 1703266200000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/external-verify","description":"<p>Integral if two or more bets belonging to the same group of odds have been selected</p>\n","urlObject":{"protocol":"https","path":["bets","external-verify"],"host":["risk","srp","tools"],"query":[],"variable":[]}},"response":[{"id":"00299ba8-633c-4386-814f-450ad10ae00d","name":"Bet Integral","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"platform_id\": 54,\r\n    \"user_id\": 9992,\r\n    \"type\": \"integral\",\r\n    \"context\": \"prematch\",\r\n    \"amount\": 501,\r\n    \"language\": \"en\",\r\n    \"odds\": [\r\n        {\r\n            \"event_source\": \"11919438\",\r\n            \"event_description\": \"Sassuolo - Genoa\",\r\n            \"status_event\": 1,\r\n            \"id_market\": \"1\",\r\n            \"market_name\": \"1X2\",\r\n            \"outcome\": \"1\",\r\n            \"outcome_odd_value\": \"2.20\",\r\n            \"specifier\": \"\",\r\n            \"multiplicity\": \"1-30\",\r\n            \"multiplicity_min\": \"1\",\r\n            \"multiplicity_max\": \"30\",\r\n            \"time\": 1703266200000,\r\n            \"id_sport\": \"6046\",\r\n            \"sport_name\": \"Calcio\",\r\n            \"category_id\": \"215\",\r\n            \"category_name\": \"Italia\",\r\n            \"tournament_id\": \"4\",\r\n            \"tournament_name\": \"Serie A\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/external-verify"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"status\": 200,\n        \"response\": \"accept\",\n        \"code\": \"XXXXXXXXXXXXXXXXXXXXXX\",\n        \"data\": [\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"block_max_amount_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"max_risk_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_min_bet\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"check\",\n                \"rule_code\": \"multiple_max_bet\",\n                \"message\": \"Error max played for multiple bet (500/300)\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_max_total_risk\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"multiple_max_win\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_min_odds__single_max_odds\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_max_repeat_all\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"_max_repeat_amount_all\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"rule_entity_user\",\n                \"message\": \"\"\n            }\n        ]\n    }\n}"}],"_postman_id":"65f0a373-5c5e-4d1a-9cb4-0287ee3b359e"},{"name":"Review Bet Manually","id":"eca4bf5b-bd94-46c5-964a-417faf930d25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"c048lc3u-h3232c28f7\",\r\n    \"mode\": \"accept\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/action","description":"<p>When one of the risk rules is exceeded, the bet can be either rejected or sent for manual verification. In this case (response:check\") the operator must intervene to confirm or reject the bet through the Action Bet API</p>\n<p><strong>Response check</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"status\": 200,\n        \"response\": \"check\",\n        \"code\": \"d3y4eu5vh-h32e1g1i279\",\n        \"data\": [\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"block_max_amount_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"max_risk_action\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_min_bet\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"check\",\n                \"rule_code\": \"single_max_bet\",\n                \"message\": \"Error max played for single bet (500/100)\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_max_total_risk\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"check\",\n                \"rule_code\": \"single_max_win\",\n                \"message\": \"Error max winning for single bet (1090/20)\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"single_min_odds__single_max_odds\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"check\",\n                \"rule_code\": \"single_max_repeat\",\n                \"message\": \"Error max repeated simple bet for user(2/2)\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"_max_repeat_amount_all\",\n                \"message\": \"\"\n            },\n            {\n                \"response\": \"ok\",\n                \"rule_code\": \"rule_entity_user\",\n                \"message\": \"\"\n            }\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["bets","action"],"host":["risk","srp","tools"],"query":[],"variable":[]}},"response":[{"id":"9084c3ea-ca22-4139-9c9f-6f5bc08e1320","name":"Review Bet Manually","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"code\": \"c048lc3u-h3232c28f7\",\r\n    \"mode\": \"accept\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://risk.srp.tools/bets/action"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"data\": {\r\n        \"result\": true\r\n    }\r\n}\r\n"}],"_postman_id":"eca4bf5b-bd94-46c5-964a-417faf930d25"}],"id":"2ae3fb72-8e57-470b-97cf-e9626fc2272d","description":"<p>The bet can be of 4 types depending on the set of bets selected by the user.</p>\n<p>When a bet is submitted to our system, a verification process is initiated where the system ascertains whether there is a \"<strong>user_id</strong>\" provided within our architecture. Upon the absence of the 'user_id', the system initiates the <strong>creation</strong> of a novel user entity, subsequently associating it with the platform infrastructure. Following this association, the user becomes manageable through the platform's interface. It is imperative to note that the 'user_id' must represent a <strong>unique identifier</strong> for the operator to ensure precise user management.</p>\n<p><strong>Parameter description</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th><strong>Type</strong></th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>platform_id</td>\n<td>integer</td>\n<td>unique ID platform Sirplay</td>\n</tr>\n<tr>\n<td>user_id</td>\n<td>integer</td>\n<td>unique ID user third parties</td>\n</tr>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>\"single\", \"multiple\", \"integral\", \"system\"</td>\n</tr>\n<tr>\n<td>context</td>\n<td>string</td>\n<td>\"prematch\", \"live\", \"mixed\"</td>\n</tr>\n<tr>\n<td>amount</td>\n<td>float</td>\n<td>amount bet</td>\n</tr>\n<tr>\n<td>win</td>\n<td>float</td>\n<td>win bet</td>\n</tr>\n<tr>\n<td>language</td>\n<td>string</td>\n<td>ISO 639 language codes Ex. \"en\", \"it\"</td>\n</tr>\n<tr>\n<td>odds</td>\n<td>array</td>\n<td>See description of odds attributes</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Description of odds attributes</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Attribute</th>\n<th>Type</th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>string</td>\n<td>\"prematch\", \"live\"</td>\n</tr>\n<tr>\n<td>event_source</td>\n<td>string</td>\n<td>id event source third parties</td>\n</tr>\n<tr>\n<td>event_description</td>\n<td>string</td>\n<td>event description \"Fiorentina - Torino\"</td>\n</tr>\n<tr>\n<td>status_event</td>\n<td>integer</td>\n<td>1 -&gt; prematch; 2 -&gt; live</td>\n</tr>\n<tr>\n<td>id_market</td>\n<td>string</td>\n<td>id market third parties</td>\n</tr>\n<tr>\n<td>market_name</td>\n<td>string</td>\n<td>description market</td>\n</tr>\n<tr>\n<td>outcome</td>\n<td>string</td>\n<td>description outcome</td>\n</tr>\n<tr>\n<td>outcome_odd_value</td>\n<td>string</td>\n<td>odd value outcome</td>\n</tr>\n<tr>\n<td>specifer</td>\n<td>string</td>\n<td>specifer value</td>\n</tr>\n<tr>\n<td>multiplicity</td>\n<td>string</td>\n<td>min - max events same bet</td>\n</tr>\n<tr>\n<td>multiplicity_min</td>\n<td>string</td>\n<td>min events same bet</td>\n</tr>\n<tr>\n<td>multiplicity_max</td>\n<td>string</td>\n<td>max events same bet</td>\n</tr>\n<tr>\n<td>time</td>\n<td>integer</td>\n<td>timestamp bet</td>\n</tr>\n<tr>\n<td>id_sport</td>\n<td>string</td>\n<td>id sport third parties</td>\n</tr>\n<tr>\n<td>sport_name</td>\n<td>string</td>\n<td>description sport</td>\n</tr>\n<tr>\n<td>category_id</td>\n<td>string</td>\n<td>id category third parties</td>\n</tr>\n<tr>\n<td>category_name</td>\n<td>string</td>\n<td>description category</td>\n</tr>\n<tr>\n<td>tournament_id</td>\n<td>string</td>\n<td>id tournament third parties</td>\n</tr>\n<tr>\n<td>tournament name</td>\n<td>string</td>\n<td>description tournament</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Response item fields</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Attribute</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>status</td>\n<td>integer</td>\n<td>200</td>\n</tr>\n<tr>\n<td>response</td>\n<td>string</td>\n<td>\"accept\", \"reject\", \"check\"</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>code bet Sirplay to use for review</td>\n</tr>\n<tr>\n<td>data</td>\n<td>array of objects</td>\n<td>See description of data attributes</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Description of data attributes</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Attributes</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>response</td>\n<td>string</td>\n<td>\"ok\", \"check\", \"reject\"</td>\n</tr>\n<tr>\n<td>rule_code</td>\n<td>string</td>\n<td>\"block_max_amount_action\",\"max_risk_action\", \"single_min_bet\", \"single_max_bet\",\"single_max_total_risk\",\"single_max_win\",single_min_odds__single_max_odds\",\"single_max_repeat_all\",\"_max_repeat_amount_all\",\"rule_entity_user\"</td>\n</tr>\n<tr>\n<td>message</td>\n<td>string</td>\n<td>empty on \"ok\" status, message error on check and reject</td>\n</tr>\n<tr>\n<td>predict</td>\n<td>string</td>\n<td>accept or reject</td>\n</tr>\n<tr>\n<td>percentage</td>\n<td>float</td>\n<td>percentage decision</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"2ae3fb72-8e57-470b-97cf-e9626fc2272d"}]}