Cancela um saque que ainda está em status Pending. Saques em processamento ou concluídos não podem ser cancelados.
Este endpoint também exige permissão cashouts.write na credencial.
Apenas saques com status Pending podem ser cancelados. O valor reservado será devolvido ao saldo disponível.
Autorizações
Authorization
string
header
obrigatório
Token JWT obtido via /v1/auth/token
Parâmetros de caminho
id
string<uuid>
obrigatório
ID do saque
Exemplo:
"b2c3d4e5-f6a7-8901-bcde-f23456789012"
Resposta
Saque cancelado
data
object | null
Show child attributes
message
string | null
error
object | null
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Safefy Pay","colors":{"primary":"#3b82f6","light":"#60a5fa","dark":"#2563eb"},"logo":{"light":"https://mintcdn.com/safefypay/-Bz3jDSg0a2tULm6/logo/light.svg?fit=max\u0026auto=format\u0026n=-Bz3jDSg0a2tULm6\u0026q=85\u0026s=582ff1fbb2198f44a03cf0083f79c7bb","dark":"https://mintcdn.com/safefypay/-Bz3jDSg0a2tULm6/logo/dark.svg?fit=max\u0026auto=format\u0026n=-Bz3jDSg0a2tULm6\u0026q=85\u0026s=1f5e52a5b2998f9bea22018d08bbe534"},"favicon":"https://mintcdn.com/safefypay/mnZdbRGEjZDQ6G9R/favicon.ico?fit=max\u0026auto=format\u0026n=mnZdbRGEjZDQ6G9R\u0026q=85\u0026s=f8e5a425e9e824c156b5b0065956b9f4","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","go","java"],"prefill":true}},"background":{"color":{"light":"#f9f9f9","dark":"#161616"}},"navbar":{"links":[{"href":"mailto:suporte@safefypay.com.br","label":"Support"}],"primary":{"type":"button","label":"Access Dashboard","href":"https://app.safefypay.com.br"}},"footer":{"socials":{"instagram":"https://www.instagram.com/safefy_pay"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Status","icon":"signal","href":"/en/status"},{"anchor":"Support","icon":"life-ring","href":"mailto:suporte@safefypay.com.br"}]},"languages":[{"language":"pt-BR","href":""},{"language":"en","href":"en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"safefypay","hasAudioNarration":false,"actualSubdomain":"safefypay","customDomains":["docs.safefypay.com.br"],"gitSource":{"type":"github","owner":"safefy-pay","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0053b257be3405ccaa0ca6","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"pt-BR","tag":"API","count":34},{"language":"en","tag":"API","count":34},{"language":"pt-BR","tag":"Documentação","count":14},{"language":"en","tag":"Documentation","count":14},{"language":"pt-BR","tag":"Transações","count":12},{"language":"en","tag":"Transactions","count":12},{"language":"pt-BR","tag":"Saques","count":8},{"language":"en","tag":"Cashouts","count":8},{"language":"pt-BR","tag":"Disputas","count":6},{"language":"en","tag":"Disputes","count":6},{"language":"pt-BR","tag":"Clientes","count":5},{"language":"pt-BR","tag":"Conceitos","count":5},{"language":"pt-BR","tag":"Introdução","count":5},{"language":"en","tag":"Customers","count":5},{"language":"en","tag":"Concepts","count":5},{"language":"en","tag":"Introduction","count":5},{"language":"pt-BR","tag":"Saldo","count":2},{"language":"pt-BR","tag":"Checkout e links","count":2},{"language":"en","tag":"Balance","count":2},{"language":"en","tag":"Checkout and links","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/cashouts/cancel","slug":"/api-reference/cashouts/cancel","pageMetadata":{"title":"Cancelar saque","description":"Cancele um saque pendente","openapi":"api-reference/openapi.json POST /v1/cashouts/{id}/cancel","href":"/api-reference/cashouts/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: \"Cancele um saque pendente\"\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`,p:`p`,..._provideComponents(),...props.components},{Note,Warning}=_components;if(!Note)_missingMdxReference(`Note`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Cancela um saque que ainda está em status `,_jsx(_components.code,{children:`Pending`}),`. Saques em processamento ou concluídos não podem ser cancelados.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Este endpoint também exige permissão `,_jsx(_components.code,{children:`cashouts.write`}),` na credencial.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Apenas saques com status `,_jsx(_components.code,{children:`Pending`}),` podem ser cancelados. O valor reservado será devolvido ao saldo disponível.`]})})]})}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":"Cancelar saque","description":"Cancele um saque pendente","openapi":"api-reference/openapi.json POST /v1/cashouts/{id}/cancel","href":"/api-reference/cashouts/cancel"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Saques"],"summary":"Cancelar saque","description":"Cancele um saque pendente","operationId":"cancelCashout","parameters":["a3acb689-9d05-4256-894a-e3559d855906"],"responses":{"200":"5715a182-c979-4a16-a09c-8762f82e857f","400":"1a7d913a-2d4c-4fc6-b8e4-e674b370d89c","401":"d30bd314-bc8c-4dc8-9ac9-66a5d7e57404","404":"a6011a91-1fd3-4cfb-81ac-99835743c956"},"method":"post","type":"path","servers":["ad42bb95-9ee9-43f3-8b75-5b69e2293265"],"security":["d07cda11-4db3-44ec-8c53-a5a5d3b18ae3"],"path":"/v1/cashouts/{id}/cancel","baseUrlOptions":["https://api-payment.safefypay.com.br"],"title":"Cancelar saque","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go","java"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"a3acb689-9d05-4256-894a-e3559d855906":{"name":"id","in":"path","required":true,"description":"ID do saque","schema":{"type":"string","format":"uuid","example":"b2c3d4e5-f6a7-8901-bcde-f23456789012","isRequired":true,"description":"ID do saque","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"responses":{"5715a182-c979-4a16-a09c-8762f82e857f":{"description":"Saque cancelado","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID do saque cancelado","example":"b2c3d4e5-f6a7-8901-bcde-f23456789012","uniqueKey":"data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"Novo status","example":"Cancelled","uniqueKey":"data.oneOf.0.status","typeLabel":"string"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string","format":"uuid","description":"ID do saque cancelado","example":"b2c3d4e5-f6a7-8901-bcde-f23456789012"},"status":{"type":"string","description":"Novo status","example":"Cancelled"}},"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"error":{"oneOf":[{"type":"object","properties":{"message":{"type":"string","description":"Mensagem de erro","example":"Token invalido ou expirado.","uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"code":{"type":"string","description":"Codigo do erro","example":"unauthorized","uniqueKey":"error.oneOf.0.code","typeLabel":"string"}},"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"message":{"type":"string","description":"Mensagem de erro","example":"Token invalido ou expirado."},"code":{"type":"string","description":"Codigo do erro","example":"unauthorized"}},"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"id":"b2c3d4e5-f6a7-8901-bcde-f23456789012","status":"Cancelled"},"message":"Saque cancelado com sucesso.","error":null},"examples":{"Example":{"title":"Example","value":{"data":{"id":"b2c3d4e5-f6a7-8901-bcde-f23456789012","status":"Cancelled"},"message":"Saque cancelado com sucesso.","error":null}}},"exampleType":"examples"}},"exampleType":"examples"},"1a7d913a-2d4c-4fc6-b8e4-e674b370d89c":{"description":"Saque nao pode ser cancelado","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID do saque cancelado","example":"b2c3d4e5-f6a7-8901-bcde-f23456789012","uniqueKey":"data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"Novo status","example":"Cancelled","uniqueKey":"data.oneOf.0.status","typeLabel":"string"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string","format":"uuid","description":"ID do saque cancelado","example":"b2c3d4e5-f6a7-8901-bcde-f23456789012"},"status":{"type":"string","description":"Novo status","example":"Cancelled"}},"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"error":{"oneOf":[{"type":"object","properties":{"message":{"type":"string","description":"Mensagem de erro","example":"Token invalido ou expirado.","uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"code":{"type":"string","description":"Codigo do erro","example":"unauthorized","uniqueKey":"error.oneOf.0.code","typeLabel":"string"}},"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"message":{"type":"string","description":"Mensagem de erro","example":"Token invalido ou expirado."},"code":{"type":"string","description":"Codigo do erro","example":"unauthorized"}},"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":null,"message":null,"error":{"message":"Apenas saques com status Pending podem ser cancelados.","code":"invalid_status"}},"examples":{"Example":{"title":"Example","value":{"data":null,"message":null,"error":{"message":"Apenas saques com status Pending podem ser cancelados.","code":"invalid_status"}}}},"exampleType":"examples"}},"exampleType":"examples"},"d30bd314-bc8c-4dc8-9ac9-66a5d7e57404":{"description":"Nao autorizado","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID do saque cancelado","example":"b2c3d4e5-f6a7-8901-bcde-f23456789012","uniqueKey":"data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"Novo status","example":"Cancelled","uniqueKey":"data.oneOf.0.status","typeLabel":"string"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string","format":"uuid","description":"ID do saque cancelado","example":"b2c3d4e5-f6a7-8901-bcde-f23456789012"},"status":{"type":"string","description":"Novo status","example":"Cancelled"}},"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"error":{"oneOf":[{"type":"object","properties":{"message":{"type":"string","description":"Mensagem de erro","example":"Token invalido ou expirado.","uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"code":{"type":"string","description":"Codigo do erro","example":"unauthorized","uniqueKey":"error.oneOf.0.code","typeLabel":"string"}},"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"message":{"type":"string","description":"Mensagem de erro","example":"Token invalido ou expirado."},"code":{"type":"string","description":"Codigo do erro","example":"unauthorized"}},"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":null,"message":null,"error":{"message":"Token invalido ou expirado.","code":"unauthorized"}},"examples":{"Example":{"title":"Example","value":{"data":null,"message":null,"error":{"message":"Token invalido ou expirado.","code":"unauthorized"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a6011a91-1fd3-4cfb-81ac-99835743c956":{"description":"Saque nao encontrado","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"ID do saque cancelado","example":"b2c3d4e5-f6a7-8901-bcde-f23456789012","uniqueKey":"data.oneOf.0.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"Novo status","example":"Cancelled","uniqueKey":"data.oneOf.0.status","typeLabel":"string"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"string","format":"uuid","description":"ID do saque cancelado","example":"b2c3d4e5-f6a7-8901-bcde-f23456789012"},"status":{"type":"string","description":"Novo status","example":"Cancelled"}},"uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"error":{"oneOf":[{"type":"object","properties":{"message":{"type":"string","description":"Mensagem de erro","example":"Token invalido ou expirado.","uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"code":{"type":"string","description":"Codigo do erro","example":"unauthorized","uniqueKey":"error.oneOf.0.code","typeLabel":"string"}},"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"message":{"type":"string","description":"Mensagem de erro","example":"Token invalido ou expirado."},"code":{"type":"string","description":"Codigo do erro","example":"unauthorized"}},"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":null,"message":null,"error":{"message":"Saque nao encontrado.","code":"not_found"}},"examples":{"Example":{"title":"Example","value":{"data":null,"message":null,"error":{"message":"Saque nao encontrado.","code":"not_found"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"d07cda11-4db3-44ec-8c53-a5a5d3b18ae3":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Token JWT obtido via /v1/auth/token","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"ad42bb95-9ee9-43f3-8b75-5b69e2293265":{"url":"https://api-payment.safefypay.com.br","description":"API de Pagamentos Safefy"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Token JWT obtido via /v1/auth/token","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Token JWT obtido via /v1/auth/token","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"safefypay","siteName":"Safefy Pay","title":"Cancelar saque - Safefy Pay","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/api-reference/cashouts/cancel","matchLevel":0},"en":{"href":"/en/api-reference/cashouts/cancel","matchLevel":1}}},"lastModified":"2026-04-10T00:35:58.209Z","originalFileLocation":"api-reference/cashouts/cancel.mdx","locale":"pt-BR"},"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=\"Cancele um saque pendente\">\u003cmeta data-mint-head name=\"application-name\" content=\"Safefy Pay\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/safefypay/Hujngn-PhWIpRrHV/_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/safefypay/Hujngn-PhWIpRrHV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/safefypay/Hujngn-PhWIpRrHV/_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/safefypay/Hujngn-PhWIpRrHV/_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/safefypay/Hujngn-PhWIpRrHV/_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/safefypay/Hujngn-PhWIpRrHV/_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/safefypay/Hujngn-PhWIpRrHV/_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/safefypay/Hujngn-PhWIpRrHV/_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/safefypay/Hujngn-PhWIpRrHV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Cancelar saque - Safefy Pay\">\u003cmeta data-mint-head property=\"og:description\" content=\"Cancele um saque pendente\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Safefy Pay\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.safefypay.com.br/api-reference/cashouts/cancel\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://safefypay.mintlify.site/_mintlify/api/og/v2?division=Saques\u0026amp;title=Cancelar+saque\u0026amp;description=Cancele+um+saque+pendente\u0026amp;theme=0ad0c3184b06c52d6e48184f\u0026amp;signature=8f4e9a9e02032c9b2ed20deb407f444872bc6ff59cf6462a5436c56573e20307\">\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=\"Cancelar saque - Safefy Pay\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Cancele um saque pendente\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://safefypay.mintlify.site/_mintlify/api/og/v2?division=Saques\u0026amp;title=Cancelar+saque\u0026amp;description=Cancele+um+saque+pendente\u0026amp;theme=0ad0c3184b06c52d6e48184f\u0026amp;signature=8f4e9a9e02032c9b2ed20deb407f444872bc6ff59cf6462a5436c56573e20307\">\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/safefypay/Hujngn-PhWIpRrHV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Safefy Pay\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3b82f6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.safefypay.com.br/api-reference/cashouts/cancel\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/cashouts/cancel.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.safefypay.com.br/api-reference/cashouts/cancel\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.safefypay.com.br/en/api-reference/cashouts/cancel\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.safefypay.com.br/api-reference/cashouts/cancel\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.safefypay.com.br/#organization\",\"name\":\"Safefy Pay\",\"url\":\"https://docs.safefypay.com.br\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/safefypay/-Bz3jDSg0a2tULm6/logo/light.svg?fit=max\u0026auto=format\u0026n=-Bz3jDSg0a2tULm6\u0026q=85\u0026s=582ff1fbb2198f44a03cf0083f79c7bb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.safefypay.com.br#website\",\"name\":\"Safefy Pay\",\"url\":\"https://docs.safefypay.com.br\",\"publisher\":{\"@id\":\"https://docs.safefypay.com.br/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.safefypay.com.br/api-reference/cashouts/cancel#webpage\",\"url\":\"https://docs.safefypay.com.br/api-reference/cashouts/cancel\",\"name\":\"Cancelar saque\",\"description\":\"Cancele um saque pendente\",\"dateModified\":\"2026-04-10T00:35:58.209Z\",\"isPartOf\":{\"@id\":\"https://docs.safefypay.com.br#website\"},\"breadcrumb\":{\"@id\":\"https://docs.safefypay.com.br/api-reference/cashouts/cancel#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.safefypay.com.br/api-reference/cashouts/cancel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Saques\",\"item\":\"https://docs.safefypay.com.br/api-reference/cashouts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cancelar saque\",\"item\":\"https://docs.safefypay.com.br/api-reference/cashouts/cancel\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.safefypay.com.br/api-reference/cashouts/cancel#apireference\",\"headline\":\"Cancelar saque\",\"name\":\"Cancelar saque\",\"description\":\"Cancele um saque pendente\",\"url\":\"https://docs.safefypay.com.br/api-reference/cashouts/cancel\",\"mainEntityOfPage\":{\"@id\":\"https://docs.safefypay.com.br/api-reference/cashouts/cancel#webpage\"},\"dateModified\":\"2026-04-10T00:35:58.209Z\",\"publisher\":{\"@id\":\"https://docs.safefypay.com.br/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.safefypay.com.br#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Safefy Pay\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Safefy Pay\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/cashouts/cancel.md","siteName":"Safefy Pay","nav":{"global":{"anchors":[{"anchor":"Status","icon":"signal","href":"/en/status"},{"anchor":"Support","icon":"life-ring","href":"mailto:suporte@safefypay.com.br"}]},"languages":[{"language":"pt-BR","tabs":[{"tab":"Documentação","pages":[{"title":"Documentação","href":""}]},{"tab":"API","groups":[{"group":"Autenticação","pages":[{"title":"Gerar token","openapi":"api-reference/openapi.json POST /v1/auth/token","href":"/api-reference/auth/token"}]},{"group":"Clientes","pages":[{"title":"Objeto Cliente","href":"/api-reference/customers/index"},{"title":"Criar cliente","openapi":"api-reference/openapi.json POST /v1/customers","href":"/api-reference/customers/create"},{"title":"Listar clientes","openapi":"api-reference/openapi.json GET /v1/customers","href":"/api-reference/customers/list"},{"title":"Buscar cliente","openapi":"api-reference/openapi.json GET /v1/customers/{id}","href":"/api-reference/customers/get"},{"title":"Atualizar cliente","openapi":"api-reference/openapi.json PATCH /v1/customers/{id}","href":"/api-reference/customers/update"}]},{"group":"Transações","pages":[{"title":"Objeto Transação","href":"/api-reference/transactions/index"},{"title":"Webhooks de transação","href":"/api-reference/transactions/webhooks"},{"title":"Gerando QR Code do PIX","href":"/api-reference/transactions/qr-code"},{"title":"Criar transação","openapi":"api-reference/openapi.json POST /v1/transactions","href":"/api-reference/transactions/create"},{"title":"Tokenizar cartão","openapi":"api-reference/openapi.json POST /v1/card-tokenize","href":"/api-reference/transactions/card-tokenize"},{"title":"Venda internacional","href":"/api-reference/transactions/international"},{"title":"Métodos da venda internacional","href":"/api-reference/transactions/international-methods"},{"title":"Configuração do cartão internacional","href":"/api-reference/transactions/international-card-config"},{"title":"Criar pagamento com cartão internacional","href":"/api-reference/transactions/international-card-payment"},{"title":"Listar transações","openapi":"api-reference/openapi.json GET /v1/transactions","href":"/api-reference/transactions/list"},{"title":"Buscar transação","openapi":"api-reference/openapi.json GET /v1/transactions/{transactionId}","href":"/api-reference/transactions/get"},{"title":"Simular transação","openapi":"api-reference/openapi.json POST /v1/transactions/{transactionId}/simulate","href":"/api-reference/transactions/simulate"}]},{"group":"Saldo","pages":[{"title":"Objeto Saldo","href":"/api-reference/balance/index"},{"title":"Consultar saldo","openapi":"api-reference/openapi.json GET /v1/balance","href":"/api-reference/balance/get"}]},{"group":"Disputas","pages":[{"title":"Objeto Disputa","href":"/api-reference/disputes/index"},{"title":"Webhooks de MED","href":"/api-reference/disputes/webhooks"},{"title":"Listar disputas","openapi":"api-reference/openapi.json GET /v1/disputes","href":"/api-reference/disputes/list"},{"title":"Buscar disputa","openapi":"api-reference/openapi.json GET /v1/disputes/{id}","href":"/api-reference/disputes/get"},{"title":"Enviar resposta à disputa","openapi":"api-reference/openapi.json PUT /v1/disputes/{id}/response","href":"/api-reference/disputes/respond"},{"title":"Adicionar evidência","openapi":"api-reference/openapi.json POST /v1/disputes/{id}/evidences","href":"/api-reference/disputes/add-evidence"}]},{"group":"Saques","pages":[{"title":"Objeto Saque","href":"/api-reference/cashouts/index"},{"title":"Webhooks de Saque","href":"/api-reference/cashouts/webhooks"},{"title":"Solicitar saque","openapi":"api-reference/openapi.json POST /v1/cashouts","href":"/api-reference/cashouts/create"},{"title":"Cadastrar conta de saque","openapi":"api-reference/openapi.json POST /v1/cashout-accounts","href":"/api-reference/cashouts/create-account"},{"title":"Listar saques","openapi":"api-reference/openapi.json GET /v1/cashouts","href":"/api-reference/cashouts/list"},{"title":"Buscar saque","description":"Consulte um saque por ID","openapi":"api-reference/openapi.json GET /v1/cashouts/{id}","href":"/api-reference/cashouts/get"},{"title":"Cancelar saque","openapi":"api-reference/openapi.json POST /v1/cashouts/{id}/cancel","href":"/api-reference/cashouts/cancel"},{"title":"Simular saque","description":"Simule o processamento de um saque no Sandbox","openapi":"api-reference/openapi.json POST /v1/cashouts/{id}/simulate","href":"/api-reference/cashouts/simulate"}]}]}]},{"language":"en","pages":[{"title":"en","href":"/en/api-reference/cashouts/cancel"}]}]},"basePath":"","title":"Cancelar saque - Safefy Pay","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}