Send your key as a Bearer token on every request: Authorization: Bearer csb_pub_.... Generate keys in your CSBoard profile. Calls made with a key are metered only by that key's own limits — there is no per-IP limit on top — and every answer carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and X-RateLimit-Bucket for the bucket the call spent. See Rate limits.
路径参数
id
string
必填
CSBoard order id of the order to cancel.
响应
Cancelled and refunded to your balance. Also the answer for an order that was already cancelled.
order_id
string
必填
cancelled
boolean
必填
refunded
boolean
必填
true: the money is already back on your balance. false: the cancel is placed and the refund lands with the order's next update.
detail
string
Present when the refund is still on its way (202).
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"CSBoard API","colors":{"primary":"#2563eb","light":"#60a5fa","dark":"#172554"},"favicon":"https://mintcdn.com/csboard/LyXJsSfteiiBK7GJ/favicon.svg?fit=max\u0026auto=format\u0026n=LyXJsSfteiiBK7GJ\u0026q=85\u0026s=29fd93b872ec9ce02b5ca0a5aecc8d03","appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://csboard.com/profile?tab=api","label":"Get a key"}],"primary":{"type":"button","label":"csboard.com","href":"https://csboard.com"}},"footer":{"socials":{"website":"https://csboard.com"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"ru","href":"ru/introduction"},{"language":"zh-Hans","href":"zh-Hans/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"csboard","hasAudioNarration":false,"actualSubdomain":"csboard","customDomains":["api.csboard.com"],"gitSource":{"type":"github","owner":"kizilovv","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aed460334fe7746877e0ec2","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"en","tag":"API Reference","count":42},{"language":"ru","tag":"Справочник API","count":22},{"language":"zh-Hans","tag":"API 参考","count":22},{"language":"en","tag":"Market Data","count":10},{"language":"en","tag":"Guides","count":10},{"language":"en","tag":"Webhooks","count":8},{"language":"ru","tag":"Рыночные данные","count":8},{"language":"ru","tag":"Руководства","count":8},{"language":"zh-Hans","tag":"市场数据","count":8},{"language":"zh-Hans","tag":"指南","count":8},{"language":"en","tag":"Trading","count":7},{"language":"ru","tag":"Торговля","count":7},{"language":"zh-Hans","tag":"交易","count":7},{"language":"en","tag":"Instant Sell","count":6},{"language":"en","tag":"Walkthroughs","count":6},{"language":"en","tag":"P2P","count":5},{"language":"en","tag":"Account","count":5},{"language":"ru","tag":"P2P","count":5},{"language":"ru","tag":"Инструкции","count":5},{"language":"zh-Hans","tag":"P2P","count":5},{"language":"zh-Hans","tag":"教程","count":5},{"language":"en","tag":"Get Started","count":4},{"language":"ru","tag":"Начало работы","count":3},{"language":"zh-Hans","tag":"快速开始","count":3},{"language":"ru","tag":"Аккаунт","count":1},{"language":"ru","tag":"Статус","count":1},{"language":"ru","tag":"Журнал изменений","count":1},{"language":"zh-Hans","tag":"账户","count":1},{"language":"zh-Hans","tag":"状态","count":1},{"language":"zh-Hans","tag":"更新日志","count":1}]},"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":"workos-onboarding","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"zh-Hans/api-reference/post-orders-cancel","slug":"/zh-Hans/api-reference/post-orders-cancel","pageMetadata":{"title":"POST /v1/orders/:id/cancel — 取消尚未交付的订单","sidebarTitle":"POST /orders/:id/cancel","description":"取消尚无人发货的订单,款项退回您的余额。人工交付的订单在购买 31 分钟后可取消,其他订单在 15 分钟后可取消。","openapi":"POST /orders/{id}/cancel","href":"/zh-Hans/api-reference/post-orders-cancel"},"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: \"取消尚无人发货的订单,款项退回您的余额。人工交付的订单在购买 31 分钟后可取消,其他订单在 15 分钟后可取消。\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`部分订单由人工交付:Steam 交易由真人(或较慢的处理台)发送,最长可能需要 12 小时。此类订单在 `,_jsx(_components.code,{children:`GET /v1/orders`}),` 和 `,_jsx(_components.code,{children:`GET /v1/orders/{id}`}),` 中显示为 `,_jsx(_components.code,{children:`delivery_type: \"manual\"`}),`,可能会长时间停留在 `,_jsx(_components.code,{children:`delivering`}),` 状态且没有交易报价。`,_jsx(_components.code,{children:`delivery_deadline_at`}),` 表示卖家的交付截止时间。如果卖家未能按时交付,订单会被自动取消并退款。`]}),`\n`,_jsx(_components.p,{children:`如果您不想再等,可以自行取消订单。无需请求体。以下情况可以取消:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`人工交付的订单`}),`:购买 31 分钟后卖家仍未发送任何内容。`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`持有中的订单`}),`:在解除封禁之前,且货源允许取消。`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`其他任何订单`}),`:购买 15 分钟后仍未交付,没有交易报价,且上游没有正在进行的操作。`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`玩家(P2P)挂单无法通过此接口取消。如果卖家错过 `,_jsx(_components.code,{children:`delivery_deadline_at`}),`,该订单会自动关闭并退款。`]}),`\n`,_jsx(Heading,{level:`2`,id:`推荐流程`,children:`推荐流程`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`使用 `,_jsx(_components.code,{children:`POST /v1/orders`}),` 或 `,_jsx(_components.code,{children:`POST /v1/market/buy`}),` 下单购买。`]}),`\n`,_jsxs(_components.li,{children:[`轮询 `,_jsx(_components.code,{children:`GET /v1/orders/{id}`}),`(或监听 `,_jsx(_components.code,{children:`order.updated`}),` 网络钩子),查看 `,_jsx(_components.code,{children:`delivery_type`}),` 和 `,_jsx(_components.code,{children:`delivery_deadline_at`}),`。`]}),`\n`,_jsxs(_components.li,{children:[`如果 `,_jsx(_components.code,{children:`manual`}),` 订单仍没有交易报价且您不再需要它,在 31 分钟后调用 `,_jsx(_components.code,{children:`POST /v1/orders/{id}/cancel`}),`。`]}),`\n`,_jsxs(_components.li,{children:[`收到 `,_jsx(_components.code,{children:`425 too_early`}),` 时,在 `,_jsx(_components.code,{children:`retry_after_sec`}),` 秒后重试。收到 `,_jsx(_components.code,{children:`200`}),` 时,款项已退回余额。收到 `,_jsx(_components.code,{children:`202`}),` 时,款项会在几分钟内随订单的下一次更新到账。`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`响应一览`,children:`响应一览`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`状态`}),_jsx(_components.th,{children:`含义`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`200`}),` `,_jsx(_components.code,{children:`refunded: true`})]}),_jsx(_components.td,{children:`已取消并退款到您的余额。对已取消的订单调用也返回相同结果。`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`202`}),` `,_jsx(_components.code,{children:`refunded: false`})]}),_jsxs(_components.td,{children:[`取消已提交。退款会在几分钟内随订单的下一次更新到账(网络钩子或 `,_jsx(_components.code,{children:`GET /v1/orders/{id}`}),`)。`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`425 too_early`})}),_jsxs(_components.td,{children:[`尚未开放取消(人工交付为 31 分钟,其他为 15 分钟)。请在返回的 `,_jsx(_components.code,{children:`retry_after_sec`}),` 之后重试。`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`409 offer_sent`})}),_jsx(_components.td,{children:`Steam 交易报价已发出。请在 Steam 中接受或拒绝。`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`409 in_progress`})}),_jsx(_components.td,{children:`交付或取消已在进行中。如果交付失败,订单会自动退款。`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`409 not_cancellable`})}),_jsx(_components.td,{children:`订单已无法取消:已交付、已结束、属于 P2P 挂单或不符合条件。`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`429 cancel_limit_reached`})}),_jsx(_components.td,{children:`近期取消次数过多。请稍后再试。`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`503 cancel_unavailable`})}),_jsx(_components.td,{children:`暂时无法在上游核实订单。未做任何更改,请稍后重试。`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`404 order_not_found`})}),_jsx(_components.td,{children:`此账户下不存在该订单。`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`取消是幂等的:对已取消的订单再次调用会返回相同的 `,_jsx(_components.code,{children:`200`}),`,绝不会重复退款。网络超时或 `,_jsx(_components.code,{children:`503`}),` 后重试是安全的。`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"POST /v1/orders/:id/cancel — 取消尚未交付的订单","sidebarTitle":"POST /orders/:id/cancel","description":"取消尚无人发货的订单,款项退回您的余额。人工交付的订单在购买 31 分钟后可取消,其他订单在 15 分钟后可取消。","openapi":"POST /orders/{id}/cancel","href":"/zh-Hans/api-reference/post-orders-cancel"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"推荐流程","slug":"推荐流程","depth":2,"children":[]},{"title":"响应一览","slug":"响应一览","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Trading"],"summary":"Cancel an undelivered order","description":"取消尚无人发货的订单,款项退回您的余额。人工交付的订单在购买 31 分钟后可取消,其他订单在 15 分钟后可取消。","operationId":"cancelOrder","parameters":["d26e1131-5227-42fc-9ada-caff1f1faec4"],"responses":{"200":"2d2558f0-d43b-412a-a5de-79b4740c48c0","202":"e75e50f1-524f-4893-a7d0-63becbcde7aa","401":"4743ccf5-16f8-4438-830a-e084bbd0d4e4","404":"ccc41f8e-4793-404c-9d49-6d4ff7bf9145","409":"8f35717d-2859-472d-86cf-521c85fe7a5c","425":"0b556fee-a6ee-46d9-b64f-0417bcfd0f1e","429":"2fb19253-d3a2-4930-94ae-ed3a0bc68cbf","503":"d44e1980-4199-4295-8592-096c077c798e"},"method":"post","type":"path","servers":["0e703a7c-bb72-4382-a5c4-7af713801e30"],"security":["06dc2d5d-3307-4e9d-932f-2c2f29b1a6df"],"path":"/orders/{id}/cancel","baseUrlOptions":["https://csboard.com/v1"],"title":"Cancel an undelivered order","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d26e1131-5227-42fc-9ada-caff1f1faec4":{"name":"id","in":"path","required":true,"description":"CSBoard order id of the order to cancel.","schema":{"type":"string","isRequired":true,"description":"CSBoard order id of the order to cancel.","uniqueKey":"","typeLabel":"string"}}},"responses":{"2d2558f0-d43b-412a-a5de-79b4740c48c0":{"description":"Cancelled and refunded to your balance. Also the answer for an order that was already cancelled.","content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"type":"string","isRequired":true,"uniqueKey":"order_id","typeLabel":"string"},"cancelled":{"type":"boolean","isRequired":true,"uniqueKey":"cancelled","typeLabel":"boolean"},"refunded":{"type":"boolean","description":"`true`: the money is already back on your balance. `false`: the cancel is placed and the refund lands with the order's next update.","isRequired":true,"uniqueKey":"refunded","typeLabel":"boolean"},"detail":{"type":"string","description":"Present when the refund is still on its way (`202`).","uniqueKey":"detail","typeLabel":"string"}},"required":["order_id","cancelled","refunded"],"uniqueKey":"","typeLabel":"object"},"example":{"order_id":"ord_01J9Z3K8Q2","cancelled":true,"refunded":true},"examples":{"Example":{"title":"Example","value":{"order_id":"ord_01J9Z3K8Q2","cancelled":true,"refunded":true}}},"exampleType":"examples"}},"exampleType":"examples"},"e75e50f1-524f-4893-a7d0-63becbcde7aa":{"description":"Cancel placed. The refund lands on your balance within minutes and shows up with the order's next update (`order.updated` webhook, `GET /orders/{id}`).","content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"type":"string","isRequired":true,"uniqueKey":"order_id","typeLabel":"string"},"cancelled":{"type":"boolean","isRequired":true,"uniqueKey":"cancelled","typeLabel":"boolean"},"refunded":{"type":"boolean","description":"`true`: the money is already back on your balance. `false`: the cancel is placed and the refund lands with the order's next update.","isRequired":true,"uniqueKey":"refunded","typeLabel":"boolean"},"detail":{"type":"string","description":"Present when the refund is still on its way (`202`).","uniqueKey":"detail","typeLabel":"string"}},"required":["order_id","cancelled","refunded"],"uniqueKey":"","typeLabel":"object"},"example":{"order_id":"ord_01J9Z3K8Q2","cancelled":true,"refunded":false,"detail":"Cancel placed; the refund lands on your balance within minutes."},"examples":{"Example":{"title":"Example","value":{"order_id":"ord_01J9Z3K8Q2","cancelled":true,"refunded":false,"detail":"Cancel placed; the refund lands on your balance within minutes."}}},"exampleType":"examples"}},"exampleType":"examples"},"4743ccf5-16f8-4438-830a-e084bbd0d4e4":{"description":"Missing or invalid API key (`missing_api_key` or `invalid_api_key`).","content":{"application/json":{"schema":{"type":"object","description":"All errors return { code, detail }. Some carry extra fields (e.g. price_moved adds current_total_usd, insufficient_balance adds required_usd/current_usd, item_unavailable adds unavailable_ids and, on CS2 buys, unknown_ids).","properties":{"code":{"type":"string","description":"Machine-readable error code, e.g. rate_limit_exceeded, trading_not_enabled, price_moved.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable explanation.","uniqueKey":"detail","typeLabel":"string"}},"required":["code"],"uniqueKey":"","typeLabel":"object"},"example":{"code":"missing_api_key","detail":"Provide your API key via `Authorization: Bearer csb_pub_…`. Generate one at https://csboard.com/profile?tab=api"},"examples":{"Example":{"title":"Example","value":{"code":"missing_api_key","detail":"Provide your API key via `Authorization: Bearer csb_pub_…`. Generate one at https://csboard.com/profile?tab=api"}}},"exampleType":"examples"}},"exampleType":"examples"},"ccc41f8e-4793-404c-9d49-6d4ff7bf9145":{"description":"No order with that id on this account.","content":{"application/json":{"schema":{"type":"object","description":"All errors return { code, detail }. Some carry extra fields (e.g. price_moved adds current_total_usd, insufficient_balance adds required_usd/current_usd, item_unavailable adds unavailable_ids and, on CS2 buys, unknown_ids).","properties":{"code":{"type":"string","description":"Machine-readable error code, e.g. rate_limit_exceeded, trading_not_enabled, price_moved.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable explanation.","uniqueKey":"detail","typeLabel":"string"}},"required":["code"],"uniqueKey":"","typeLabel":"object"},"example":{"code":"order_not_found","detail":"No such order on this account."},"examples":{"Example":{"title":"Example","value":{"code":"order_not_found","detail":"No such order on this account."}}},"exampleType":"examples"}},"exampleType":"examples"},"8f35717d-2859-472d-86cf-521c85fe7a5c":{"description":"The order cannot be cancelled. `offer_sent`: the Steam trade offer is already out — accept or decline it in Steam. `in_progress`: delivery or a cancel is already running; if delivery fails the order is refunded automatically. `not_cancellable`: the order is delivered, finished, a player's (P2P) lot, or not eligible.","content":{"application/json":{"schema":{"type":"object","description":"All errors return { code, detail }. Some carry extra fields (e.g. price_moved adds current_total_usd, insufficient_balance adds required_usd/current_usd, item_unavailable adds unavailable_ids and, on CS2 buys, unknown_ids).","properties":{"code":{"type":"string","description":"Machine-readable error code, e.g. rate_limit_exceeded, trading_not_enabled, price_moved.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable explanation.","uniqueKey":"detail","typeLabel":"string"}},"required":["code"],"uniqueKey":"","typeLabel":"object"},"examples":{"offer_sent":{"title":"offer_sent","value":{"code":"offer_sent","detail":"The Steam trade offer is already out; accept or decline it in Steam."}},"in_progress":{"title":"in_progress","value":{"code":"in_progress","detail":"Delivery is in progress; if it fails, the order is refunded automatically."}},"not_cancellable":{"title":"not_cancellable","value":{"code":"not_cancellable","detail":"This order can no longer be cancelled."}}},"exampleType":"examples"}},"exampleType":"examples"},"0b556fee-a6ee-46d9-b64f-0417bcfd0f1e":{"description":"Cancel is not open yet: 31 minutes after purchase for `manual` delivery, 15 minutes otherwise. Retry after `retry_after_sec`.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"},"retry_after_sec":{"type":"integer","description":"Seconds until cancel opens.","uniqueKey":"retry_after_sec","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"too_early","detail":"Cancel opens 15 minutes after purchase.","retry_after_sec":540},"examples":{"Example":{"title":"Example","value":{"code":"too_early","detail":"Cancel opens 15 minutes after purchase.","retry_after_sec":540}}},"exampleType":"examples"}},"exampleType":"examples"},"2fb19253-d3a2-4930-94ae-ed3a0bc68cbf":{"description":"`cancel_limit_reached`: too many cancels for now — try again later. `rate_limit_exceeded`: the key's trading bucket is spent — wait `Retry-After` seconds, the rest of the current minute.","headers":{"Retry-After":{"description":"Seconds until the one-minute window restarts (on `rate_limit_exceeded`).","schema":{"type":"integer"}},"X-RateLimit-Limit":{"description":"The ceiling per minute of the bucket this call spent (named in `X-RateLimit-Bucket`).","schema":{"type":"integer"},"example":3000},"X-RateLimit-Remaining":{"description":"Calls left on that bucket in the current one-minute window.","schema":{"type":"integer","minimum":0},"example":2987},"X-RateLimit-Reset":{"description":"Seconds until the one-minute window restarts and the counter starts again.","schema":{"type":"integer","minimum":1,"maximum":60},"example":41},"X-RateLimit-Bucket":{"description":"The bucket this call spent: `read` (reads and every other keyed call) or `trading` (buys, order reads, claims, cancels, balance). A `429` from the buy-order limit says `buy_orders`.","schema":{"type":"string","enum":["read","trading","buy_orders"]},"example":"trading"}},"content":{"application/json":{"schema":{"type":"object","description":"All errors return { code, detail }. Some carry extra fields (e.g. price_moved adds current_total_usd, insufficient_balance adds required_usd/current_usd, item_unavailable adds unavailable_ids and, on CS2 buys, unknown_ids).","properties":{"code":{"type":"string","description":"Machine-readable error code, e.g. rate_limit_exceeded, trading_not_enabled, price_moved.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable explanation.","uniqueKey":"detail","typeLabel":"string"}},"required":["code"],"uniqueKey":"","typeLabel":"object"},"examples":{"cancel_limit_reached":{"title":"cancel_limit_reached","value":{"code":"cancel_limit_reached","detail":"Cancel limit reached for now; try again later."}},"rate_limit_exceeded":{"title":"rate_limit_exceeded","value":{"code":"rate_limit_exceeded","detail":"Trading rate limit of 3000 requests/min exceeded. The counter restarts in 23 s. For new listings use GET /v1/listings/stream instead of polling.","bucket":"trading","limit_per_min":3000,"retry_after_sec":23}}},"exampleType":"examples"}},"exampleType":"examples"},"d44e1980-4199-4295-8592-096c077c798e":{"description":"The order could not be checked upstream right now. Nothing was changed; retry shortly.","content":{"application/json":{"schema":{"type":"object","description":"All errors return { code, detail }. Some carry extra fields (e.g. price_moved adds current_total_usd, insufficient_balance adds required_usd/current_usd, item_unavailable adds unavailable_ids and, on CS2 buys, unknown_ids).","properties":{"code":{"type":"string","description":"Machine-readable error code, e.g. rate_limit_exceeded, trading_not_enabled, price_moved.","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable explanation.","uniqueKey":"detail","typeLabel":"string"}},"required":["code"],"uniqueKey":"","typeLabel":"object"},"example":{"code":"cancel_unavailable","detail":"The order could not be checked upstream right now and nothing was changed; retry shortly."},"examples":{"Example":{"title":"Example","value":{"code":"cancel_unavailable","detail":"The order could not be checked upstream right now and nothing was changed; retry shortly."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"06dc2d5d-3307-4e9d-932f-2c2f29b1a6df":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Send your key as a Bearer token on every request: `Authorization: Bearer csb_pub_...`. Generate keys in your CSBoard profile. Calls made with a key are metered only by that key's own limits — there is no per-IP limit on top — and every answer carries `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` and `X-RateLimit-Bucket` for the bucket the call spent. See [Rate limits](/rate-limits).","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"0e703a7c-bb72-4382-a5c4-7af713801e30":{"url":"https://csboard.com/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Send your key as a Bearer token on every request: `Authorization: Bearer csb_pub_...`. Generate keys in your CSBoard profile. Calls made with a key are metered only by that key's own limits — there is no per-IP limit on top — and every answer carries `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` and `X-RateLimit-Bucket` for the bucket the call spent. See [Rate limits](/rate-limits).","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send your key as a Bearer token on every request: `Authorization: Bearer csb_pub_...`. Generate keys in your CSBoard profile. Calls made with a key are metered only by that key's own limits — there is no per-IP limit on top — and every answer carries `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` and `X-RateLimit-Bucket` for the bucket the call spent. See [Rate limits](/rate-limits).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"csboard","siteName":"CSBoard API","title":"POST /v1/orders/:id/cancel — 取消尚未交付的订单 - CSBoard API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/post-orders-cancel","matchLevel":1},"ru":{"href":"/ru/api-reference/post-orders-cancel","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/api-reference/post-orders-cancel","matchLevel":0}}},"lastModified":"2026-10-22T13:34:14.134Z","originalFileLocation":"zh-Hans/api-reference/post-orders-cancel.mdx","locale":"zh-Hans"},"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=\"dark\"}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=\"取消尚无人发货的订单,款项退回您的余额。人工交付的订单在购买 31 分钟后可取消,其他订单在 15 分钟后可取消。\">\u003cmeta data-mint-head name=\"application-name\" content=\"CSBoard API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/csboard/m4zEijRxsV60XgHV/_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/csboard/m4zEijRxsV60XgHV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/csboard/m4zEijRxsV60XgHV/_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/csboard/m4zEijRxsV60XgHV/_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/csboard/m4zEijRxsV60XgHV/_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/csboard/m4zEijRxsV60XgHV/_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/csboard/m4zEijRxsV60XgHV/_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/csboard/m4zEijRxsV60XgHV/_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/csboard/m4zEijRxsV60XgHV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"POST /v1/orders/:id/cancel — 取消尚未交付的订单 - CSBoard API\">\u003cmeta data-mint-head property=\"og:description\" content=\"取消尚无人发货的订单,款项退回您的余额。人工交付的订单在购买 31 分钟后可取消,其他订单在 15 分钟后可取消。\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CSBoard API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://csboard.mintlify.site/_mintlify/api/og/v2?division=%E4%BA%A4%E6%98%93\u0026amp;title=POST+%2Fv1%2Forders%2F%3Aid%2Fcancel+%E2%80%94+%E5%8F%96%E6%B6%88%E5%B0%9A%E6%9C%AA%E4%BA%A4%E4%BB%98%E7%9A%84%E8%AE%A2%E5%8D%95\u0026amp;description=%E5%8F%96%E6%B6%88%E5%B0%9A%E6%97%A0%E4%BA%BA%E5%8F%91%E8%B4%A7%E7%9A%84%E8%AE%A2%E5%8D%95%EF%BC%8C%E6%AC%BE%E9%A1%B9%E9%80%80%E5%9B%9E%E6%82%A8%E7%9A%84%E4%BD%99%E9%A2%9D%E3%80%82%E4%BA%BA%E5%B7%A5%E4%BA%A4%E4%BB%98%E7%9A%84%E8%AE%A2%E5%8D%95%E5%9C%A8%E8%B4%AD%E4%B9%B0+31+%E5%88%86%E9%92%9F%E5%90%8E%E5%8F%AF%E5%8F%96%E6%B6%88%EF%BC%8C%E5%85%B6%E4%BB%96%E8%AE%A2%E5%8D%95%E5%9C%A8+15+%E5%88%86%E9%92%9F%E5%90%8E%E5%8F%AF%E5%8F%96%E6%B6%88%E3%80%82\u0026amp;theme=932e691933583ab42431355a\u0026amp;signature=6a92b437936618087d2107c29788ae2f322c8a29205ea4914cd1a3901ccdc685\">\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=\"POST /v1/orders/:id/cancel — 取消尚未交付的订单 - CSBoard API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"取消尚无人发货的订单,款项退回您的余额。人工交付的订单在购买 31 分钟后可取消,其他订单在 15 分钟后可取消。\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://csboard.mintlify.site/_mintlify/api/og/v2?division=%E4%BA%A4%E6%98%93\u0026amp;title=POST+%2Fv1%2Forders%2F%3Aid%2Fcancel+%E2%80%94+%E5%8F%96%E6%B6%88%E5%B0%9A%E6%9C%AA%E4%BA%A4%E4%BB%98%E7%9A%84%E8%AE%A2%E5%8D%95\u0026amp;description=%E5%8F%96%E6%B6%88%E5%B0%9A%E6%97%A0%E4%BA%BA%E5%8F%91%E8%B4%A7%E7%9A%84%E8%AE%A2%E5%8D%95%EF%BC%8C%E6%AC%BE%E9%A1%B9%E9%80%80%E5%9B%9E%E6%82%A8%E7%9A%84%E4%BD%99%E9%A2%9D%E3%80%82%E4%BA%BA%E5%B7%A5%E4%BA%A4%E4%BB%98%E7%9A%84%E8%AE%A2%E5%8D%95%E5%9C%A8%E8%B4%AD%E4%B9%B0+31+%E5%88%86%E9%92%9F%E5%90%8E%E5%8F%AF%E5%8F%96%E6%B6%88%EF%BC%8C%E5%85%B6%E4%BB%96%E8%AE%A2%E5%8D%95%E5%9C%A8+15+%E5%88%86%E9%92%9F%E5%90%8E%E5%8F%AF%E5%8F%96%E6%B6%88%E3%80%82\u0026amp;theme=932e691933583ab42431355a\u0026amp;signature=6a92b437936618087d2107c29788ae2f322c8a29205ea4914cd1a3901ccdc685\">\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/csboard/m4zEijRxsV60XgHV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CSBoard API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563eb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/zh-Hans/api-reference/post-orders-cancel.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://api.csboard.com/api-reference/post-orders-cancel\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://api.csboard.com/ru/api-reference/post-orders-cancel\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://api.csboard.com/api-reference/post-orders-cancel\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://api.csboard.com/#organization\",\"name\":\"CSBoard API\",\"url\":\"https://api.csboard.com\"},{\"@type\":\"WebSite\",\"@id\":\"https://api.csboard.com#website\",\"name\":\"CSBoard API\",\"url\":\"https://api.csboard.com\",\"publisher\":{\"@id\":\"https://api.csboard.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel#webpage\",\"url\":\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel\",\"name\":\"POST /v1/orders/:id/cancel — 取消尚未交付的订单\",\"description\":\"取消尚无人发货的订单,款项退回您的余额。人工交付的订单在购买 31 分钟后可取消,其他订单在 15 分钟后可取消。\",\"dateModified\":\"2026-10-22T13:34:14.134Z\",\"isPartOf\":{\"@id\":\"https://api.csboard.com#website\"},\"breadcrumb\":{\"@id\":\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"交易\",\"item\":\"https://api.csboard.com/zh-Hans/api-reference/post-orders\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"POST /v1/orders/:id/cancel — 取消尚未交付的订单\",\"item\":\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel#apireference\",\"headline\":\"POST /v1/orders/:id/cancel — 取消尚未交付的订单\",\"name\":\"POST /v1/orders/:id/cancel — 取消尚未交付的订单\",\"description\":\"取消尚无人发货的订单,款项退回您的余额。人工交付的订单在购买 31 分钟后可取消,其他订单在 15 分钟后可取消。\",\"url\":\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel\",\"mainEntityOfPage\":{\"@id\":\"https://api.csboard.com/zh-Hans/api-reference/post-orders-cancel#webpage\"},\"dateModified\":\"2026-10-22T13:34:14.134Z\",\"publisher\":{\"@id\":\"https://api.csboard.com/#organization\"},\"isPartOf\":{\"@id\":\"https://api.csboard.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CSBoard API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"CSBoard API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/zh-Hans/api-reference/post-orders-cancel.md","siteName":"CSBoard API","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/api-reference/post-orders-cancel"}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/api-reference/post-orders-cancel"}]},{"language":"zh-Hans","tabs":[{"tab":"指南","pages":[{"title":"指南","href":"/zh-Hans/introduction"}]},{"tab":"API 参考","groups":[{"group":"市场数据","pages":[{"title":"GET /v1/listings — 浏览实时的 CS2 市场挂单","sidebarTitle":"GET /listings","openapi":"GET /listings","href":"/zh-Hans/api-reference/get-listings"},{"title":"GET /v1/listings/stream — 上架与售出的实时推送","sidebarTitle":"GET /listings/stream","openapi":"GET /listings/stream","href":"/zh-Hans/api-reference/get-listings-stream"},{"title":"GET /v1/listings/availability — 批量可用性查询","sidebarTitle":"GET /listings/availability","openapi":"GET /listings/availability","href":"/zh-Hans/api-reference/get-listings-availability"},{"title":"GET /v1/games — 可作为 appId 传入的游戏","sidebarTitle":"GET /games","openapi":"GET /games","href":"/zh-Hans/api-reference/get-games"},{"title":"GET /v1/prices — 按商品组的 CS2 minAsk 价格列表","sidebarTitle":"GET /prices","openapi":"GET /prices","href":"/zh-Hans/api-reference/get-prices"},{"title":"GET /v1/prices/snapshot.ndjson.gz — 完整价格快照","sidebarTitle":"GET /prices/snapshot","openapi":"GET /prices/snapshot.ndjson.gz","href":"/zh-Hans/api-reference/get-prices-snapshot"},{"title":"GET /v1/public/prices — 无需密钥的 CS2、Dota 2 与 Rust 最低价数据源","sidebarTitle":"GET /public/prices","openapi":"GET /public/prices","href":"/zh-Hans/api-reference/get-public-prices"},{"title":"GET /v1/currency — 用于美元价格换算的汇率","sidebarTitle":"GET /currency","openapi":"GET /currency","href":"/zh-Hans/api-reference/get-currency"}]},{"group":"交易","pages":[{"title":"POST /v1/orders — 使用余额购买 CS2 挂单","sidebarTitle":"POST /orders","openapi":"POST /orders","href":"/zh-Hans/api-reference/post-orders"},{"title":"POST /v1/market/buy — 购买并交付到 Steam 交易链接","sidebarTitle":"POST /market/buy","openapi":"POST /market/buy","href":"/zh-Hans/api-reference/post-market-buy"},{"title":"POST /v1/orders/:id/claim — 领取处于持有中的订单","sidebarTitle":"POST /orders/:id/claim","description":"在持有窗口结束后释放处于持有(托管)状态订单的交付。部分持有订单会自动交付,其他订单则需要通过此接口显式领取。","openapi":"POST /orders/{id}/claim","href":"/zh-Hans/api-reference/post-orders-claim"},{"title":"POST /v1/orders/:id/cancel — 取消尚未交付的订单","sidebarTitle":"POST /orders/:id/cancel","openapi":"POST /orders/{id}/cancel","href":"/zh-Hans/api-reference/post-orders-cancel"},{"title":"GET /v1/orders — 列出您的购买历史","sidebarTitle":"GET /orders","description":"使用键集分页翻阅您的 CSBoard 购买历史。可按时间区间和状态过滤;每个订单包含逐件商品的交付详情。","openapi":"GET /orders","href":"/zh-Hans/api-reference/get-orders"},{"title":"GET /v1/orders/info — 批量订单查询","sidebarTitle":"GET /orders/info","openapi":"GET /orders/info","href":"/zh-Hans/api-reference/get-orders-info"},{"title":"GET /v1/orders/{id} — 获取单个订单","sidebarTitle":"GET /orders/{id}","openapi":"GET /orders/{id}","href":"/zh-Hans/api-reference/get-order"}]},{"group":"P2P","pages":[{"title":"GET /v1/p2p/inventory — 可上架的 CS2 库存","sidebarTitle":"GET /p2p/inventory","openapi":"GET /p2p/inventory","href":"/zh-Hans/api-reference/get-p2p-inventory"},{"title":"POST /v1/p2p/listings — 在 P2P 市场上架您的 CS2 物品","sidebarTitle":"POST /p2p/listings","openapi":"POST /p2p/listings","href":"/zh-Hans/api-reference/post-p2p-listings"},{"title":"GET /v1/p2p/listings — 您的 P2P 挂单","sidebarTitle":"GET /p2p/listings","openapi":"GET /p2p/listings","href":"/zh-Hans/api-reference/get-p2p-listings"},{"title":"PATCH /v1/p2p/listings/{id} — 修改挂单价格","sidebarTitle":"PATCH /p2p/listings/{id}","openapi":"PATCH /p2p/listings/{id}","href":"/zh-Hans/api-reference/patch-p2p-listing"},{"title":"DELETE /v1/p2p/listings/{id} — 下架 P2P 挂单","sidebarTitle":"DELETE /p2p/listings/{id}","openapi":"DELETE /p2p/listings/{id}","href":"/zh-Hans/api-reference/delete-p2p-listing"}]},{"group":"账户","pages":[{"title":"GET /v1/balance — 账户余额与交易状态","sidebarTitle":"GET /balance","openapi":"GET /balance","href":"/zh-Hans/api-reference/get-balance"}]},{"group":"状态","pages":[{"title":"GET /v1/health — CSBoard API 存活与新鲜度探针","sidebarTitle":"GET /health","openapi":"GET /health","href":"/zh-Hans/api-reference/get-health"}]}]},{"tab":"更新日志","pages":[{"title":"更新日志","href":"/zh-Hans/changelog/overview"}]}]}]},"basePath":"","title":"POST /v1/orders/:id/cancel — 取消尚未交付的订单 - CSBoard API","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DPDWPCdE.js","utils-DyjUHyLo.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BWYE1cdS.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-COAzxpEw.js","snippetPresets-DNiD_S52.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-DDHbuAIY.js","ApiExamples-CjwVt80x.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ByHQMk7z.js","shallow-CaZuw1AO.js","getApiPlaygroundDisplay-DPVPOknm.js","CodeSnippet-B31CH-Mp.js","CodeSnippets-BxTYZWz6.js","getPastedJson-DhoAwiNO.js","icon-Dhq8z75J.js","MethodPill-DLXmKOwr.js","DuplicateIcon-jzdVwyRU.js","createIcon-eD0b3klN.js","DynamicMarkdown-BfddVCX7.js","SectionHeading-2pSCIo17.js","axios-vUo_bRtp.js","Markdown-DsWjhwJ4.js","clsx-B2t_mZQG.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CUljsAY7.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Cf70306N.js"]}