Limit decimal price. A bet is taken only at this price or better, and an off-tick limit moves to the first tick that honours it; see "Price ticks".
stake
tuple
required
[currency, amount] - e.g. ["USDT", 115.38]
Show child attributes
duration
number
Order duration in seconds (default 15)
exchange_mode
enum<string>
default:make_and_take
How the order interacts with the exchange. make_and_take: fill against the best available liquidity first; any remaining stake is advertised on the exchange at your price, while the order keeps taking newly available liquidity. take_only: only consume available liquidity; remaining stake is never advertised and other orders cannot match against it. dark: like make_and_take, but the advertised remaining stake is hidden from other customers - they can still match it when their price crosses yours, but they cannot see your price until then. There is no post-only mode: no order type rests in the book without also taking crossing liquidity.
Available options:
make_and_take,
take_only,
dark
keep_open_ir
boolean
default:false
Keep order open when event goes in-play
user_data
string | null
Maximum string length: 512
request_uuid
string
Idempotency key
accept_partial_fill
boolean
default:true
accept_better_price
boolean
default:true
force_want_price
boolean
default:false
min_taker_want_stake
object | null
dark orders only (rejected on other modes): the minimum total stake another order must request to be allowed to match yours at your price point. Cannot exceed the order's own stake. Set it non-zero to stop small probe orders from discovering your price.
Show child attributes
current_score
object
Placement-time score assertion, [home, away]. When present, the order is rejected with validation_error / non_field_errors: ["event_scores_dont_match"] unless the value matches the live score the exchange holds for the event - use it to avoid placing on a price that has not reacted to a goal yet. Only meaningful for football: for sports without a goal-style running score, and while no score is known yet, the server assumes [0, 0] and rejects any other value. Omit the field to skip the check.
Show child attributes
exclude_danger
boolean
default:false
When true, only liquidity sources that do not hold bets in danger status are used. When false or omitted, all available liquidity sources are used.
bookie_min_stakes
object
Optional per-source minimum stakes, keyed by source. A source is only used if it can take at least its minimum. Values are [currency, amount] tuples.
Show child attributes
placer_type
string | null
Optional caller-supplied tag recorded against the order.
Response
Order created
status
enum<string>
Available options:
ok
data
object
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MagicMarkets","description":"Documentation for MagicMarkets, the prediction market for serious sports trading. How the exchange works, how to trade, the API and tools, and how to partner with us.","colors":{"primary":"#FF5408","light":"#FF7A3D","dark":"#E04A05"},"logo":{"light":"https://mintcdn.com/magic-markets/K78j_U0qF2SW_a58/logo/light.png?fit=max\u0026auto=format\u0026n=K78j_U0qF2SW_a58\u0026q=85\u0026s=5b5cb25cb63b63071c2752557cd24445","dark":"https://mintcdn.com/magic-markets/K78j_U0qF2SW_a58/logo/dark.png?fit=max\u0026auto=format\u0026n=K78j_U0qF2SW_a58\u0026q=85\u0026s=d7e25192fadef156a938a1c8a9416d88","href":"https://magicmarkets.com/?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=logo"},"favicon":"https://mintcdn.com/magic-markets/QBQ2-VP0J9KbF66T/favicon.png?fit=max\u0026auto=format\u0026n=QBQ2-VP0J9KbF66T\u0026q=85\u0026s=d9fa5b0f6e5206c163b15e0f9df46218","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["bash","python","javascript","go"]}},"appearance":{"default":"system"},"navbar":{"links":[{"href":"/traders/support","label":"Support"}],"primary":{"type":"button","label":"Start trading","href":"https://magicmarkets.com/?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=navbar_cta"}},"footer":{"socials":{"x":"https://x.com/0xmagicmaker","github":"https://github.com/magicmarkets"},"links":[{"header":"MagicMarkets","items":[{"label":"About","href":"https://magicmarkets.com/about?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=footer_about"},{"label":"Learn","href":"https://magicmarkets.com/learn?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=footer_learn"},{"label":"Settlement rules","href":"https://magicmarkets.com/settlement-rules?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=footer_settlement_rules"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://magicmarkets.com/terms-of-service?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=footer_terms_of_service"},{"label":"Privacy Policy","href":"https://magicmarkets.com/privacy-policy?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=footer_privacy_policy"},{"label":"Responsible Gambling","href":"https://magicmarkets.com/responsible-gambling?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=footer_responsible_gambling"}]}]},"search":{"prompt":"Search the MagicMarkets docs"},"seo":{"metatags":{"og:site_name":"MagicMarkets Docs"},"indexing":"navigable"},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"integrations":{"posthog":{"apiKey":"phc_t4WuNMLPb3NxvtYeeh43fZ8Jb46AC4y9cybBts7LbVjY","apiHost":"https://us.i.posthog.com","sessionRecording":false}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Open MagicMarkets","icon":"external-link","href":"https://magicmarkets.com/?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=sidebar_open"},{"anchor":"GitHub","icon":"github","href":"https://github.com/magicmarkets"},{"anchor":"OpenAPI spec","icon":"file-json","href":"https://magicmarkets.com/v2/openapi.yaml"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"magic-markets","hasAudioNarration":false,"actualSubdomain":"magic-markets","customDomains":["docs.magicmarkets.com"],"gitSource":{"type":"github","owner":"magicmarkets","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6affbefd1f32c51eaa745451","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"Developers","count":45},{"language":"default","tag":"Endpoints","count":24},{"language":"default","tag":"Trading","count":20},{"language":"default","tag":"Partners","count":12},{"language":"default","tag":"Platform","count":10},{"language":"default","tag":"Orders","count":9},{"language":"default","tag":"Start here","count":8},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"The exchange","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"developers/api-reference/orders/create-order","slug":"/developers/api-reference/orders/create-order","pageMetadata":{"title":"Create order","description":"Places a new order on an existing betslip.","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/orders/","href":"/developers/api-reference/orders/create-order","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Places a new order on an existing betslip.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Create order","description":"Places a new order on an existing betslip.","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/orders/","href":"/developers/api-reference/orders/create-order","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Orders"],"summary":"Create order","description":"Places a new order on an existing betslip.","requestBody":"1be25922-dd4d-4bc4-9fd0-1880dab045c5","responses":{"201":"398890db-dd18-4e29-b7b3-56b193fab9c2","400":"a7194fe1-54d1-4fab-bd3a-e66d80484ca0","401":"9bb81890-9e92-4be7-9360-46bef97fea85","403":"f2a7d135-239d-4ac3-ba57-335a4fc98069","409":"21062417-4912-4b74-955b-e2ac508e40d0","429":"98324c9e-7026-4484-8b7d-c09a4ec4d698","500":"679fbaa3-dbcd-403d-977d-373c48915aab"},"method":"post","type":"path","servers":["018c80d6-6f1e-4c25-8d26-1c00a28119e3"],"security":["63eadb32-35ce-449a-9de4-f7a6426ba920"],"path":"/v2/orders/","baseUrlOptions":["https://magicmarkets.com"],"title":"Create order","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["betslip_id","price","stake"],"properties":{"betslip_id":{"type":"string","isRequired":true,"uniqueKey":"betslip_id","typeLabel":"string"},"price":{"type":"number","description":"Limit decimal price. A bet is taken only at this price or better, and an off-tick limit moves to the first tick that honours it; see \"Price ticks\".","isRequired":true,"uniqueKey":"price","typeLabel":"number"},"stake":{"type":"object","_tupleOriginal":true,"properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"stake.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"stake.[1]","typeLabel":"number"}},"description":"[currency, amount] - e.g. [\"USDT\", 115.38]","isRequired":true,"uniqueKey":"stake","typeLabel":"tuple"},"duration":{"type":"number","description":"Order duration in seconds (default 15)","uniqueKey":"duration","typeLabel":"number"},"exchange_mode":{"type":"string","enum":["make_and_take","take_only","dark"],"default":"make_and_take","description":"How the order interacts with the exchange. `make_and_take`: fill against the best available liquidity first; any remaining stake is advertised on the exchange at your price, while the order keeps taking newly available liquidity. `take_only`: only consume available liquidity; remaining stake is never advertised and other orders cannot match against it. `dark`: like `make_and_take`, but the advertised remaining stake is hidden from other customers - they can still match it when their price crosses yours, but they cannot see your price until then. There is no post-only mode: no order type rests in the book without also taking crossing liquidity.","uniqueKey":"exchange_mode","typeLabel":"enum\u003cstring>"},"keep_open_ir":{"type":"boolean","default":false,"description":"Keep order open when event goes in-play","uniqueKey":"keep_open_ir","typeLabel":"boolean"},"user_data":{"oneOf":[{"type":"string","maxLength":512,"uniqueKey":"user_data.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":512,"uniqueKey":"user_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"user_data","typeLabel":"string | null"},"request_uuid":{"type":"string","description":"Idempotency key","uniqueKey":"request_uuid","typeLabel":"string"},"accept_partial_fill":{"type":"boolean","default":true,"uniqueKey":"accept_partial_fill","typeLabel":"boolean"},"accept_better_price":{"type":"boolean","default":true,"uniqueKey":"accept_better_price","typeLabel":"boolean"},"force_want_price":{"type":"boolean","default":false,"uniqueKey":"force_want_price","typeLabel":"boolean"},"min_taker_want_stake":{"oneOf":[{"type":"object","description":"`dark` orders only (rejected on other modes): the minimum total stake another order must request to be allowed to match yours at your price point. Cannot exceed the order's own stake. Set it non-zero to stop small probe orders from discovering your price.","properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"min_taker_want_stake.oneOf.0.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"min_taker_want_stake.oneOf.0.[1]","typeLabel":"number"}},"uniqueKey":"min_taker_want_stake.oneOf.0","typeLabel":"object"},{"type":"null","description":"`dark` orders only (rejected on other modes): the minimum total stake another order must request to be allowed to match yours at your price point. Cannot exceed the order's own stake. Set it non-zero to stop small probe orders from discovering your price.","uniqueKey":"min_taker_want_stake.oneOf.1","typeLabel":"null"}],"uniqueKey":"min_taker_want_stake","typeLabel":"object | null"},"current_score":{"type":"object","description":"Placement-time score assertion, `[home, away]`. When present, the order is rejected with `validation_error` / `non_field_errors: [\"event_scores_dont_match\"]` unless the value matches the live score the exchange holds for the event - use it to avoid placing on a price that has not reacted to a goal yet. Only meaningful for football: for sports without a goal-style running score, and while no score is known yet, the server assumes `[0, 0]` and rejects any other value. Omit the field to skip the check.","properties":{"[0]":{"type":"integer","description":"Home score","uniqueKey":"current_score.[0]","typeLabel":"integer"},"[1]":{"type":"integer","description":"Away score","uniqueKey":"current_score.[1]","typeLabel":"integer"}},"uniqueKey":"current_score","typeLabel":"object"},"exclude_danger":{"type":"boolean","default":false,"description":"When true, only liquidity sources that do not hold bets in danger status are used. When false or omitted, all available liquidity sources are used.","uniqueKey":"exclude_danger","typeLabel":"boolean"},"bookie_min_stakes":{"type":"object","description":"Optional per-source minimum stakes, keyed by source. A source is only used if it can take at least its minimum. Values are `[currency, amount]` tuples.","additionalProperties":{"type":"object","_tupleOriginal":true,"properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"bookie_min_stakes.additionalProperties.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"bookie_min_stakes.additionalProperties.[1]","typeLabel":"number"}},"description":"[currency, amount] - e.g. [\"USDT\", 115.38]","uniqueKey":"bookie_min_stakes.additionalProperties","typeLabel":"tuple"},"uniqueKey":"bookie_min_stakes","typeLabel":"object"},"placer_type":{"oneOf":[{"type":"string","description":"Optional caller-supplied tag recorded against the order.","uniqueKey":"placer_type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional caller-supplied tag recorded against the order.","uniqueKey":"placer_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"placer_type","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"normal":{"title":"normal","summary":"Normal order","value":{"betslip_id":"bs-single-001","price":3.25,"stake":["USDT",100],"duration":5,"exchange_mode":"make_and_take"}},"with_options":{"title":"with_options","summary":"With optional fields","value":{"betslip_id":"bs-single-001","price":3.25,"stake":["USDT",100],"duration":10,"exchange_mode":"take_only","keep_open_ir":true,"user_data":"my-ref-001","accept_better_price":true,"accept_partial_fill":true}},"exclude_danger":{"title":"exclude_danger","summary":"Order with dangerball liquidity excluded","value":{"betslip_id":"bs-single-001","price":3.25,"stake":["USDT",100],"duration":5,"exclude_danger":true}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"398890db-dd18-4e29-b7b3-56b193fab9c2":{"description":"Order created","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["ok"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"data":{"type":"object","properties":{"order_id":{"type":"integer","uniqueKey":"data.order_id","typeLabel":"integer"},"order_type":{"type":"string","description":"Order type. `normal`, `lay` and `parlay` are the types placed through this API; `brokerage`, `cashout` and `custom` can appear on orders created by other channels. Treat it as an open set.","enum":["normal","lay","parlay","brokerage","cashout","custom"],"uniqueKey":"data.order_type","typeLabel":"enum\u003cstring>"},"bet_type":{"type":"string","description":"Bet type string - see \"Sports \u0026 bet types\" in the introduction.","uniqueKey":"data.bet_type","typeLabel":"string"},"bet_type_description":{"type":"string","uniqueKey":"data.bet_type_description","typeLabel":"string"},"sport":{"type":"string","description":"Sport code, or `parlay` for accumulators - see \"Sports \u0026 bet types\" in the introduction.","uniqueKey":"data.sport","typeLabel":"string"},"want_price":{"type":"number","uniqueKey":"data.want_price","typeLabel":"number"},"want_stake":{"type":"object","_tupleOriginal":true,"properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"data.want_stake.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"data.want_stake.[1]","typeLabel":"number"}},"description":"[currency, amount] - e.g. [\"USDT\", 115.38]","uniqueKey":"data.want_stake","typeLabel":"tuple"},"ccy_rate":{"type":"number","description":"Exchange rate at order time","uniqueKey":"data.ccy_rate","typeLabel":"number"},"placement_time":{"type":"string","format":"date-time","uniqueKey":"data.placement_time","typeLabel":"string\u003cdate-time>"},"expiry_time":{"type":"string","format":"date-time","uniqueKey":"data.expiry_time","typeLabel":"string\u003cdate-time>"},"closed":{"type":"boolean","uniqueKey":"data.closed","typeLabel":"boolean"},"close_reason":{"oneOf":[{"type":"string","description":"Reason the order closed, e.g. order_filled, timed_out; null while open","uniqueKey":"data.close_reason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Reason the order closed, e.g. order_filled, timed_out; null while open","uniqueKey":"data.close_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.close_reason","typeLabel":"string | null"},"event_info":{"oneOf":[{"type":"object","properties":{"event_type":{"type":"string","enum":["normal","multirunner","parlay"],"uniqueKey":"data.event_info.oneOf.0.event_type","typeLabel":"enum\u003cstring>"},"event_id":{"oneOf":[{"type":"string","description":"null for parlay orders","uniqueKey":"data.event_info.oneOf.0.event_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"null for parlay orders","uniqueKey":"data.event_info.oneOf.0.event_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.event_id","typeLabel":"string | null"},"event_name":{"oneOf":[{"type":"string","uniqueKey":"data.event_info.oneOf.0.event_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.event_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.event_name","typeLabel":"string | null"},"home_id":{"oneOf":[{"type":"integer","description":"Normal events only","uniqueKey":"data.event_info.oneOf.0.home_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Normal events only","uniqueKey":"data.event_info.oneOf.0.home_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.home_id","typeLabel":"integer | null"},"home_team":{"oneOf":[{"type":"string","uniqueKey":"data.event_info.oneOf.0.home_team.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.home_team.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.home_team","typeLabel":"string | null"},"away_id":{"oneOf":[{"type":"integer","description":"Normal events only","uniqueKey":"data.event_info.oneOf.0.away_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Normal events only","uniqueKey":"data.event_info.oneOf.0.away_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.away_id","typeLabel":"integer | null"},"away_team":{"oneOf":[{"type":"string","uniqueKey":"data.event_info.oneOf.0.away_team.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.away_team.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.away_team","typeLabel":"string | null"},"competition_id":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.competition_id.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.competition_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.competition_id","typeLabel":"integer | null"},"competition_name":{"oneOf":[{"type":"string","uniqueKey":"data.event_info.oneOf.0.competition_name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.competition_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.competition_name","typeLabel":"string | null"},"competition_country":{"oneOf":[{"type":"string","description":"ISO country code (e.g. XE for England)","uniqueKey":"data.event_info.oneOf.0.competition_country.oneOf.0","typeLabel":"string"},{"type":"null","description":"ISO country code (e.g. XE for England)","uniqueKey":"data.event_info.oneOf.0.competition_country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.competition_country","typeLabel":"string | null"},"start_time":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.event_info.oneOf.0.start_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.event_info.oneOf.0.start_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.start_time","typeLabel":"string\u003cdate-time> | null"},"date":{"oneOf":[{"type":"string","format":"date","uniqueKey":"data.event_info.oneOf.0.date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","uniqueKey":"data.event_info.oneOf.0.date.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.date","typeLabel":"string\u003cdate> | null"},"result":{"oneOf":[{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"ht_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ht_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ht_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ht_home","typeLabel":"integer | null"},"ht_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ht_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ht_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ht_away","typeLabel":"integer | null"},"ft_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ft_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ft_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ft_home","typeLabel":"integer | null"},"ft_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ft_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ft_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.0.ft_away","typeLabel":"integer | null"}},"uniqueKey":"data.event_info.oneOf.0.result.oneOf.0","typeLabel":"object"},{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"set1_p1":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set1_p1.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set1_p1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set1_p1","typeLabel":"integer | null"},"set1_p2":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set1_p2.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set1_p2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set1_p2","typeLabel":"integer | null"},"set2_p1":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set2_p1.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set2_p1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set2_p1","typeLabel":"integer | null"},"set2_p2":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set2_p2.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set2_p2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set2_p2","typeLabel":"integer | null"},"set3_p1":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set3_p1.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set3_p1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set3_p1","typeLabel":"integer | null"},"set3_p2":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set3_p2.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set3_p2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set3_p2","typeLabel":"integer | null"},"set4_p1":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set4_p1.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set4_p1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set4_p1","typeLabel":"integer | null"},"set4_p2":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set4_p2.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set4_p2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set4_p2","typeLabel":"integer | null"},"set5_p1":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set5_p1.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set5_p1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set5_p1","typeLabel":"integer | null"},"set5_p2":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set5_p2.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set5_p2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.set5_p2","typeLabel":"integer | null"},"who_retired":{"oneOf":[{"type":"integer","description":"1 or 2 if a player retired, else 0 or null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.who_retired.oneOf.0","typeLabel":"integer"},{"type":"null","description":"1 or 2 if a player retired, else 0 or null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.who_retired.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1.who_retired","typeLabel":"integer | null"}},"uniqueKey":"data.event_info.oneOf.0.result.oneOf.1","typeLabel":"object"},{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"tp1_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp1_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp1_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp1_home","typeLabel":"integer | null"},"tp1_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp1_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp1_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp1_away","typeLabel":"integer | null"},"tp2_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp2_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp2_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp2_home","typeLabel":"integer | null"},"tp2_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp2_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp2_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp2_away","typeLabel":"integer | null"},"tp3_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp3_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp3_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp3_home","typeLabel":"integer | null"},"tp3_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp3_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp3_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tp3_away","typeLabel":"integer | null"},"tall_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tall_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tall_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tall_home","typeLabel":"integer | null"},"tall_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tall_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tall_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.tall_away","typeLabel":"integer | null"},"pen_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.pen_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.pen_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.pen_home","typeLabel":"integer | null"},"pen_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.pen_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.pen_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2.pen_away","typeLabel":"integer | null"}},"uniqueKey":"data.event_info.oneOf.0.result.oneOf.2","typeLabel":"object"},{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"game1_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game1_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game1_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game1_home","typeLabel":"integer | null"},"game1_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game1_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game1_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game1_away","typeLabel":"integer | null"},"game2_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game2_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game2_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game2_home","typeLabel":"integer | null"},"game2_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game2_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game2_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game2_away","typeLabel":"integer | null"},"game3_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game3_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game3_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game3_home","typeLabel":"integer | null"},"game3_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game3_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game3_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game3_away","typeLabel":"integer | null"},"game4_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game4_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game4_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game4_home","typeLabel":"integer | null"},"game4_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game4_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game4_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game4_away","typeLabel":"integer | null"},"game5_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game5_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game5_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game5_home","typeLabel":"integer | null"},"game5_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game5_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game5_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game5_away","typeLabel":"integer | null"},"game6_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game6_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game6_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game6_home","typeLabel":"integer | null"},"game6_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game6_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game6_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game6_away","typeLabel":"integer | null"},"game7_home":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game7_home.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game7_home.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game7_home","typeLabel":"integer | null"},"game7_away":{"oneOf":[{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game7_away.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game7_away.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3.game7_away","typeLabel":"integer | null"}},"uniqueKey":"data.event_info.oneOf.0.result.oneOf.3","typeLabel":"object"},{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"runner_results":{"type":"array","description":"Finishing positions per runner","items":{"type":"object","properties":{"team_id":{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.4.runner_results.items.[INDEX].team_id","typeLabel":"integer"},"position":{"type":"integer","description":"1=first, 2=second, 0=unknown, -1=void, -2=non-runner, -3=eliminated","uniqueKey":"data.event_info.oneOf.0.result.oneOf.4.runner_results.items.[INDEX].position","typeLabel":"integer"}},"uniqueKey":"data.event_info.oneOf.0.result.oneOf.4.runner_results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.event_info.oneOf.0.result.oneOf.4.runner_results","typeLabel":"object[]"},"non_runner_count":{"type":"integer","uniqueKey":"data.event_info.oneOf.0.result.oneOf.4.non_runner_count","typeLabel":"integer"}},"uniqueKey":"data.event_info.oneOf.0.result.oneOf.4","typeLabel":"object"},{"type":"null","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","uniqueKey":"data.event_info.oneOf.0.result.oneOf.5","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.result","typeLabel":"object · object · object · object · object · null"},"teams":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"team_id":{"type":"integer","uniqueKey":"data.event_info.oneOf.0.teams.oneOf.0.items.[INDEX].team_id","typeLabel":"integer"},"name":{"type":"string","uniqueKey":"data.event_info.oneOf.0.teams.oneOf.0.items.[INDEX].name","typeLabel":"string"}},"uniqueKey":"data.event_info.oneOf.0.teams.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Runner list (multirunner events only)","uniqueKey":"data.event_info.oneOf.0.teams.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Runner list (multirunner events only)","uniqueKey":"data.event_info.oneOf.0.teams.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.teams","typeLabel":"object[] | null"},"end_time":{"oneOf":[{"type":"string","format":"date-time","description":"Race end time (multirunner events only)","uniqueKey":"data.event_info.oneOf.0.end_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Race end time (multirunner events only)","uniqueKey":"data.event_info.oneOf.0.end_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.end_time","typeLabel":"string\u003cdate-time> | null"},"leg_event_infos":{"oneOf":[{"type":"array","description":"Sub-event info for each leg (parlay orders only)","items":{"$circularRef":"3b63e60b-3996-4da7-b170-d00e9c172eae"},"uniqueKey":"data.event_info.oneOf.0.leg_event_infos.oneOf.0","typeLabel":"array"},{"type":"null","description":"Sub-event info for each leg (parlay orders only)","items":{"$circularRef":"3b63e60b-3996-4da7-b170-d00e9c172eae"},"uniqueKey":"data.event_info.oneOf.0.leg_event_infos.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info.oneOf.0.leg_event_infos","typeLabel":"array | null"}},"uniqueKey":"data.event_info.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.event_info.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.event_info","typeLabel":"object | null"},"bets":{"type":"array","items":{"type":"object","description":"Individual bet within an order","properties":{"bet_id":{"type":"integer","uniqueKey":"data.bets.items.[INDEX].bet_id","typeLabel":"integer"},"order_id":{"type":"integer","uniqueKey":"data.bets.items.[INDEX].order_id","typeLabel":"integer"},"order_ccy_rate":{"type":"number","uniqueKey":"data.bets.items.[INDEX].order_ccy_rate","typeLabel":"number"},"status":{"type":"object","description":"Bet status","properties":{"code":{"type":"string","description":"e.g. matched, failed, settled","uniqueKey":"data.bets.items.[INDEX].status.code","typeLabel":"string"},"reason":{"type":"string","description":"Human-readable failure reason; present only when `code` is `failed`","uniqueKey":"data.bets.items.[INDEX].status.reason","typeLabel":"string"},"response_pmm":{"oneOf":[{"type":"object","properties":{"effective":{"type":"object","properties":{"price":{"type":"number","description":"Decimal price","uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.price","typeLabel":"number"},"min":{"oneOf":[{"type":"object","description":"Minimum stake at this price level, or null","properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.min.oneOf.0.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.min.oneOf.0.[1]","typeLabel":"number"}},"uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.min.oneOf.0","typeLabel":"object"},{"type":"null","description":"Minimum stake at this price level, or null","uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.min.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.min","typeLabel":"object | null"},"max":{"oneOf":[{"type":"object","description":"Maximum stake at this price level, or null","properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.max.oneOf.0.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.max.oneOf.0.[1]","typeLabel":"number"}},"uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.max.oneOf.0","typeLabel":"object"},{"type":"null","description":"Maximum stake at this price level, or null","uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.max.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective.max","typeLabel":"object | null"}},"uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0.effective","typeLabel":"object"}},"uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.bets.items.[INDEX].status.response_pmm.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.bets.items.[INDEX].status.response_pmm","typeLabel":"object | null"}},"uniqueKey":"data.bets.items.[INDEX].status","typeLabel":"object"},"sport":{"type":"string","description":"Sport code - see \"Sports \u0026 bet types\" in the introduction.","uniqueKey":"data.bets.items.[INDEX].sport","typeLabel":"string"},"event_id":{"oneOf":[{"type":"string","uniqueKey":"data.bets.items.[INDEX].event_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.bets.items.[INDEX].event_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.bets.items.[INDEX].event_id","typeLabel":"string | null"},"bet_type":{"type":"string","description":"Bet type string - see \"Sports \u0026 bet types\" in the introduction.","uniqueKey":"data.bets.items.[INDEX].bet_type","typeLabel":"string"},"ccy_rate":{"type":"number","uniqueKey":"data.bets.items.[INDEX].ccy_rate","typeLabel":"number"},"want_price":{"type":"number","uniqueKey":"data.bets.items.[INDEX].want_price","typeLabel":"number"},"got_price":{"oneOf":[{"type":"number","uniqueKey":"data.bets.items.[INDEX].got_price.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.bets.items.[INDEX].got_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.bets.items.[INDEX].got_price","typeLabel":"number | null"},"want_stake":{"type":"object","_tupleOriginal":true,"properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"data.bets.items.[INDEX].want_stake.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"data.bets.items.[INDEX].want_stake.[1]","typeLabel":"number"}},"description":"[currency, amount] - e.g. [\"USDT\", 115.38]","uniqueKey":"data.bets.items.[INDEX].want_stake","typeLabel":"tuple"},"got_stake":{"type":"object","_tupleOriginal":true,"properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"data.bets.items.[INDEX].got_stake.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"data.bets.items.[INDEX].got_stake.[1]","typeLabel":"number"}},"description":"[currency, amount] - e.g. [\"USDT\", 115.38]","uniqueKey":"data.bets.items.[INDEX].got_stake","typeLabel":"tuple"},"profit_loss":{"oneOf":[{"type":"object","description":"[currency, amount] - e.g. [\"USDT\", 115.38]","properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"data.bets.items.[INDEX].profit_loss.oneOf.0.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"data.bets.items.[INDEX].profit_loss.oneOf.0.[1]","typeLabel":"number"}},"uniqueKey":"data.bets.items.[INDEX].profit_loss.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.bets.items.[INDEX].profit_loss.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.bets.items.[INDEX].profit_loss","typeLabel":"object | null"},"reconciled":{"oneOf":[{"type":"boolean","uniqueKey":"data.bets.items.[INDEX].reconciled.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"data.bets.items.[INDEX].reconciled.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.bets.items.[INDEX].reconciled","typeLabel":"boolean | null"},"exchange_role":{"oneOf":[{"type":"string","enum":["maker","taker",null],"uniqueKey":"data.bets.items.[INDEX].exchange_role.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["maker","taker",null],"uniqueKey":"data.bets.items.[INDEX].exchange_role.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.bets.items.[INDEX].exchange_role","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.bets.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.bets","typeLabel":"object[]"},"user_data":{"oneOf":[{"type":"string","uniqueKey":"data.user_data.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.user_data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user_data","typeLabel":"string | null"},"status":{"type":"string","description":"Order lifecycle status: open, pending, failed, partial_void, full_void, done, or reconciled","uniqueKey":"data.status","typeLabel":"string"},"keep_open_ir":{"type":"boolean","uniqueKey":"data.keep_open_ir","typeLabel":"boolean"},"exchange_mode":{"oneOf":[{"type":"string","enum":["make_and_take","take_only","dark",null],"description":"Exchange interaction mode as passed at creation; null on older orders","uniqueKey":"data.exchange_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["make_and_take","take_only","dark",null],"description":"Exchange interaction mode as passed at creation; null on older orders","uniqueKey":"data.exchange_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.exchange_mode","typeLabel":"enum\u003cstring> | null"},"price":{"oneOf":[{"type":"number","description":"Achieved price (null while open)","uniqueKey":"data.price.oneOf.0","typeLabel":"number"},{"type":"null","description":"Achieved price (null while open)","uniqueKey":"data.price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.price","typeLabel":"number | null"},"stake":{"oneOf":[{"type":"object","description":"Aggregate stake across matched bets","properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"data.stake.oneOf.0.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"data.stake.oneOf.0.[1]","typeLabel":"number"}},"uniqueKey":"data.stake.oneOf.0","typeLabel":"object"},{"type":"null","description":"Aggregate stake across matched bets","uniqueKey":"data.stake.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.stake","typeLabel":"object | null"},"profit_loss":{"oneOf":[{"type":"object","description":"[currency, amount] - e.g. [\"USDT\", 115.38]","properties":{"[0]":{"type":"string","description":"Currency code (always USDT in responses)","uniqueKey":"data.profit_loss.oneOf.0.[0]","typeLabel":"string"},"[1]":{"type":"number","description":"Amount","uniqueKey":"data.profit_loss.oneOf.0.[1]","typeLabel":"number"}},"uniqueKey":"data.profit_loss.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.profit_loss.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.profit_loss","typeLabel":"object | null"},"bet_bar_values":{"oneOf":[{"type":"object","uniqueKey":"data.bet_bar_values.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.bet_bar_values.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.bet_bar_values","typeLabel":"object | null"},"current_score":{"oneOf":[{"type":"object","description":"The in-running score the exchange held for the event when the order was placed, `[home, away]`; null for pre-match orders and for events without a running score.","properties":{"[0]":{"type":"integer","description":"Home score","uniqueKey":"data.current_score.oneOf.0.[0]","typeLabel":"integer"},"[1]":{"type":"integer","description":"Away score","uniqueKey":"data.current_score.oneOf.0.[1]","typeLabel":"integer"}},"uniqueKey":"data.current_score.oneOf.0","typeLabel":"object"},{"type":"null","description":"The in-running score the exchange held for the event when the order was placed, `[home, away]`; null for pre-match orders and for events without a running score.","uniqueKey":"data.current_score.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.current_score","typeLabel":"object | null"},"legs":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.legs.oneOf.0.items.[INDEX].id","typeLabel":"integer"},"sport":{"type":"string","description":"Sport code - see \"Sports \u0026 bet types\" in the introduction.","uniqueKey":"data.legs.oneOf.0.items.[INDEX].sport","typeLabel":"string"},"event_id":{"type":"string","uniqueKey":"data.legs.oneOf.0.items.[INDEX].event_id","typeLabel":"string"},"bet_type":{"type":"string","description":"Bet type string - see \"Sports \u0026 bet types\" in the introduction.","uniqueKey":"data.legs.oneOf.0.items.[INDEX].bet_type","typeLabel":"string"},"live_score":{"oneOf":[{"type":"object","description":"In-running score this leg was selected against, or null","required":["home","away"],"properties":{"home":{"type":"integer","minimum":0,"maximum":1024,"description":"Home-team score","isRequired":true,"uniqueKey":"data.legs.oneOf.0.items.[INDEX].live_score.oneOf.0.home","typeLabel":"integer"},"away":{"type":"integer","minimum":0,"maximum":1024,"description":"Away-team score","isRequired":true,"uniqueKey":"data.legs.oneOf.0.items.[INDEX].live_score.oneOf.0.away","typeLabel":"integer"}},"uniqueKey":"data.legs.oneOf.0.items.[INDEX].live_score.oneOf.0","typeLabel":"object"},{"type":"null","description":"In-running score this leg was selected against, or null","uniqueKey":"data.legs.oneOf.0.items.[INDEX].live_score.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.legs.oneOf.0.items.[INDEX].live_score","typeLabel":"object | null"},"bet_type_description":{"type":"string","uniqueKey":"data.legs.oneOf.0.items.[INDEX].bet_type_description","typeLabel":"string"},"price":{"oneOf":[{"type":"number","uniqueKey":"data.legs.oneOf.0.items.[INDEX].price.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"data.legs.oneOf.0.items.[INDEX].price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.legs.oneOf.0.items.[INDEX].price","typeLabel":"number | null"},"outcome":{"oneOf":[{"type":"string","enum":["w","l","v","v/w","l/v","l/w","unknown",null],"description":"Leg settlement: `w` won, `l` lost, `v` void, `v/w` win-void, `l/v` void-loss, `l/w` loss-win (half outcomes), `unknown`, or null before settlement.","uniqueKey":"data.legs.oneOf.0.items.[INDEX].outcome.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["w","l","v","v/w","l/v","l/w","unknown",null],"description":"Leg settlement: `w` won, `l` lost, `v` void, `v/w` win-void, `l/v` void-loss, `l/w` loss-win (half outcomes), `unknown`, or null before settlement.","uniqueKey":"data.legs.oneOf.0.items.[INDEX].outcome.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.legs.oneOf.0.items.[INDEX].outcome","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"data.legs.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.legs.oneOf.0","typeLabel":"object[]"},{"type":"null","uniqueKey":"data.legs.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.legs","typeLabel":"object[] | null"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"ok","data":{"order_id":5001,"order_type":"normal","bet_type":"for,h","bet_type_description":"Home","sport":"fb","want_price":3.25,"want_stake":["USDT",115.38],"ccy_rate":1,"placement_time":"2026-06-15T12:00:00+00:00","expiry_time":"2026-06-15T12:05:00+00:00","closed":false,"close_reason":null,"status":"open","keep_open_ir":false,"exchange_mode":"make_and_take","price":null,"stake":null,"profit_loss":null,"bet_bar_values":null,"current_score":null,"legs":null,"event_info":{"event_type":"normal","event_id":"2026-06-15,1001,2002","event_name":"Arsenal vs. Chelsea","home_id":1001,"home_team":"Arsenal","away_id":2002,"away_team":"Chelsea","competition_id":1,"competition_name":"England Premier League","competition_country":"XE","start_time":"2026-06-15T15:00:00+00:00","date":"2026-06-15","result":null},"bets":[],"user_data":null}},"examples":{"Example":{"title":"Example","value":{"status":"ok","data":{"order_id":5001,"order_type":"normal","bet_type":"for,h","bet_type_description":"Home","sport":"fb","want_price":3.25,"want_stake":["USDT",115.38],"ccy_rate":1,"placement_time":"2026-06-15T12:00:00+00:00","expiry_time":"2026-06-15T12:05:00+00:00","closed":false,"close_reason":null,"status":"open","keep_open_ir":false,"exchange_mode":"make_and_take","price":null,"stake":null,"profit_loss":null,"bet_bar_values":null,"current_score":null,"legs":null,"event_info":{"event_type":"normal","event_id":"2026-06-15,1001,2002","event_name":"Arsenal vs. Chelsea","home_id":1001,"home_team":"Arsenal","away_id":2002,"away_team":"Chelsea","competition_id":1,"competition_name":"England Premier League","competition_country":"XE","start_time":"2026-06-15T15:00:00+00:00","date":"2026-06-15","result":null},"bets":[],"user_data":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"a7194fe1-54d1-4fab-bd3a-e66d80484ca0":{"description":"Validation failed","content":{"application/json":{"schema":{"type":"object","description":"Standard error response. The shape of `data` varies by `code` - see the **Errors** section in the introduction and the named examples on each endpoint's error responses.","required":["status","code"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable machine-readable error code (e.g. `validation_error`, `not_found`, `forbidden`).","example":"validation_error","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"data":{"description":"Variable. Null, string, or object - see examples.","uniqueKey":"data","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","code":"validation_error","data":{"validation_errors":{"non_field_errors":["event_stake_limit_reached"]}}},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"validation_error","data":{"validation_errors":{"non_field_errors":["event_stake_limit_reached"]}}}}},"exampleType":"examples"}},"exampleType":"examples"},"9bb81890-9e92-4be7-9360-46bef97fea85":{"description":"Authentication failed - API key missing, malformed, or rejected.","content":{"application/json":{"schema":{"type":"object","description":"Standard error response. The shape of `data` varies by `code` - see the **Errors** section in the introduction and the named examples on each endpoint's error responses.","required":["status","code"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable machine-readable error code (e.g. `validation_error`, `not_found`, `forbidden`).","example":"validation_error","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"data":{"description":"Variable. Null, string, or object - see examples.","uniqueKey":"data","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","code":"auth_error","data":{"detail":"Authentication credentials were not provided."}},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"auth_error","data":{"detail":"Authentication credentials were not provided."}}}},"exampleType":"examples"}},"exampleType":"examples"},"f2a7d135-239d-4ac3-ba57-335a4fc98069":{"description":"Authorization failed - the key is valid but cannot perform this action.","content":{"application/json":{"schema":{"type":"object","description":"Standard error response. The shape of `data` varies by `code` - see the **Errors** section in the introduction and the named examples on each endpoint's error responses.","required":["status","code"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable machine-readable error code (e.g. `validation_error`, `not_found`, `forbidden`).","example":"validation_error","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"data":{"description":"Variable. Null, string, or object - see examples.","uniqueKey":"data","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","code":"forbidden","data":null},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"forbidden","data":null}}},"exampleType":"examples"}},"exampleType":"examples"},"21062417-4912-4b74-955b-e2ac508e40d0":{"description":"Idempotency conflict - `request_uuid` already used","content":{"application/json":{"schema":{"type":"object","description":"Standard error response. The shape of `data` varies by `code` - see the **Errors** section in the introduction and the named examples on each endpoint's error responses.","required":["status","code"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable machine-readable error code (e.g. `validation_error`, `not_found`, `forbidden`).","example":"validation_error","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"data":{"description":"Variable. Null, string, or object - see examples.","uniqueKey":"data","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","code":"order_already_created","data":{"order_id":5001,"message":"An order with this request_uuid already exists."}},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"order_already_created","data":{"order_id":5001,"message":"An order with this request_uuid already exists."}}}},"exampleType":"examples"}},"exampleType":"examples"},"98324c9e-7026-4484-8b7d-c09a4ec4d698":{"description":"Rate limit hit. Honour the `Retry-After` header.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","description":"Standard error response. The shape of `data` varies by `code` - see the **Errors** section in the introduction and the named examples on each endpoint's error responses.","required":["status","code"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable machine-readable error code (e.g. `validation_error`, `not_found`, `forbidden`).","example":"validation_error","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"data":{"description":"Variable. Null, string, or object - see examples.","uniqueKey":"data","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","code":"throttled","data":{"message":"Request was throttled. Expected available in 12 seconds.","retry_after":12}},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"throttled","data":{"message":"Request was throttled. Expected available in 12 seconds.","retry_after":12}}}},"exampleType":"examples"}},"exampleType":"examples"},"679fbaa3-dbcd-403d-977d-373c48915aab":{"description":"Unexpected internal error. Quote `data[1]` (the token) when contacting support.","content":{"application/json":{"schema":{"type":"object","description":"Standard error response. The shape of `data` varies by `code` - see the **Errors** section in the introduction and the named examples on each endpoint's error responses.","required":["status","code"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"Stable machine-readable error code (e.g. `validation_error`, `not_found`, `forbidden`).","example":"validation_error","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"data":{"description":"Variable. Null, string, or object - see examples.","uniqueKey":"data","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","code":"server_error","data":["An error has occurred, token:","ABC123abc456DEF789gh"]},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"server_error","data":["An error has occurred, token:","ABC123abc456DEF789gh"]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"63eadb32-35ce-449a-9de4-f7a6426ba920":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"API key created from the magic-markets website","scopes":[],"schemeName":"ApiKeyHeader"}}},"servers":{"018c80d6-6f1e-4c25-8d26-1c00a28119e3":{"url":"https://magicmarkets.com","description":"Production"}},"schemas":{"3b63e60b-3996-4da7-b170-d00e9c172eae":{"type":"object","properties":{"event_type":{"type":"string","enum":["normal","multirunner","parlay"]},"event_id":{"oneOf":[{"type":"string","description":"null for parlay orders"},{"type":"null","description":"null for parlay orders"}]},"event_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"home_id":{"oneOf":[{"type":"integer","description":"Normal events only"},{"type":"null","description":"Normal events only"}]},"home_team":{"oneOf":[{"type":"string"},{"type":"null"}]},"away_id":{"oneOf":[{"type":"integer","description":"Normal events only"},{"type":"null","description":"Normal events only"}]},"away_team":{"oneOf":[{"type":"string"},{"type":"null"}]},"competition_id":{"oneOf":[{"type":"integer"},{"type":"null"}]},"competition_name":{"oneOf":[{"type":"string"},{"type":"null"}]},"competition_country":{"oneOf":[{"type":"string","description":"ISO country code (e.g. XE for England)"},{"type":"null","description":"ISO country code (e.g. XE for England)"}]},"start_time":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]},"date":{"oneOf":[{"type":"string","format":"date"},{"type":"null","format":"date"}]},"result":{"oneOf":[{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"ht_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"ht_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"ft_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"ft_away":{"oneOf":[{"type":"integer"},{"type":"null"}]}}},{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"set1_p1":{"oneOf":[{"type":"integer"},{"type":"null"}]},"set1_p2":{"oneOf":[{"type":"integer"},{"type":"null"}]},"set2_p1":{"oneOf":[{"type":"integer"},{"type":"null"}]},"set2_p2":{"oneOf":[{"type":"integer"},{"type":"null"}]},"set3_p1":{"oneOf":[{"type":"integer"},{"type":"null"}]},"set3_p2":{"oneOf":[{"type":"integer"},{"type":"null"}]},"set4_p1":{"oneOf":[{"type":"integer"},{"type":"null"}]},"set4_p2":{"oneOf":[{"type":"integer"},{"type":"null"}]},"set5_p1":{"oneOf":[{"type":"integer"},{"type":"null"}]},"set5_p2":{"oneOf":[{"type":"integer"},{"type":"null"}]},"who_retired":{"oneOf":[{"type":"integer","description":"1 or 2 if a player retired, else 0 or null"},{"type":"null","description":"1 or 2 if a player retired, else 0 or null"}]}}},{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"tp1_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"tp1_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"tp2_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"tp2_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"tp3_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"tp3_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"tall_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"tall_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"pen_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"pen_away":{"oneOf":[{"type":"integer"},{"type":"null"}]}}},{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"game1_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game1_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game2_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game2_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game3_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game3_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game4_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game4_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game5_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game5_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game6_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game6_away":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game7_home":{"oneOf":[{"type":"integer"},{"type":"null"}]},"game7_away":{"oneOf":[{"type":"integer"},{"type":"null"}]}}},{"type":"object","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown.","properties":{"runner_results":{"type":"array","description":"Finishing positions per runner","items":{"type":"object","properties":{"team_id":{"type":"integer"},"position":{"type":"integer","description":"1=first, 2=second, 0=unknown, -1=void, -2=non-runner, -3=eliminated"}}}},"non_runner_count":{"type":"integer"}}},{"type":"null","description":"Match or race result. The shape depends on the sport - see the `EventResult*` schemas. Null while the result is unknown."}]},"teams":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"team_id":{"type":"integer"},"name":{"type":"string"}}},"description":"Runner list (multirunner events only)"},{"type":"null","description":"Runner list (multirunner events only)"}]},"end_time":{"oneOf":[{"type":"string","description":"Race end time (multirunner events only)","format":"date-time"},{"type":"null","description":"Race end time (multirunner events only)","format":"date-time"}]},"leg_event_infos":{"oneOf":[{"type":"array","items":{"oneOf":[{}]},"description":"Sub-event info for each leg (parlay orders only)"},{"type":"null","description":"Sub-event info for each leg (parlay orders only)"}]}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"API key created from the magic-markets website","scopes":[],"schemeName":"ApiKeyHeader"},"schema":{"title":"X-Api-Key","type":"string","description":"API key created from the magic-markets website","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"X-Api-Key"}],"title":"ApiKeyHeader"}]},"originalFileLocation":"openapi/magicmarkets-v2.json"},"subdomain":"magic-markets","siteName":"MagicMarkets","title":"Create order - MagicMarkets","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-09T13:51:39.173Z","originalFileLocation":"developers/api-reference/orders/create-order.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Places a new order on an existing betslip.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MagicMarkets\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create order - MagicMarkets\">\u003cmeta data-mint-head property=\"og:description\" content=\"Places a new order on an existing betslip.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MagicMarkets Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://magic-markets.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+order\u0026amp;description=Places+a+new+order+on+an+existing+betslip.\u0026amp;theme=d5a33f2ac9b45dd8d861cdae\u0026amp;signature=6fe01f3d75a7446ccd533a5e259fc694be97f30eefd1c6dbe6f372757ca325a6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create order - MagicMarkets\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Places a new order on an existing betslip.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://magic-markets.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Create+order\u0026amp;description=Places+a+new+order+on+an+existing+betslip.\u0026amp;theme=d5a33f2ac9b45dd8d861cdae\u0026amp;signature=6fe01f3d75a7446ccd533a5e259fc694be97f30eefd1c6dbe6f372757ca325a6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/magic-markets/G6_JKSGE2qJaMApl/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MagicMarkets\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF5408\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers/api-reference/orders/create-order.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.magicmarkets.com/#organization\",\"name\":\"MagicMarkets\",\"url\":\"https://docs.magicmarkets.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/magic-markets/K78j_U0qF2SW_a58/logo/light.png?fit=max\u0026auto=format\u0026n=K78j_U0qF2SW_a58\u0026q=85\u0026s=5b5cb25cb63b63071c2752557cd24445\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.magicmarkets.com#website\",\"name\":\"MagicMarkets\",\"url\":\"https://docs.magicmarkets.com\",\"publisher\":{\"@id\":\"https://docs.magicmarkets.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order#webpage\",\"url\":\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order\",\"name\":\"Create order\",\"description\":\"Places a new order on an existing betslip.\",\"dateModified\":\"2026-10-09T13:51:39.173Z\",\"isPartOf\":{\"@id\":\"https://docs.magicmarkets.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.magicmarkets.com/developers/api-reference/betslips/list-betslips\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orders\",\"item\":\"https://docs.magicmarkets.com/developers/api-reference/orders/list-orders\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create order\",\"item\":\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order#apireference\",\"headline\":\"Create order\",\"name\":\"Create order\",\"description\":\"Places a new order on an existing betslip.\",\"url\":\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order\",\"mainEntityOfPage\":{\"@id\":\"https://docs.magicmarkets.com/developers/api-reference/orders/create-order#webpage\"},\"dateModified\":\"2026-10-09T13:51:39.173Z\",\"publisher\":{\"@id\":\"https://docs.magicmarkets.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.magicmarkets.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MagicMarkets\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"MagicMarkets\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developers/api-reference/orders/create-order.md","siteName":"MagicMarkets","nav":{"global":{"anchors":[{"anchor":"Open MagicMarkets","icon":"external-link","href":"https://magicmarkets.com/?utm_source=docs\u0026utm_medium=owned\u0026utm_campaign=docs\u0026utm_content=sidebar_open"},{"anchor":"GitHub","icon":"github","href":"https://github.com/magicmarkets"},{"anchor":"OpenAPI spec","icon":"file-json","href":"https://magicmarkets.com/v2/openapi.yaml"}]},"tabs":[{"tab":"Platform","icon":"layers","pages":[{"title":"Platform","href":""}]},{"tab":"Trading","icon":"user-round","pages":[{"title":"Trading","href":"/traders/getting-started/create-account"}]},{"tab":"Developers","icon":"square-terminal","groups":[{"group":"Start here","pages":[{"title":"Developer overview","icon":"code","href":"/developers/overview"},{"title":"Quickstart","icon":"rocket","href":"/developers/quickstart"},{"title":"Getting started with an Agent","icon":"graduation-cap","href":"/developers/learn-with-ai"},{"title":"CLI","icon":"square-terminal","href":"/developers/tools/cli"},{"title":"Authentication","icon":"key","href":"/developers/authentication"}]},{"group":"Concepts","pages":[{"title":"Concepts","icon":"lightbulb","href":"/developers/concepts"},{"title":"Sports and bet types","icon":"list-tree","href":"/developers/sports-and-bet-types"},{"title":"Prices and ticks","icon":"ruler","href":"/developers/prices-and-ticks"},{"title":"Errors and rate limits","icon":"triangle-alert","href":"/developers/errors-and-rate-limits"},{"title":"Safety","icon":"shield-check","href":"/developers/safety"}]},{"group":"Streaming","pages":[{"title":"WebSocket stream","icon":"radio","href":"/developers/websocket-stream"}]},{"group":"Guides","pages":[{"title":"Place an order","icon":"code","href":"/developers/guides/place-an-order"},{"title":"Maintain a live price book","icon":"book-open","href":"/developers/guides/price-book"},{"title":"Market making with heartbeat protection","icon":"repeat","href":"/developers/guides/market-making"},{"title":"Bulk close","icon":"square-x","href":"/developers/guides/bulk-close"},{"title":"Stream many events","icon":"waves","href":"/developers/guides/multi-event-streaming"}]},{"group":"Tools","pages":[{"title":"MCP server","icon":"bot","href":"/developers/tools/mcp"},{"title":"Claude skill","icon":"sparkles","href":"/developers/tools/claude-skill"},{"title":"Machine-readable docs","icon":"file-code","href":"/developers/tools/machine-readable-docs"}]},{"group":"API reference","pages":[{"title":"API reference","icon":"book-open-text","href":"/developers/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Betslips","pages":[{"title":"List betslips","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/betslips/","href":"/developers/api-reference/betslips/list-betslips"},{"title":"Create betslip","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/betslips/","href":"/developers/api-reference/betslips/create-betslip"},{"title":"Get betslip","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/betslips/{betslip_id}/","href":"/developers/api-reference/betslips/get-betslip"},{"title":"Close betslip","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json delete /v2/betslips/{betslip_id}/","href":"/developers/api-reference/betslips/close-betslip"},{"title":"Refresh betslip","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/betslips/{betslip_id}/refresh/","href":"/developers/api-reference/betslips/refresh-betslip"}]},{"group":"Orders","pages":[{"title":"List orders","description":"Returns a paginated list of orders for the authenticated customer.","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/orders/","href":"/developers/api-reference/orders/list-orders"},{"title":"Create order","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/orders/","href":"/developers/api-reference/orders/create-order"},{"title":"Order updates","description":"Returns orders updated within the given time range. Both `updated_at_from` and `updated_at_to` must be **at least 60 seconds in the past**, and the window (`updated_at_to - updated_at_from`) must not exceed **70 minutes**. For longer syncs, page through successive 70-minute windows.","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/orders/updates/","href":"/developers/api-reference/orders/order-updates"},{"title":"Get order","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/orders/{order_id}/","href":"/developers/api-reference/orders/get-order"},{"title":"Get order by UUID","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/orders/tracked/{uuid}/","href":"/developers/api-reference/orders/get-order-by-uuid"},{"title":"Close an order","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/orders/{order_id}/close/","href":"/developers/api-reference/orders/close-an-order"},{"title":"Close multiple orders","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/orders/close_many/","href":"/developers/api-reference/orders/close-multiple-orders"},{"title":"Close all open orders","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/orders/close_all/","href":"/developers/api-reference/orders/close-all-open-orders"},{"title":"Calculate position","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/orders/position/","href":"/developers/api-reference/orders/calculate-position"}]},{"group":"Account","pages":[{"title":"Account balance","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/balance/","href":"/developers/api-reference/account/account-balance"}]},{"group":"Heartbeats","pages":[{"title":"List heartbeats","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/heartbeats/","href":"/developers/api-reference/heartbeats/list-heartbeats"},{"title":"Create heartbeat","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/heartbeats/","href":"/developers/api-reference/heartbeats/create-heartbeat"},{"title":"Get heartbeat","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/heartbeats/{heartbeat_id}/","href":"/developers/api-reference/heartbeats/get-heartbeat"},{"title":"Cancel heartbeat","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json delete /v2/heartbeats/{heartbeat_id}/","href":"/developers/api-reference/heartbeats/cancel-heartbeat"},{"title":"Refresh heartbeat","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json post /v2/heartbeats/{heartbeat_id}/refresh/","href":"/developers/api-reference/heartbeats/refresh-heartbeat"}]},{"group":"Reference","pages":[{"title":"Exchange rates","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/xrates/","href":"/developers/api-reference/reference/exchange-rates"},{"title":"Bet type info","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/sports/{sport}/bet_types/{bet_type}/","href":"/developers/api-reference/reference/bet-type-info"}]},{"group":"Market data","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/events/","href":"/developers/api-reference/market-data/list-events"},{"title":"List offers for an event","deprecated":null,"version":null,"openapi":"/openapi/magicmarkets-v2.json get /v2/offers/","href":"/developers/api-reference/market-data/list-offers-for-an-event"}]}]},{"group":"Updates","pages":[{"title":"Changelog","icon":"list","href":"/developers/changelog"}]}]},{"tab":"Partners","icon":"handshake","pages":[{"title":"Partners","href":"/partners/overview"}]}]},"basePath":"","title":"Create order - MagicMarkets","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}