Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under notCancelled (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error details carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in cancelled. Idempotent: re-cancelling a terminal order reports already_terminal. Rate limit (cancel-batch-wallet bucket, its own, not shared with cancel or cancel-all): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see Rate limits. No KYC / deposit-tier gating — cancellation is always permitted.
Partner / integrator key — format ps_live_<keyId>_<secret>. Partner keys are issued by PredictStreet; a user can also create keys bound to their own wallet from their account settings in the web app. Never ship to a browser. multi_wallet partners must additionally send X-User-Wallet: 0x<40-hex> on every authenticated request to declare the acting wallet. See the API keys guide for scope taxonomy, partner kinds, rate limits, and rotation procedure.
Scopes
orders:write
Headers
X-User-Wallet
string
Required for multi_wallet partners on every authenticated request; ignored for single_wallet. Declares the acting end-user wallet for this request — drives KYC checks, balances/positions/orders attribution, rate-limit buckets, and audit. Lower-cased server-side. Missing on a multi_wallet key → 401 api_key_user_wallet_required; malformed → 401 api_key_user_wallet_invalid. The on-chain CTFExchange/Vault contracts still verify EIP-712 signer ↔ vault binding, so loosening API-layer attribution is safe by construction.
Pattern: ^0x[a-fA-F0-9]{40}$
Example:
"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb3"
Body
application/json
orderIds
string[]
required
1–100 server-side order ids (UUIDs; non-UUID non-empty strings report per-id not_found in notCancelled, RND-2440). Duplicates are de-duplicated server-side.
Required array length: 1 - 100 elements
Response
Per-id outcome split into cancelled and notCancelled, with remainingQty for each cancelled id.
cancelled
string[]
required
Ids whose cancellation was accepted. Acceptance and effect are separate moments: the status flip and the release of the residual collateral (BUY) / ERC-1155 reservation (SELL) can follow the acceptance, so a read of the order taken right after this response can still show the pre-cancel status — poll the order rather than assuming. Each id stands on its own: another id failing does not undo it.
notCancelled
object
required
Map of orderId → reason for every id that was not cancelled. Reasons: not_found (unknown id, malformed non-UUID string, or an order owned by another wallet — no existence leak; RND-2440), already_terminal (already CANCELLED / FILLED / REJECTED / EXPIRED — idempotent), not_attempted (the request stopped before reaching this id and nothing was tried — retry exactly these ids), placement_unanswered (the order's own placement has not been answered yet — retry after a short delay), termination_refused (the cancel was attempted and refused for this request — replaying the same request retries the same refusal, so re-read the order and send a fresh cancel. The one exception is an RFQ order no cancel ends — an RFQ taker leg, or an RFQ quote that is taken, partially filled, or whose reservation is not in its side's asset (RND-1842, RND-2678): nothing was attempted and the answer is final, so do not retry; a fresh cancel answers 409 rfq_order_taken for a taken quote (RND-2678; it ends by its own fill or its own release) and 409 rfq_order_not_cancellable otherwise (it ends by its own fill or its own hold). A live RFQ quote order is cancelled like any other order and listed in cancelled), cancel_pending (the cancel is recorded and no answer to it is recorded yet — the same condition the single cancel answers 202 cancel_pending with Retry-After: 5. Cancel the ids named this way again after a few seconds, with a single cancel or a cancel-batch of exactly those ids — from cancel-all too: a new cancel-all is a new sweep that also cancels orders placed since. Repeating the cancel of an id is safe, cannot cancel twice, and is what completes it soonest; the platform may also complete it on its own. It does not mean the order is still open — it may have filled — so re-read the order), termination_unavailable (no verified answer on whether the cancel was recorded — re-read the order; resending the same cancel cannot cancel twice), financial_obligation_protected (a settlement this order took part in has not finished applying; usually clears within seconds — re-read the order and contact support if it persists), lock_invariant (returned only by older exchange nodes: the order's collateral bookkeeping was inconsistent; current nodes record it and cancel the order; re-read the order; the rest of the batch is unaffected), unknown (unexpected error — treat as transient and re-read the order).
Show child attributes
remainingQty
object
required
Map of orderId → quantity still unfilled when that order was cancelled (decimal string), for exactly the ids in cancelled; {} when cancelled is empty. An upper bound, not a traded quantity: size a replacement quote from it, and book fills from the order read.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ADI Predictstreet","description":"Institutional-grade prediction market API — trading, settlement, and on-chain custody.","colors":{"primary":"#013CFF","light":"#3F67ED","dark":"#0028AE"},"logo":{"light":"https://mintcdn.com/ideasoft/m6stBITx7YzlhMtC/logo/light.svg?fit=max\u0026auto=format\u0026n=m6stBITx7YzlhMtC\u0026q=85\u0026s=67eed2cbc5343eb0cb47d0945877af3f","dark":"https://mintcdn.com/ideasoft/m6stBITx7YzlhMtC/logo/dark.svg?fit=max\u0026auto=format\u0026n=m6stBITx7YzlhMtC\u0026q=85\u0026s=c44812a23eae343855d6ec50450195a8"},"favicon":"https://mintcdn.com/ideasoft/m6stBITx7YzlhMtC/favicon.svg?fit=max\u0026auto=format\u0026n=m6stBITx7YzlhMtC\u0026q=85\u0026s=12febd8f21b779fb61083b446cab4a6f","api":{"playground":{"proxy":true}},"navbar":{"links":[{"href":"https://adipredictstreet.com/","label":"Web app"}]},"footer":{"socials":{"x":"https://x.com/predictstreet","github":"https://github.com/predictstreet"}},"styling":{"eyebrows":"section","latex":true},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ideasoft","hasAudioNarration":false,"actualSubdomain":"ideasoft","customDomains":["docs.adipredictstreet.com"],"gitSource":{"type":"github","owner":"predictstreetproduction","repo":"predictstreet-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10d7d79ffae5051c40dd68"},"entitlements":{},"buildId":"6b12b1adba1b60174d3523fe","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API Reference","count":118},{"language":"default","tag":"Endpoints","count":111},{"language":"default","tag":"Documentation","count":65},{"language":"default","tag":"Portfolio","count":26},{"language":"default","tag":"Markets","count":21},{"language":"default","tag":"Withdrawals","count":15},{"language":"default","tag":"Orders","count":11},{"language":"default","tag":"WebSocket","count":10},{"language":"default","tag":"On-chain Contracts","count":8},{"language":"default","tag":"Public Profile","count":8}]},"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":"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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":":root{--adi-pearl-white: #FFFDFA;--adi-electric-orange: #FF710A;--adi-burgundy: #3E000D;--adi-bright-blue: #013CFF;--adi-sandy-white: #FFF9E1;--adi-pearl-white-mid: #EAEAEA;--adi-pearl-white-dark: #BEBEBE;--adi-electric-orange-light: #FD964B;--adi-electric-orange-dark: #B74D00;--adi-burgundy-light: #632431;--adi-burgundy-dark: #2B0009;--adi-bright-blue-light: #3F67ED;--adi-bright-blue-dark: #0028AE;--adi-sandy-white-light: #FFFBEC;--adi-sandy-white-dark: #E1D9B6}a,.link{color:var(--adi-bright-blue)}a:hover,.link:hover{color:var(--adi-bright-blue-dark)}.dark a,.dark .link{color:var(--adi-bright-blue-light)}.dark a:hover,.dark .link:hover{color:var(--adi-electric-orange-light)}::selection{background-color:var(--adi-electric-orange);color:var(--adi-pearl-white)}"}]}
{"page":{"pagePath":"api-reference/orders/cancel-a-batch-of-orders-by-id-max-100","slug":"/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100","pageMetadata":{"title":"Cancel a batch of orders by id (max 100)","description":"Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under `notCancelled` (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error `details` carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in `cancelled`. Idempotent: re-cancelling a terminal order reports `already_terminal`. Rate limit (`cancel-batch-wallet` bucket, its own, not shared with `cancel` or `cancel-all`): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see [Rate limits](/auth/rate-limits). No KYC / deposit-tier gating — cancellation is always permitted.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/orders/cancel-batch","href":"/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under \", _jsx(_components.code, {\n children: \"notCancelled\"\n }), \" (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error \", _jsx(_components.code, {\n children: \"details\"\n }), \" carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in \", _jsx(_components.code, {\n children: \"cancelled\"\n }), \". Idempotent: re-cancelling a terminal order reports \", _jsx(_components.code, {\n children: \"already_terminal\"\n }), \". Rate limit (\", _jsx(_components.code, {\n children: \"cancel-batch-wallet\"\n }), \" bucket, its own, not shared with \", _jsx(_components.code, {\n children: \"cancel\"\n }), \" or \", _jsx(_components.code, {\n children: \"cancel-all\"\n }), \"): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see \", _jsx(_components.a, {\n href: \"/auth/rate-limits\",\n children: \"Rate limits\"\n }), \". No KYC / deposit-tier gating — cancellation is always permitted.\"]\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":{"config":{},"pageMetadata":{"title":"Cancel a batch of orders by id (max 100)","description":"Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under `notCancelled` (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error `details` carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in `cancelled`. Idempotent: re-cancelling a terminal order reports `already_terminal`. Rate limit (`cancel-batch-wallet` bucket, its own, not shared with `cancel` or `cancel-all`): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see [Rate limits](/auth/rate-limits). No KYC / deposit-tier gating — cancellation is always permitted.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/orders/cancel-batch","href":"/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under `notCancelled` (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error `details` carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in `cancelled`. Idempotent: re-cancelling a terminal order reports `already_terminal`. Rate limit (`cancel-batch-wallet` bucket, its own, not shared with `cancel` or `cancel-all`): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see [Rate limits](/auth/rate-limits). No KYC / deposit-tier gating — cancellation is always permitted.","operationId":"OrdersController_cancelBatch","parameters":["d9f36d59-d933-4abd-8666-de1cfa2de23e"],"requestBody":"25d7f1bc-f8af-44a6-bbd9-c85677f3e17e","responses":{"201":"1df4cc86-b3b9-4160-a4a3-cd55da12a5e4","400":"83a72d8c-c3d4-4f18-829d-6ddb1ec19e88","401":"eb70c0af-5cf3-4c61-a086-331bad6426cd","403":"df510916-4db2-4109-b40c-6c5d67b64ef2","409":"775d69c6-641c-47ca-91ac-1db1d7f8c073","429":"d36cb7cd-76df-41f7-9563-609f033ccb6b","503":"3966d515-e413-4c3f-9a12-a3336f29529a"},"security":["6aea2d02-1e6c-4ed1-989f-eb2e4f5dafca"],"summary":"Cancel a batch of orders by id (max 100)","tags":["Orders"],"method":"post","type":"path","servers":["d5e3047c-068c-42db-8437-4950aef33f8b"],"path":"/api/orders/cancel-batch","baseUrlOptions":["https://core-api.adipredictstreet.com"],"title":"Cancel a batch of orders by id (max 100)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d9f36d59-d933-4abd-8666-de1cfa2de23e":{"name":"X-User-Wallet","in":"header","required":false,"description":"**Required for `multi_wallet` partners on every authenticated request; ignored for `single_wallet`.** Declares the acting end-user wallet for this request — drives KYC checks, balances/positions/orders attribution, rate-limit buckets, and audit. Lower-cased server-side. Missing on a multi_wallet key → 401 `api_key_user_wallet_required`; malformed → 401 `api_key_user_wallet_invalid`. The on-chain `CTFExchange`/`Vault` contracts still verify EIP-712 signer ↔ vault binding, so loosening API-layer attribution is safe by construction.","schema":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb3","isRequired":false,"description":"**Required for `multi_wallet` partners on every authenticated request; ignored for `single_wallet`.** Declares the acting end-user wallet for this request — drives KYC checks, balances/positions/orders attribution, rate-limit buckets, and audit. Lower-cased server-side. Missing on a multi_wallet key → 401 `api_key_user_wallet_required`; malformed → 401 `api_key_user_wallet_invalid`. The on-chain `CTFExchange`/`Vault` contracts still verify EIP-712 signer ↔ vault binding, so loosening API-layer attribution is safe by construction.","uniqueKey":"","typeLabel":"string"},"example":"0x1234567890abcdef1234567890abcdef12345678"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["orderIds"],"properties":{"orderIds":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"string","uniqueKey":"orderIds.items.[INDEX]","typeLabel":"string"},"description":"1–100 server-side order ids (UUIDs; non-UUID non-empty strings report per-id `not_found` in `notCancelled`, RND-2440). Duplicates are de-duplicated server-side.","isRequired":true,"uniqueKey":"orderIds","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"orderIds":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"1df4cc86-b3b9-4160-a4a3-cd55da12a5e4":{"description":"Per-id outcome split into `cancelled` and `notCancelled`, with `remainingQty` for each cancelled id.","content":{"application/json":{"schema":{"type":"object","properties":{"cancelled":{"type":"array","items":{"type":"string","uniqueKey":"cancelled.items.[INDEX]","typeLabel":"string"},"description":"Ids whose cancellation was accepted. Acceptance and effect are separate moments: the status flip and the release of the residual collateral (BUY) / ERC-1155 reservation (SELL) can follow the acceptance, so a read of the order taken right after this response can still show the pre-cancel status — poll the order rather than assuming. Each id stands on its own: another id failing does not undo it.","isRequired":true,"uniqueKey":"cancelled","typeLabel":"string[]"},"notCancelled":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"notCancelled.additionalProperties","typeLabel":"string"},"description":"Map of orderId → reason for every id that was not cancelled. Reasons: `not_found` (unknown id, malformed non-UUID string, or an order owned by another wallet — no existence leak; RND-2440), `already_terminal` (already CANCELLED / FILLED / REJECTED / EXPIRED — idempotent), `not_attempted` (the request stopped before reaching this id and nothing was tried — retry exactly these ids), `placement_unanswered` (the order's own placement has not been answered yet — retry after a short delay), `termination_refused` (the cancel was attempted and refused for this request — replaying the same request retries the same refusal, so re-read the order and send a fresh cancel. The one exception is an RFQ order no cancel ends — an RFQ taker leg, or an RFQ quote that is taken, partially filled, or whose reservation is not in its side's asset (RND-1842, RND-2678): nothing was attempted and the answer is final, so do not retry; a fresh cancel answers 409 `rfq_order_taken` for a taken quote (RND-2678; it ends by its own fill or its own release) and 409 `rfq_order_not_cancellable` otherwise (it ends by its own fill or its own hold). A live RFQ quote order is cancelled like any other order and listed in `cancelled`), `cancel_pending` (the cancel is recorded and no answer to it is recorded yet — the same condition the single cancel answers `202 cancel_pending` with `Retry-After: 5`. Cancel the ids named this way again after a few seconds, with a single cancel or a cancel-batch of exactly those ids — from cancel-all too: a new cancel-all is a new sweep that also cancels orders placed since. Repeating the cancel of an id is safe, cannot cancel twice, and is what completes it soonest; the platform may also complete it on its own. It does not mean the order is still open — it may have filled — so re-read the order), `termination_unavailable` (no verified answer on whether the cancel was recorded — re-read the order; resending the same cancel cannot cancel twice), `financial_obligation_protected` (a settlement this order took part in has not finished applying; usually clears within seconds — re-read the order and contact support if it persists), `lock_invariant` (returned only by older exchange nodes: the order's collateral bookkeeping was inconsistent; current nodes record it and cancel the order; re-read the order; the rest of the batch is unaffected), `unknown` (unexpected error — treat as transient and re-read the order).","isRequired":true,"uniqueKey":"notCancelled","typeLabel":"object"},"remainingQty":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"remainingQty.additionalProperties","typeLabel":"string"},"description":"Map of orderId → quantity still unfilled when that order was cancelled (decimal string), for exactly the ids in `cancelled`; `{}` when `cancelled` is empty. An upper bound, not a traded quantity: size a replacement quote from it, and book fills from the order read.","isRequired":true,"uniqueKey":"remainingQty","typeLabel":"object"}},"required":["cancelled","notCancelled","remainingQty"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"cancelled":["\u003cstring>"],"notCancelled":{},"remainingQty":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"83a72d8c-c3d4-4f18-829d-6ddb1ec19e88":{"description":"`invalid_request` — `orderIds` is missing, not an array, empty, over 100 entries, or holds a non-string, an empty string or an entry longer than 1024 characters, or the body has unknown properties. Nothing is sent to the exchange. A refused request still used a token of the wallet bucket and of the shared `/api/orders/*` IP bucket (RND-4822).","content":{"application/json":{"schema":{"type":"object","description":"Error body returned by every API error (same shape as `Error`). Branch on `error.code`, not on `message`.","required":["status","error"],"properties":{"status":{"type":"integer","description":"HTTP status, repeated in the body.","example":400,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable code.","example":"bad_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"Request trace id; quote it to support. May be absent.","uniqueKey":"error.trace_id","typeLabel":"string"},"retryAfterSec":{"type":"integer","description":"Seconds to wait before retrying, when the server says so (also sent as the `Retry-After` header).","uniqueKey":"error.retryAfterSec","typeLabel":"integer"},"retryable":{"type":"boolean","description":"Whether the same request may be sent again as it is. Absent when the server does not say.","uniqueKey":"error.retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra structured context thrown with the error.","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":400,"error":{"code":"bad_request","message":"\u003cstring>","trace_id":"\u003cstring>","retryAfterSec":123,"retryable":true,"details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"eb70c0af-5cf3-4c61-a086-331bad6426cd":{"description":"Missing, invalid, or expired credentials.","content":{"application/json":{"schema":{"type":"object","description":"Error body returned by every API error (same shape as `ErrorEnvelope`). Branch on `error.code`, not on `message`.","required":["status","error"],"properties":{"status":{"type":"integer","description":"HTTP status, repeated in the body.","example":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable code (e.g. `market_not_found`, `event_not_found`, `invalid_limit`).","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"Request trace id; quote it to support. May be absent.","uniqueKey":"error.trace_id","typeLabel":"string"},"retryAfterSec":{"type":"integer","description":"Seconds to wait before retrying, when the server says so (also sent as the `Retry-After` header).","uniqueKey":"error.retryAfterSec","typeLabel":"integer"},"retryable":{"type":"boolean","description":"Whether the same request may be sent again as it is. Absent when the server does not say.","uniqueKey":"error.retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra structured context thrown with the error, e.g. `slug`, `allowed`, `auditId`.","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":404,"error":{"code":"\u003cstring>","message":"\u003cstring>","trace_id":"\u003cstring>","retryAfterSec":123,"retryable":true,"details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"df510916-4db2-4109-b40c-6c5d67b64ef2":{"description":"API-key caller is missing the orders:write scope.","content":{"application/json":{"schema":{"type":"object","description":"Error body returned by every API error (same shape as `Error`). Branch on `error.code`, not on `message`.","required":["status","error"],"properties":{"status":{"type":"integer","description":"HTTP status, repeated in the body.","example":400,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable code.","example":"bad_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"Request trace id; quote it to support. May be absent.","uniqueKey":"error.trace_id","typeLabel":"string"},"retryAfterSec":{"type":"integer","description":"Seconds to wait before retrying, when the server says so (also sent as the `Retry-After` header).","uniqueKey":"error.retryAfterSec","typeLabel":"integer"},"retryable":{"type":"boolean","description":"Whether the same request may be sent again as it is. Absent when the server does not say.","uniqueKey":"error.retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra structured context thrown with the error.","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":400,"error":{"code":"bad_request","message":"\u003cstring>","trace_id":"\u003cstring>","retryAfterSec":123,"retryable":true,"details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"775d69c6-641c-47ca-91ac-1db1d7f8c073":{"description":"`shard_owned_elsewhere`: no id was attempted and nothing changed (`error.retryable: true`). The platform has already re-sent the batch for about 6 seconds (RND-4826). Repeat the call.","content":{"application/json":{"schema":{"type":"object","description":"Error body returned by every API error (same shape as `Error`). Branch on `error.code`, not on `message`.","required":["status","error"],"properties":{"status":{"type":"integer","description":"HTTP status, repeated in the body.","example":400,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable code.","example":"bad_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"Request trace id; quote it to support. May be absent.","uniqueKey":"error.trace_id","typeLabel":"string"},"retryAfterSec":{"type":"integer","description":"Seconds to wait before retrying, when the server says so (also sent as the `Retry-After` header).","uniqueKey":"error.retryAfterSec","typeLabel":"integer"},"retryable":{"type":"boolean","description":"Whether the same request may be sent again as it is. Absent when the server does not say.","uniqueKey":"error.retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra structured context thrown with the error.","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":400,"error":{"code":"bad_request","message":"\u003cstring>","trace_id":"\u003cstring>","retryAfterSec":123,"retryable":true,"details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"d36cb7cd-76df-41f7-9563-609f033ccb6b":{"description":"`rate_limited` — this wallet's bucket (15 per second per wallet; RND-5251) or the IP bucket shared by every `/api/orders/*` call (30000 per 60 s) is exhausted, or the exchange answered its own `rate_limited`. Wait `Retry-After` (also `retryAfterSec`) when it is present; an upstream `rate_limited` without a wait hint has no `Retry-After`, so back off briefly (for example 1 s, doubling) (RND-4822).","headers":{"Retry-After":{"schema":{"type":"integer"}},"X-RateLimit-Limit":{"schema":{"type":"integer"}},"X-RateLimit-Remaining":{"schema":{"type":"integer"}},"X-RateLimit-Reset":{"schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","description":"Error body returned by every API error (same shape as `ErrorEnvelope`). Branch on `error.code`, not on `message`.","required":["status","error"],"properties":{"status":{"type":"integer","description":"HTTP status, repeated in the body.","example":404,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable code (e.g. `market_not_found`, `event_not_found`, `invalid_limit`).","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"Request trace id; quote it to support. May be absent.","uniqueKey":"error.trace_id","typeLabel":"string"},"retryAfterSec":{"type":"integer","description":"Seconds to wait before retrying, when the server says so (also sent as the `Retry-After` header).","uniqueKey":"error.retryAfterSec","typeLabel":"integer"},"retryable":{"type":"boolean","description":"Whether the same request may be sent again as it is. Absent when the server does not say.","uniqueKey":"error.retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra structured context thrown with the error, e.g. `slug`, `allowed`, `auditId`.","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":404,"error":{"code":"\u003cstring>","message":"\u003cstring>","trace_id":"\u003cstring>","retryAfterSec":123,"retryable":true,"details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"3966d515-e413-4c3f-9a12-a3336f29529a":{"description":"`shard_owner_unavailable` — the exchange node that serves this account is restarting or being taken over and did not accept the request. Nothing was recorded and no funds moved; send the same request again after `Retry-After` (`retryAfterSec`, 2 seconds). No id was attempted. The platform has already re-sent the batch for up to about 6 seconds before answering this.\n\n`exchange_unavailable` / `exchange_transport_error` — the exchange failed while handling the batch, or the connection to it failed after the send; some ids may have been cancelled. Re-read the orders; re-sending the same batch is safe.","content":{"application/json":{"schema":{"type":"object","description":"Error body returned by every API error (same shape as `Error`). Branch on `error.code`, not on `message`.","required":["status","error"],"properties":{"status":{"type":"integer","description":"HTTP status, repeated in the body.","example":400,"isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable code.","example":"bad_request","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"trace_id":{"type":"string","description":"Request trace id; quote it to support. May be absent.","uniqueKey":"error.trace_id","typeLabel":"string"},"retryAfterSec":{"type":"integer","description":"Seconds to wait before retrying, when the server says so (also sent as the `Retry-After` header).","uniqueKey":"error.retryAfterSec","typeLabel":"integer"},"retryable":{"type":"boolean","description":"Whether the same request may be sent again as it is. Absent when the server does not say.","uniqueKey":"error.retryable","typeLabel":"boolean"},"details":{"type":"object","additionalProperties":true,"description":"Extra structured context thrown with the error.","uniqueKey":"error.details","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":400,"error":{"code":"bad_request","message":"\u003cstring>","trace_id":"\u003cstring>","retryAfterSec":123,"retryable":true,"details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"6aea2d02-1e6c-4ed1-989f-eb2e4f5dafca":{"ApiKey":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Partner / integrator key — format `ps_live_\u003ckeyId>_\u003csecret>`. Partner keys are issued by PredictStreet; a user can also create keys bound to their own wallet from their account settings in the web app. Never ship to a browser. `multi_wallet` partners must additionally send `X-User-Wallet: 0x\u003c40-hex>` on every authenticated request to declare the acting wallet. See the [API keys guide](/auth/api-keys) for scope taxonomy, partner kinds, rate limits, and rotation procedure.","scopes":["orders:write"],"schemeName":"ApiKey"}}},"servers":{"d5e3047c-068c-42db-8437-4950aef33f8b":{"url":"https://core-api.adipredictstreet.com","description":"Production — replace with the API host issued at partner onboarding."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"Partner / integrator key — format `ps_live_\u003ckeyId>_\u003csecret>`. Partner keys are issued by PredictStreet; a user can also create keys bound to their own wallet from their account settings in the web app. Never ship to a browser. `multi_wallet` partners must additionally send `X-User-Wallet: 0x\u003c40-hex>` on every authenticated request to declare the acting wallet. See the [API keys guide](/auth/api-keys) for scope taxonomy, partner kinds, rate limits, and rotation procedure.","scopes":["orders:write"],"schemeName":"ApiKey"},"schema":{"title":"X-Api-Key","type":"string","description":"Partner / integrator key — format `ps_live_\u003ckeyId>_\u003csecret>`. Partner keys are issued by PredictStreet; a user can also create keys bound to their own wallet from their account settings in the web app. Never ship to a browser. `multi_wallet` partners must additionally send `X-User-Wallet: 0x\u003c40-hex>` on every authenticated request to declare the acting wallet. See the [API keys guide](/auth/api-keys) for scope taxonomy, partner kinds, rate limits, and rotation procedure.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"X-Api-Key"}],"title":"ApiKey"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"ideasoft","siteName":"ADI Predictstreet","title":"Cancel a batch of orders by id (max 100) - ADI Predictstreet","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-04T12:27:32.677Z","originalFileLocation":"api-reference/orders/cancel-a-batch-of-orders-by-id-max-100.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=\"Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under notCancelled (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error details carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in cancelled. Idempotent: re-cancelling a terminal order reports already_terminal. Rate limit (cancel-batch-wallet bucket, its own, not shared with cancel or cancel-all): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see Rate limits. No KYC / deposit-tier gating — cancellation is always permitted.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ADI Predictstreet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_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/ideasoft/T2TJrNWM5Wm-DXAw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cancel a batch of orders by id (max 100) - ADI Predictstreet\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under notCancelled (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error details carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in cancelled. Idempotent: re-cancelling a terminal order reports already_terminal. Rate limit (cancel-batch-wallet bucket, its own, not shared with cancel or cancel-all): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see Rate limits. No KYC / deposit-tier gating — cancellation is always permitted.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ADI Predictstreet\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ideasoft.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Cancel+a+batch+of+orders+by+id+%28max+100%29\u0026amp;description=Cancel+up+to+100+orders+by+id+in+one+request.+Each+id+is+resolved+against+the+authenticated+wallet%3B+ids+that+are+unknown%2C+malformed+%28non-UUID+non-empty+strings%3B\u0026amp;theme=bd21456dccaef7fe76d77282\u0026amp;signature=b6b56bb53cfa5184c0a217fedfe5bd6fe9be99e28125823542a7e905e0ae6488\">\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=\"Cancel a batch of orders by id (max 100) - ADI Predictstreet\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under notCancelled (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error details carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in cancelled. Idempotent: re-cancelling a terminal order reports already_terminal. Rate limit (cancel-batch-wallet bucket, its own, not shared with cancel or cancel-all): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see Rate limits. No KYC / deposit-tier gating — cancellation is always permitted.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ideasoft.mintlify.site/_mintlify/api/og/v2?division=Orders\u0026amp;title=Cancel+a+batch+of+orders+by+id+%28max+100%29\u0026amp;description=Cancel+up+to+100+orders+by+id+in+one+request.+Each+id+is+resolved+against+the+authenticated+wallet%3B+ids+that+are+unknown%2C+malformed+%28non-UUID+non-empty+strings%3B\u0026amp;theme=bd21456dccaef7fe76d77282\u0026amp;signature=b6b56bb53cfa5184c0a217fedfe5bd6fe9be99e28125823542a7e905e0ae6488\">\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/ideasoft/T2TJrNWM5Wm-DXAw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ADI Predictstreet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#013CFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.adipredictstreet.com/#organization\",\"name\":\"ADI Predictstreet\",\"url\":\"https://docs.adipredictstreet.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ideasoft/m6stBITx7YzlhMtC/logo/light.svg?fit=max\u0026auto=format\u0026n=m6stBITx7YzlhMtC\u0026q=85\u0026s=67eed2cbc5343eb0cb47d0945877af3f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.adipredictstreet.com#website\",\"name\":\"ADI Predictstreet\",\"url\":\"https://docs.adipredictstreet.com\",\"publisher\":{\"@id\":\"https://docs.adipredictstreet.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100#webpage\",\"url\":\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100\",\"name\":\"Cancel a batch of orders by id (max 100)\",\"description\":\"Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under notCancelled (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error details carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in cancelled. Idempotent: re-cancelling a terminal order reports already_terminal. Rate limit (cancel-batch-wallet bucket, its own, not shared with cancel or cancel-all): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see Rate limits. No KYC / deposit-tier gating — cancellation is always permitted.\",\"dateModified\":\"2026-12-04T12:27:32.677Z\",\"isPartOf\":{\"@id\":\"https://docs.adipredictstreet.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.adipredictstreet.com/api-reference/global-activity/recent-trades-across-the-whole-platform-taker-view-enriched\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orders\",\"item\":\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-single-order\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cancel a batch of orders by id (max 100)\",\"item\":\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100#apireference\",\"headline\":\"Cancel a batch of orders by id (max 100)\",\"name\":\"Cancel a batch of orders by id (max 100)\",\"description\":\"Cancel up to 100 orders by id in one request. Each id is resolved against the authenticated wallet; ids that are unknown, malformed (non-UUID non-empty strings; RND-2440), belong to another wallet, or are already terminal come back under notCancelled (no existence leak). Duplicate ids, including the same UUID in another hex case, are de-duplicated: the first occurrence is processed and keys the response maps in the casing it was sent in; error details carry the lowercase UUID (RND-4823). One round-trip replaces N single cancels. Not atomic: every id is decided and reported on its own, so one id failing neither aborts the request nor undoes the ids already in cancelled. Idempotent: re-cancelling a terminal order reports already_terminal. Rate limit (cancel-batch-wallet bucket, its own, not shared with cancel or cancel-all): 15 req/sec per wallet in production (token bucket; RND-5251, it was 5; code default also 15/s), see Rate limits. No KYC / deposit-tier gating — cancellation is always permitted.\",\"url\":\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100\",\"mainEntityOfPage\":{\"@id\":\"https://docs.adipredictstreet.com/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100#webpage\"},\"dateModified\":\"2026-12-04T12:27:32.677Z\",\"publisher\":{\"@id\":\"https://docs.adipredictstreet.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.adipredictstreet.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ADI Predictstreet\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ADI Predictstreet\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100.md","siteName":"ADI Predictstreet","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Introduction","pages":[{"title":"API Reference","href":"/api-reference/introduction"},{"title":"Pagination","href":"/api-reference/pagination"}]},{"group":"Endpoints","pages":[{"group":"Global Activity","pages":[{"title":"Recent trades across the whole platform (taker view, enriched)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/activity/recent","href":"/api-reference/global-activity/recent-trades-across-the-whole-platform-taker-view-enriched"}]},{"group":"Challenges","pages":[{"title":"Global dispute feed across all markets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/challenges","href":"/api-reference/challenges/global-dispute-feed-across-all-markets"},{"title":"Optimistic-oracle challenges for a market","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/challenges","href":"/api-reference/challenges/optimistic-oracle-challenges-for-a-market"},{"title":"Fetch a single challenge by id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/challenges/{id}","href":"/api-reference/challenges/fetch-a-single-challenge-by-id"}]},{"group":"crypto-long-series","pages":[{"title":"List a long-crypto series' periods (the `Past` disclosure)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/crypto-long-series/{id}/periods","href":"/api-reference/crypto-long-series/list-a-long-crypto-series-periods-the-`past`-disclosure"}]},{"group":"Crypto","pages":[{"title":"List a crypto series' window markets, bucketed by state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/crypto-series/{id}/windows","href":"/api-reference/crypto/list-a-crypto-series-window-markets-bucketed-by-state"},{"title":"Underlying crypto price curve","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/crypto-price-history","href":"/api-reference/crypto/underlying-crypto-price-curve"}]},{"group":"Deposits","pages":[{"title":"Submit a signed permit for gasless deposit relay","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/deposits/relay","href":"/api-reference/deposits/submit-a-signed-permit-for-gasless-deposit-relay"},{"title":"Poll status of a relay (gasless) deposit","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/deposits/relay/{auditId}","href":"/api-reference/deposits/poll-status-of-a-relay-gasless-deposit"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/events","href":"/api-reference/events/list-events"},{"title":"Top live (or top trending) event — optionally narrowed by FIFA code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/events/featured","href":"/api-reference/events/top-live-or-top-trending-event-—-optionally-narrowed-by-fifa-code"},{"title":"Aggregate event counters (sidebar tiles)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/events/stats","href":"/api-reference/events/aggregate-event-counters-sidebar-tiles"},{"title":"Fetch a single event by slug","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/events/{slug}","href":"/api-reference/events/fetch-a-single-event-by-slug"}]},{"group":"Leaderboard","pages":[{"title":"Wallet leaderboard ranked by realised PnL or volume","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/leaderboard","href":"/api-reference/leaderboard/wallet-leaderboard-ranked-by-realised-pnl-or-volume"}]},{"group":"Markets","pages":[{"title":"List public markets (filtered to currently-tradeable statuses)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets","href":"/api-reference/markets/list-public-markets-filtered-to-currently-tradeable-statuses"},{"title":"Fetch a single market by CTF conditionId","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/by-condition/{id}","href":"/api-reference/markets/fetch-a-single-market-by-ctf-conditionid"},{"title":"Fetch a single market by an on-chain outcome token id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/by-token/{id}","href":"/api-reference/markets/fetch-a-single-market-by-an-on-chain-outcome-token-id"},{"title":"List markets currently eligible for the first user dispute","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/disputable","href":"/api-reference/markets/list-markets-currently-eligible-for-the-first-user-dispute"},{"title":"Batch live clock + score for N market symbols","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/live","href":"/api-reference/markets/batch-live-clock-+-score-for-n-market-symbols"},{"title":"Market detail (by slug)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{slug}","href":"/api-reference/markets/market-detail-by-slug"},{"title":"Live clock + score for a single market","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/live","href":"/api-reference/markets/live-clock-+-score-for-a-single-market"},{"title":"OHLC candles","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/ohlc","href":"/api-reference/markets/ohlc-candles"},{"title":"Orderbook snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/orderbook","href":"/api-reference/markets/orderbook-snapshot"},{"title":"Time-series price points for the chart UI","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/price-history","href":"/api-reference/markets/time-series-price-points-for-the-chart-ui"},{"title":"List top traders on a market","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/traders","href":"/api-reference/markets/list-top-traders-on-a-market"},{"title":"Get apimarkets tradersby outcome","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/traders/by-outcome","href":"/api-reference/markets/get-apimarkets-tradersby-outcome"},{"title":"Public trade tape","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/trades","href":"/api-reference/markets/public-trade-tape"},{"title":"Indicative executable price for a size","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/markets/{symbol}/executable-price","href":"/api-reference/markets/indicative-executable-price-for-a-size"}]},{"group":"Portfolio","pages":[{"title":"Current auto-redeem opt-out state","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/auto-redeem","href":"/api-reference/portfolio/current-auto-redeem-opt-out-state"},{"title":"Toggle auto-redeem opt-in/opt-out","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /api/me/auto-redeem","href":"/api-reference/portfolio/toggle-auto-redeem-opt-inopt-out"},{"title":"Balance-event history for the authenticated wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/balance-events","href":"/api-reference/portfolio/balance-event-history-for-the-authenticated-wallet"},{"title":"Balances per token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/balances","href":"/api-reference/portfolio/balances-per-token"},{"title":"Per-EOA rolling deposit caps + current usage + KYC tier","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/deposit-limits","href":"/api-reference/portfolio/per-eoa-rolling-deposit-caps-+-current-usage-+-kyc-tier"},{"title":"Current fee tier","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/fee-tier","href":"/api-reference/portfolio/current-fee-tier"},{"title":"Fee ledger","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/fees","href":"/api-reference/portfolio/fee-ledger"},{"title":"Aggregate portfolio view","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/portfolio","href":"/api-reference/portfolio/aggregate-portfolio-view"},{"title":"Wallet portfolio overview — category breakdown + bucketed P/L series","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/portfolio/overview","href":"/api-reference/portfolio/wallet-portfolio-overview-—-category-breakdown-+-bucketed-pl-series"},{"title":"Open positions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/positions","href":"/api-reference/portfolio/open-positions"},{"title":"CTF position split/merge history for the authenticated wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/splits-merges","href":"/api-reference/portfolio/ctf-position-splitmerge-history-for-the-authenticated-wallet"},{"title":"Releasable (unsuccessful) split/merge ops for the wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/splits-merges/unlockable","href":"/api-reference/portfolio/releasable-unsuccessful-splitmerge-ops-for-the-wallet"},{"title":"Trade history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/trades","href":"/api-reference/portfolio/trade-history"},{"title":"Vault address + deployment status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/vault","href":"/api-reference/portfolio/vault-address-+-deployment-status"},{"title":"Create the caller's vault if it does not exist yet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/vault","href":"/api-reference/portfolio/create-the-callers-vault-if-it-does-not-exist-yet"},{"title":"Emergency-withdraw timelock status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/vault/emergency","href":"/api-reference/portfolio/emergency-withdraw-timelock-status"},{"title":"Move the caller to the generation-2 vault (vault roadmap part 2)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/vault/upgrade","href":"/api-reference/portfolio/move-the-caller-to-the-generation-2-vault-vault-roadmap-part-2"},{"title":"Start moving free USDC from the generation-1 vault to the generation-2 vault","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/vault/upgrade/transfer","href":"/api-reference/portfolio/start-moving-free-usdc-from-the-generation-1-vault-to-the-generation-2-vault"},{"title":"A transfer of the wallet (poll until deposit_confirmed, refunded or failed)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/vault/upgrade/transfer/{id}","href":"/api-reference/portfolio/a-transfer-of-the-wallet-poll-until-deposit_confirmed-refunded-or-failed"},{"title":"Submit the signatures of a transfer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/vault/upgrade/transfer/{id}/signature","href":"/api-reference/portfolio/submit-the-signatures-of-a-transfer"},{"title":"Status of a stray-USDC return (RND-2019)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/vault/stray-usdc/return/{jobId}","href":"/api-reference/portfolio/status-of-a-stray-usdc-return-rnd-2019"},{"title":"Return USDC sent to the vault by a plain transfer to the owner wallet (RND-2019)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/vault/stray-usdc/return","href":"/api-reference/portfolio/return-usdc-sent-to-the-vault-by-a-plain-transfer-to-the-owner-wallet-rnd-2019"}]},{"group":"User","pages":[{"title":"Broadcast a co-signed split/merge/convert without paying gas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/positions/op-submit","href":"/api-reference/user/broadcast-a-co-signed-splitmergeconvert-without-paying-gas"},{"title":"Poll the status of a gasless split/merge/convert","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/positions/op-submit/{jobId}","href":"/api-reference/user/poll-the-status-of-a-gasless-splitmergeconvert"},{"title":"Claim a settled position without paying gas","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/positions/redeem","href":"/api-reference/user/claim-a-settled-position-without-paying-gas"},{"title":"Poll the status of a gasless redeem","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/positions/redeem/{jobId}","href":"/api-reference/user/poll-the-status-of-a-gasless-redeem"},{"title":"Co-sign a redeem (not available yet)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/redemptions","href":"/api-reference/user/co-sign-a-redeem-not-available-yet"}]},{"group":"Vault","pages":[{"title":"Release an EXPIRED split / merge lock after verifying on-chain absence","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/splits-merges/{opId}/unlock","href":"/api-reference/vault/release-an-expired-split-merge-lock-after-verifying-on-chain-absence"},{"title":"Co-sign a NegRisk position convert (NO-basket → USDC)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/vault/convert-signature","href":"/api-reference/vault/co-sign-a-negrisk-position-convert-no-basket-→-usdc"},{"title":"Get backend co-signature for vault.mergePositions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/vault/merge-signature","href":"/api-reference/vault/get-backend-co-signature-for-vaultmergepositions"},{"title":"Get backend co-signature for vault.splitPosition","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/vault/split-signature","href":"/api-reference/vault/get-backend-co-signature-for-vaultsplitposition"}]},{"group":"Withdrawal Security","pages":[{"title":"Confirm 2FA setup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/withdrawal-security/totp/confirm","href":"/api-reference/withdrawal-security/confirm-2fa-setup"},{"title":"Disable 2FA","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/withdrawal-security/totp/disable","href":"/api-reference/withdrawal-security/disable-2fa"},{"title":"Begin 2FA setup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/withdrawal-security/totp/setup","href":"/api-reference/withdrawal-security/begin-2fa-setup"},{"title":"2FA status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/withdrawal-security/totp/status","href":"/api-reference/withdrawal-security/2fa-status"},{"title":"List whitelisted withdrawal addresses","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/withdrawal-security/whitelist","href":"/api-reference/withdrawal-security/list-whitelisted-withdrawal-addresses"},{"title":"Add a whitelisted withdrawal address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/withdrawal-security/whitelist","href":"/api-reference/withdrawal-security/add-a-whitelisted-withdrawal-address"},{"title":"Remove a whitelist entry","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /api/me/withdrawal-security/whitelist/{id}","href":"/api-reference/withdrawal-security/remove-a-whitelist-entry"}]},{"group":"Withdrawals","pages":[{"title":"Paginated withdrawal history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/withdrawals","href":"/api-reference/withdrawals/paginated-withdrawal-history"},{"title":"List cleared deposit sources","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/withdrawals/deposit-sources","href":"/api-reference/withdrawals/list-cleared-deposit-sources"},{"title":"Estimate the fee for a prospective withdrawal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/withdrawals/fee","href":"/api-reference/withdrawals/estimate-the-fee-for-a-prospective-withdrawal"},{"title":"Count of withdrawals still in flight for the authenticated wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/withdrawals/pending-count","href":"/api-reference/withdrawals/count-of-withdrawals-still-in-flight-for-the-authenticated-wallet"},{"title":"Fetch a single withdrawal by id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/withdrawals/{id}","href":"/api-reference/withdrawals/fetch-a-single-withdrawal-by-id"},{"title":"Cancel a pending withdrawal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/me/withdrawals/{id}/cancel","href":"/api-reference/withdrawals/cancel-a-pending-withdrawal"},{"title":"Status transition history for a single withdrawal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/me/withdrawals/{id}/events","href":"/api-reference/withdrawals/status-transition-history-for-a-single-withdrawal"},{"title":"Initiate a withdrawal","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/withdrawals/request","href":"/api-reference/withdrawals/initiate-a-withdrawal"}]},{"group":"Orders","pages":[{"title":"Cancel a single order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/orders/cancel","href":"/api-reference/orders/cancel-a-single-order"},{"title":"Cancel all open orders","description":"Cancels every open order of the authenticated wallet across all markets, sides and outcomes (including live resting RFQ maker quotes; non-cancellable RFQ orders report `termination_refused` in `notCancelled`, RND-1842). Takes no filters: a request carrying `marketId`, `side` or `outcome` (in the body or the query string) is refused with `400 cancel_all_takes_no_scope` and nothing is attempted. Works from a snapshot of the orders open when the request arrives, so an order placed while the cancel runs may not be included — stop quoting before you call it. One call may stop before it has attempted the whole snapshot: every id it did not reach comes back in `notCancelled` as `not_attempted`, so repeat the call until none does. Response: `{ cancelled: string[], notCancelled: { orderId: reason }, remainingQty: { orderId: qty } }`; read `cancelled.length` for the count. `409 shard_owned_elsewhere` means nothing was attempted — repeat the call. `503 cancel_all_unknown` means the outcome was lost and some orders may already be cancelled: stop placing orders, read your open orders, and do not re-issue cancel-all automatically (a new call is a new sweep over a fresh snapshot). Rate limited at 5 req/sec per wallet — intended for operational wind-down, not per-order cleanup. No KYC / deposit-tier gate, but the call is refused for paused, banned or geo-restricted wallets; use `POST /api/orders/cancel-batch` to unwind in those states.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/orders/cancel-all","href":"/api-reference/orders/cancel-all-open-orders"},{"title":"Cancel a batch of orders by id (max 100)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/orders/cancel-batch","href":"/api-reference/orders/cancel-a-batch-of-orders-by-id-max-100"},{"title":"Order history","description":"Paginated newest first by creation time: up to `limit` orders per page (default 100, capped at 200). While `nextCursor` is non-null, pass it back as `cursor` for the next (older) page.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/orders/history","href":"/api-reference/orders/order-history"},{"title":"Find an order by clientOrderId or orderHash","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/orders/lookup","href":"/api-reference/orders/find-an-order-by-clientorderid-or-orderhash"},{"title":"List open orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/orders/open","href":"/api-reference/orders/list-open-orders"},{"title":"Place a signed order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/orders/place","href":"/api-reference/orders/place-a-signed-order"},{"title":"Place a batch of signed orders (max 10)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/orders/place-batch","href":"/api-reference/orders/place-a-batch-of-signed-orders-max-10"},{"title":"Order detail","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/orders/{id}","href":"/api-reference/orders/order-detail"},{"title":"Per-leg fee totals for one order (USDC + OUTCOME_TOKENS)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/orders/{id}/fees-summary","href":"/api-reference/orders/per-leg-fee-totals-for-one-order-usdc-+-outcome_tokens"},{"title":"Fills for a specific order","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/orders/{id}/fills","href":"/api-reference/orders/fills-for-a-specific-order"}]},{"group":"Platform","pages":[{"title":"Get contract addresses","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/platform/contracts","href":"/api-reference/platform/get-contract-addresses"},{"title":"Get platform fee configuration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/platform/fee-config","href":"/api-reference/platform/get-platform-fee-configuration"},{"title":"List maintenance windows","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/platform/maintenance","href":"/api-reference/platform/list-maintenance-windows"},{"title":"List active platform notices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/platform/notices","href":"/api-reference/platform/list-active-platform-notices"},{"title":"Get platform status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/platform/status","href":"/api-reference/platform/get-platform-status"}]},{"group":"Search","pages":[{"title":"Global search preview — top results across users and events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/search","href":"/api-reference/search/global-search-preview-—-top-results-across-users-and-events"},{"title":"Paginated event search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/search/events","href":"/api-reference/search/paginated-event-search"},{"title":"Paginated user search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/search/users","href":"/api-reference/search/paginated-user-search"},{"title":"Popular searches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/search/popular","href":"/api-reference/search/popular-searches"}]},{"group":"Tags","pages":[{"title":"List active tags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/tags","href":"/api-reference/tags/list-active-tags"},{"title":"Get a single public tag by slug","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/tags/{slug}","href":"/api-reference/tags/get-a-single-public-tag-by-slug"}]},{"group":"Upcoming","pages":[{"title":"Curated upcoming-events calendar entries (concise)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/upcoming","href":"/api-reference/upcoming/curated-upcoming-events-calendar-entries-concise"},{"title":"Events behind one upcoming entry, standard card shape","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/upcoming/{id}/events","href":"/api-reference/upcoming/events-behind-one-upcoming-entry-standard-card-shape"}]},{"group":"Public Profile","pages":[{"title":"Public profile resolved STRICTLY by vault address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/users/by-vault/{vault}","href":"/api-reference/public-profile/public-profile-resolved-strictly-by-vault-address"},{"title":"Public activity resolved strictly by vault address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/users/by-vault/{vault}/activity","href":"/api-reference/public-profile/public-activity-resolved-strictly-by-vault-address"},{"title":"Public portfolio overview resolved strictly by vault address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/users/by-vault/{vault}/portfolio/overview","href":"/api-reference/public-profile/public-portfolio-overview-resolved-strictly-by-vault-address"},{"title":"Public positions resolved strictly by vault address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/users/by-vault/{vault}/positions","href":"/api-reference/public-profile/public-positions-resolved-strictly-by-vault-address"},{"title":"Public profile of an arbitrary user (keyed by wallet address)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/users/{address}","href":"/api-reference/public-profile/public-profile-of-an-arbitrary-user-keyed-by-wallet-address"},{"title":"Public activity for the user (trades + position split/merge)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/users/{address}/activity","href":"/api-reference/public-profile/public-activity-for-the-user-trades-+-position-splitmerge"},{"title":"Public portfolio overview — donut breakdown + whole-wallet P/L series","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/users/{address}/portfolio/overview","href":"/api-reference/public-profile/public-portfolio-overview-—-donut-breakdown-+-whole-wallet-pl-series"},{"title":"Public list of the user's positions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/users/{address}/positions","href":"/api-reference/public-profile/public-list-of-the-users-positions"}]},{"group":"partner","pages":[{"title":"Per-MM KPI-bucket feed (keyset-paginated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/partner/mm-kpis","href":"/api-reference/partner/per-mm-kpi-bucket-feed-keyset-paginated"},{"title":"Market-maker id-resolution directory","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/partner/mm-kpis/market-makers","href":"/api-reference/partner/market-maker-id-resolution-directory"},{"title":"Window-aggregate cross-check (counts, volumes, fees, fingerprint)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/partner/reconciliation/snapshot","href":"/api-reference/partner/window-aggregate-cross-check-counts-volumes-fees-fingerprint"},{"title":"Cross-wallet executed-trade feed (incremental, cursor-paginated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/partner/trades","href":"/api-reference/partner/cross-wallet-executed-trade-feed-incremental-cursor-paginated"}]},{"group":"Verticals","pages":[{"title":"Nav sidebar summary — verticals → competitions → event and market counts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/verticals","href":"/api-reference/verticals/nav-sidebar-summary-—-verticals-→-competitions-→-event-and-market-counts"}]}]},{"group":"WebSocket","pages":[{"title":"WebSocket overview","href":"/api-reference/websocket/overview"},{"title":"WSS /ws/market","href":"/api-reference/websocket/market"},{"title":"WSS /ws/user","href":"/api-reference/websocket/user"},{"title":"Commands","href":"/api-reference/websocket/commands"},{"title":"Server events","href":"/api-reference/websocket/events"}]}]}]},"basePath":"","title":"Cancel a batch of orders by id (max 100) - ADI Predictstreet","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","SectionHeading-S4Jc_qPe.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js","Markdown-CexXCNoj.js","AssistantPageLink-C2AZnMAs.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}