Withdraw your active quote from a quote request. If the quote already expired naturally, you get already_expired instead of an error.
Withdraw only to retract a current-version quote you no longer want to honor, for example when your price moved before the user committed. A version change needs no withdraw: your prior-version quote is invalidated automatically. To quote the new version, submit again with the new request_version and request_hash.
Authentication
API key required. Pass your API key in the X-API-Key header.
X-API-Key: <key>
Path parameters
string
required
The quote request ID (UUID).
Request body (optional)
integer
The request version your quote was submitted for. Defaults to the current version.
string
The request hash your quote was submitted for. Defaults to the current hash.
Response
Returns 204 No Content when the quote is withdrawn, or 200 OK if it had already expired naturally:
{ "data": { "status": "already_expired" }}
Errors
Status
Code
Description
401
UNAUTHORIZED
Missing or invalid API key.
404
NOT_FOUND
Quote request not found.
409
CONFLICT
No active quote to withdraw, request expired, no longer active, or version mismatch. See details.reason.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Totalis","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/logo/totalis-light.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=bfc2c43758a4153215b97f4f1f4a849e","dark":"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/logo/totalis-dark.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=c9cd04e32bfb6912c319d5bea48cb835"},"favicon":"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/favicon.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=c011a0a3e86a2aba4ac734a6c7cd366a","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.totalis.trade"}},"background":{"color":{"light":"#FAFBFA","dark":"#0B0F0D"}},"navbar":{"links":[{"href":"https://app.totalis.trade/account/api-keys","label":"Get an API key"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.totalis.trade"}},"footer":{"socials":{"x":"https://x.com/totalistrading","github":"https://github.com/totalistrading"},"links":[{"header":"Status","items":[{"label":"Hyperliquid status","href":"https://status.totalis.trade"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"/terms-of-service"},{"label":"Privacy Policy","href":"/privacy-policy"}]}]},"seo":{"metatags":{"og:type":"website","og:site_name":"Totalis Documentation","og:locale":"en_US","og:image":"https://docs.totalis.trade/totalis.png","twitter:card":"summary_large_image","twitter:image":"https://docs.totalis.trade/totalis.png"}},"fonts":{"family":"DM Sans"},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ucalledit","hasAudioNarration":false,"actualSubdomain":"ucalledit","customDomains":["docs.totalis.trade"],"gitSource":{"type":"github","owner":"totalistrading","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af941d125f0e2ea6db75f43","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"API reference","count":118},{"language":"default","tag":"Hyperliquid","count":98},{"language":"default","tag":"Solana","count":68},{"language":"default","tag":"Guides","count":62},{"language":"default","tag":"Account","count":22},{"language":"default","tag":"API keys","count":15},{"language":"default","tag":"RFQs \u0026 Quotes","count":14},{"language":"default","tag":"Resources","count":9},{"language":"default","tag":"Quote service","count":9},{"language":"default","tag":"Makers","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":true},"customCss":[{"filePath":"style.css","content":""}],"page":{"pagePath":"solana/api-reference/quote-service-mm/withdraw-quote","slug":"/solana/api-reference/quote-service-mm/withdraw-quote","pageMetadata":{"title":"Withdraw quote","api":"DELETE /v1/mm/quote-requests/{id}/quote","description":"Withdraw your active quote from a quote request before the user commits it.","href":"/solana/api-reference/quote-service-mm/withdraw-quote"},"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: \"Withdraw your active quote from a quote request before the user commits it.\"\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={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Withdraw your active quote from a quote request. If the quote already expired naturally, you get `,_jsx(_components.code,{children:`already_expired`}),` instead of an error.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Withdraw only to retract a current-version quote you no longer want to honor, for example when your price moved before the user committed. A `,_jsx(_components.code,{children:`version`}),` change needs no withdraw: your prior-version quote is invalidated automatically. To quote the new version, `,_jsx(_components.a,{href:`/solana/api-reference/quote-service-mm/submit-quote`,children:`submit`}),` again with the new `,_jsx(_components.code,{children:`request_version`}),` and `,_jsx(_components.code,{children:`request_hash`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`API key required. Pass your API key in the `,_jsx(_components.code,{children:`X-API-Key`}),` header.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-API-Key: \u003ckey>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The quote request ID (UUID).`})}),`\n`,_jsx(Heading,{level:`2`,id:`request-body-optional`,children:`Request body (optional)`}),`\n`,_jsx(ParamField,{body:`request_version`,type:`integer`,id:`param-request-version`,children:_jsx(_components.p,{children:`The request version your quote was submitted for. Defaults to the current version.`})}),`\n`,_jsx(ParamField,{body:`request_hash`,type:`string`,id:`param-request-hash`,children:_jsx(_components.p,{children:`The request hash your quote was submitted for. Defaults to the current hash.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`204 No Content`}),` when the quote is withdrawn, or `,_jsx(_components.code,{children:`200 OK`}),` if it had already expired naturally:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"already_expired\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UNAUTHORIZED`})}),_jsx(_components.td,{children:`Missing or invalid API key.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NOT_FOUND`})}),_jsx(_components.td,{children:`Quote request not found.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`409`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`CONFLICT`})}),_jsxs(_components.td,{children:[`No active quote to withdraw, request expired, no longer active, or version mismatch. See `,_jsx(_components.code,{children:`details.reason`}),`.`]})]})]})]})]})}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":"Withdraw quote","api":"DELETE /v1/mm/quote-requests/{id}/quote","description":"Withdraw your active quote from a quote request before the user commits it.","href":"/solana/api-reference/quote-service-mm/withdraw-quote"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[359,368,"RequestExample,ResponseExample,Table}=_c"],[582,594,"RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missi"],[5750,5761,",`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.totalis.trade/v1/mm/quote-requests/1a6d1f06-9d4f-47cb-994b-3bdfbbef7e40/quote`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"request_version\": 1,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"request_hash\": \"sha256:9f86d08...\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`204`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# No response body`})}),`\n`]})})})})]})}functio"]]},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Path parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Request body (optional)","slug":"request-body-optional","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> DELETE\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.totalis.trade/v1/mm/quote-requests/1a6d1f06-9d4f-47cb-994b-3bdfbbef7e40/quote\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"X-API-Key: \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$API_KEY\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"request_version\": 1,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"request_hash\": \"sha256:9f86d08...\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"204","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"1\">\u003cspan class=\"line\">\u003cspan style=\"color:#6E7781;--shiki-dark:#6A9955\"># No response body\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Withdraw quote","path":"/v1/mm/quote-requests/{id}/quote","servers":[{"url":"https://api.totalis.trade"}],"method":"delete","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"The quote request ID (UUID).","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"request_version":[{"type":"integer","description":"The request version your quote was submitted for. Defaults to the current version."}],"request_hash":[{"type":"string","description":"The request hash your quote was submitted for. Defaults to the current hash."}]}}],"examples":{"example":{"value":{"request_version":123,"request_hash":"\u003cstring>"}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"ucalledit","siteName":"Totalis","title":"Withdraw quote - Totalis","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T00:55:06.001Z","originalFileLocation":"solana/api-reference/quote-service-mm/withdraw-quote.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=\"Withdraw your active quote from a quote request before the user commits it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Totalis\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Withdraw quote - Totalis\">\u003cmeta data-mint-head property=\"og:description\" content=\"Withdraw your active quote from a quote request before the user commits it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Totalis Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.totalis.trade/totalis.png\">\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=\"Withdraw quote - Totalis\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Withdraw your active quote from a quote request before the user commits it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.totalis.trade/totalis.png\">\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/ucalledit/nSbc8XH_JELxakJk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Totalis\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/solana/api-reference/quote-service-mm/withdraw-quote.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.totalis.trade/#organization\",\"name\":\"Totalis\",\"url\":\"https://docs.totalis.trade\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/logo/totalis-light.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=bfc2c43758a4153215b97f4f1f4a849e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.totalis.trade#website\",\"name\":\"Totalis\",\"url\":\"https://docs.totalis.trade\",\"publisher\":{\"@id\":\"https://docs.totalis.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote#webpage\",\"url\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote\",\"name\":\"Withdraw quote\",\"description\":\"Withdraw your active quote from a quote request before the user commits it.\",\"dateModified\":\"2026-11-14T00:55:06.001Z\",\"isPartOf\":{\"@id\":\"https://docs.totalis.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Market maker\",\"item\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/stream\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Withdraw quote\",\"item\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote#apireference\",\"headline\":\"Withdraw quote\",\"name\":\"Withdraw quote\",\"description\":\"Withdraw your active quote from a quote request before the user commits it.\",\"url\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote\",\"mainEntityOfPage\":{\"@id\":\"https://docs.totalis.trade/solana/api-reference/quote-service-mm/withdraw-quote#webpage\"},\"image\":\"https://docs.totalis.trade/totalis.png\",\"dateModified\":\"2026-11-14T00:55:06.001Z\",\"publisher\":{\"@id\":\"https://docs.totalis.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.totalis.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Totalis\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Totalis\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/solana/api-reference/quote-service-mm/withdraw-quote.md","siteName":"Totalis","nav":{"global":{"anchors":[]},"products":[{"product":"Hyperliquid","description":"Combos on Hyperliquid HIP-4 prediction markets, quoted by market makers and settled on HyperEVM","pages":[{"title":"Hyperliquid","href":"/hyperliquid"}]},{"product":"Solana","description":"Parlays across Kalshi and Polymarket, settled on Solana","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/solana"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API overview","href":"/solana/api-reference/introduction"},{"title":"Errors","href":"/solana/errors"}]},{"group":"Quote service","pages":[{"title":"Create quote request","api":"POST /v1/quote-requests","href":"/solana/api-reference/quote-service/create"},{"title":"Update quote request","api":"PATCH /v1/quote-requests/{id}","href":"/solana/api-reference/quote-service/update"},{"title":"Get quote request","api":"GET /v1/quote-requests/{id}","href":"/solana/api-reference/quote-service/get"},{"title":"Commit quote request","api":"POST /v1/quote-requests/{id}/commit","href":"/solana/api-reference/quote-service/commit"},{"title":"Cancel quote request","api":"POST /v1/quote-requests/{id}/cancel","href":"/solana/api-reference/quote-service/cancel"},{"title":"Stream quote updates","api":"GET /v1/quote-requests/{id}/stream","href":"/solana/api-reference/quote-service/stream"},{"title":"Create cashout request","api":"POST /v1/cashout-requests","href":"/solana/api-reference/quote-service/cashout-create"},{"title":"Stream cashout quote","api":"GET /v1/cashout-requests/{id}/stream","href":"/solana/api-reference/quote-service/cashout-stream"},{"title":"Commit cashout","api":"POST /v1/cashout-requests/{id}/commit","href":"/solana/api-reference/quote-service/cashout-commit"}]},{"group":"Market maker","pages":[{"title":"Stream quote requests","api":"GET /v1/mm/quote-requests/stream","href":"/solana/api-reference/quote-service-mm/stream"},{"title":"Submit or replace quote","api":"PUT /v1/mm/quote-requests/{id}/quote","description":"Submit a price quote for an active quote request, or replace your existing quote.","href":"/solana/api-reference/quote-service-mm/submit-quote"},{"title":"Withdraw quote","api":"DELETE /v1/mm/quote-requests/{id}/quote","href":"/solana/api-reference/quote-service-mm/withdraw-quote"},{"title":"Bid on a cashout auction","api":"PUT /v1/mm/cashout-requests/{id}/quote","description":"Bid one all-in price on a user's early cashout auction.","href":"/solana/api-reference/quote-service-mm/cashout-quote"},{"title":"List quotes","api":"GET /v1/mm/quotes","href":"/solana/api-reference/mm/list-quotes"},{"title":"Confirm quote","api":"POST /v1/mm/quotes/{quoteId}/confirm","href":"/solana/api-reference/mm/confirm-quote"},{"title":"List positions","api":"GET /v1/mm/positions","href":"/solana/api-reference/mm/list-positions"},{"title":"Get position","api":"GET /v1/mm/positions/{id}","href":"/solana/api-reference/mm/get-position"}]},{"group":"Markets","pages":[{"title":"List markets","openapi":"GET /markets","href":"/solana/api-reference/markets/list"},{"title":"List markets (flat)","openapi":"GET /v1/markets/list","href":"/solana/api-reference/markets/list-flat"},{"title":"Get market","openapi":"GET /markets/{ticker}","href":"/solana/api-reference/markets/get"}]},{"group":"Parlays","pages":[{"title":"List parlays","openapi":"GET /v1/rfqs","href":"/solana/api-reference/parlays/list"},{"title":"Get parlay","openapi":"GET /v1/rfqs/{id}","href":"/solana/api-reference/parlays/get"}]},{"group":"Account","pages":[{"title":"Get profile","openapi":"GET /v1/me","href":"/solana/api-reference/user/get-profile"},{"title":"Update username","openapi":"PUT /v1/username","href":"/solana/api-reference/user/update-username"},{"title":"Check username","openapi":"GET /v1/username/check","href":"/solana/api-reference/user/check-username"},{"title":"Get wallet","openapi":"GET /v1/wallet","href":"/solana/api-reference/user/get-wallet"},{"title":"Submit transaction","openapi":"POST /v1/wallet/submit-tx","href":"/solana/api-reference/user/submit-tx"}]},{"group":"API keys","pages":[{"title":"List API keys","openapi":"GET /v1/api-keys","href":"/solana/api-reference/user/list-api-keys"},{"title":"Create API key","openapi":"POST /v1/api-keys","href":"/solana/api-reference/user/create-api-key"},{"title":"Revoke API key","openapi":"DELETE /v1/api-keys/{prefix}","href":"/solana/api-reference/user/revoke-api-key"}]},{"group":"Funds and vault","pages":[{"title":"Get vault","openapi":"GET /v1/vault","href":"/solana/api-reference/funds/get-vault"},{"title":"Deposit into the vault","openapi":"POST /v1/vault/deposit","href":"/solana/api-reference/funds/vault-deposit"},{"title":"Withdraw from the vault","openapi":"POST /v1/vault/withdraw","href":"/solana/api-reference/funds/vault-withdraw"},{"title":"Withdraw to external address","openapi":"POST /v1/wallet/withdraw","href":"/solana/api-reference/funds/wallet-withdraw"},{"title":"Wallet delegation status","openapi":"GET /v1/wallet/delegation-status","href":"/solana/api-reference/funds/delegation-status"},{"title":"Enable trading","openapi":"POST /v1/wallet/enable-trading","href":"/solana/api-reference/funds/enable-trading"},{"title":"Portfolio","openapi":"GET /v1/portfolio","href":"/solana/api-reference/funds/portfolio"},{"title":"P\u0026L timeseries","openapi":"GET /v1/pnl","href":"/solana/api-reference/funds/pnl"}]},{"group":"Webhooks","pages":[{"title":"Get webhook config","openapi":"GET /v1/webhooks","href":"/solana/api-reference/webhooks/get-config"},{"title":"Set webhook config","openapi":"PUT /v1/webhooks","href":"/solana/api-reference/webhooks/set-config"},{"title":"Rotate signing secret","openapi":"POST /v1/webhooks/rotate-secret","href":"/solana/api-reference/webhooks/rotate-secret"},{"title":"List deliveries","openapi":"GET /v1/webhooks/deliveries","href":"/solana/api-reference/webhooks/list-deliveries"},{"title":"Replay delivery","openapi":"POST /v1/webhooks/deliveries/{id}/redeliver","href":"/solana/api-reference/webhooks/redeliver"}]}]}]}]},"basePath":"","title":"Withdraw quote - Totalis","buildId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","deploymentId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-BFmjTMeT.js","utils-BWr-sjpP.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-LafIDf0N.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-MJNzuxek.js","snippetPresets-DPZEtUvW.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DQ2UhGIs.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DUUJTUkE.js","shallow-BTf5bw35.js","getApiPlaygroundDisplay-h2POYYOO.js","CodeSnippet-C4qEftRe.js","CodeSnippets-CsSrOqMC.js","Page-CWFqNdGh.js","getPastedJson-DU6W6y78.js","icon-2ZYNQ78y.js","MethodPill-BMXJzYMm.js","DuplicateIcon-DNjdEpYZ.js","createIcon-WdPVhKxl.js","DynamicMarkdown-Z_y464fM.js","SectionHeading-Bcrd8azU.js","axios-vUo_bRtp.js"]}