Um cash-out CONFIRMED pode ser revertido pelo destinatário. Nesse caso, você recebe pix_cash_out_reversal e o status vai para REVERSED. Veja Lidar com reversão de cash-out.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ClearPago","description":"Documentação oficial da API Pix ClearPago — integração, referência e operações.","colors":{"primary":"#0f766e"},"logo":{"light":"https://mintcdn.com/clearpago/mSJ86kniaUbCKbT4/logo_lightmode.png?fit=max\u0026auto=format\u0026n=mSJ86kniaUbCKbT4\u0026q=85\u0026s=874e04286f63996eee39a525d0e88605","dark":"https://mintcdn.com/clearpago/mSJ86kniaUbCKbT4/logo_darkmode.png?fit=max\u0026auto=format\u0026n=mSJ86kniaUbCKbT4\u0026q=85\u0026s=b1d1e55f3c47423ae78c56d021c837f6"},"footer":{"socials":{}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"clearpago","hasAudioNarration":false,"actualSubdomain":"clearpago","customDomains":["docs.clearpago.com"],"gitSource":{"type":"github","owner":"europixgopay","repo":"doc-clearpago","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21b6e8b246900909733949","collectionId":"d62e408a-61dd-4644-a467-75b991618918","schemaVersion":"v2"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a21b6e8b246900909733949:success","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Referência de API","count":17},{"language":"default","tag":"Guias","count":8},{"language":"default","tag":"Webhooks","count":7},{"language":"default","tag":"Conceitos","count":6},{"language":"default","tag":"Introdução","count":5},{"language":"default","tag":"Cash-out","count":4},{"language":"default","tag":"Cash-in","count":3},{"language":"default","tag":"Refund","count":3},{"language":"default","tag":"Erros","count":3},{"language":"default","tag":"Go-live","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/send-pix-cash-out-key","slug":"/guides/send-pix-cash-out-key","pageMetadata":{"title":"Enviar Pix por chave (Cash-out)","description":"Fluxo completo de envio por chave Pix: criação, reserva, despacho, confirmação, falha e reconciliação.","href":"/guides/send-pix-cash-out-key"},"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: \"Fluxo completo de envio por chave Pix: criação, reserva, despacho, confirmação, falha e reconciliação.\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Mermaid,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Mermaid)_missingMdxReference(`Mermaid`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`visão-geral-do-fluxo`,children:`Visão geral do fluxo`}),`\n`,_jsx(Mermaid,{chart:`sequenceDiagram\n participant S as Seu sistema\n participant CP as ClearPago\n participant B as BaaS\n\n S->>CP: POST /api/pix/cash-out\n CP-->>S: 201 {id, status inicial}\n CP->>CP: Reserva criada\n CP->>B: Despacha transferência\n alt Resposta imediata\n B-->>CP: CONFIRMED ou FAILED\n CP->>S: Webhook pix_cash_out\n else Resposta ambígua (timeout/5xx)\n CP->>CP: PROVIDER_RESULT_UNKNOWN\n CP->>B: Reconciliação periódica\n B-->>CP: Resultado final\n CP->>S: Webhook pix_cash_out\n end`}),`\n`,_jsx(Heading,{level:`2`,id:`passo-1-—-criar-o-envio`,children:`Passo 1 — Criar o envio`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,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:`17`,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:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.clearpago.com.br/api/pix/cash-out`}),_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:` \"Authorization: Bearer \u003cseu_api_token>\"`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Correlation-ID: req-cashout-001\"`}),_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:` \"transaction\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"value\": 500.00,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"externalId\": \"saque-789\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"Pagamento Fornecedor ABC\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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:` \"recipient\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Maria Oliveira\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"document\": \"987.654.321-00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pixKey\": \"maria@email.com\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"pixKeyType\": \"email\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_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:` }'`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`Resposta `,_jsx(_components.code,{children:`201`}),`:`]})}),`\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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"b2c3d4e5-f6a7-8901-bcde-f12345678901\"`}),_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:`\"CREATED\"`}),_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:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"saque-789\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsxs(_components.strong,{children:[`Persista o `,_jsx(_components.code,{children:`id`}),` imediatamente.`]}),` Ele é necessário para monitoramento e reconciliação.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`tipos-de-chave-pix-suportados`,children:`Tipos de chave Pix suportados`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`pixKeyType`})}),_jsx(_components.th,{children:`Formato`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cpf`})}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(_components.code,{children:`123.456.789-00`}),` ou `,_jsx(_components.code,{children:`12345678900`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cnpj`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`00.000.000/0001-00`}),` ou numérico`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`email`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`usuario@dominio.com`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`phone`})}),_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`+5511999999999`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`evp`})}),_jsx(_components.td,{children:`UUID (chave aleatória)`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`parâmetros-importantes`,children:`Parâmetros importantes`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Obrigatório`}),_jsx(_components.th,{children:`Notas`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transaction.value`})}),_jsx(_components.td,{children:`Sim`}),_jsxs(_components.td,{children:[`Valor em `,_jsx(_components.strong,{children:`BRL`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transaction.externalId`})}),_jsx(_components.td,{children:`Sim`}),_jsxs(_components.td,{children:[`Único por operação. `,_jsx(_components.code,{children:`409`}),` em duplicata.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recipient.pixKey`})}),_jsx(_components.td,{children:`Sim`}),_jsx(_components.td,{children:`Chave do destinatário.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recipient.pixKeyType`})}),_jsx(_components.td,{children:`Sim`}),_jsx(_components.td,{children:`Tipo da chave (ver tabela acima).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`recipient.document`})}),_jsx(_components.td,{children:`Não`}),_jsx(_components.td,{children:`CPF/CNPJ do destinatário (recomendado para rastreio).`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`passo-2-—-monitorar-o-pipeline`,children:`Passo 2 — Monitorar o pipeline`}),`\n`,_jsxs(_components.p,{children:[`Após o `,_jsx(_components.code,{children:`201`}),`, o cash-out passa por um pipeline interno. O status no `,_jsx(_components.code,{children:`POST`}),` reflete o estado no momento do commit — `,_jsxs(_components.strong,{children:[`não é necessariamente `,_jsx(_components.code,{children:`PENDING`})]}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Significado`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`CREATED`}),` / `,_jsx(_components.code,{children:`RESERVED`}),` / `,_jsx(_components.code,{children:`DISPATCH_PENDING`})]}),_jsx(_components.td,{children:`Pipeline interno; aguardando despacho ao BaaS.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DISPATCHED`})}),_jsx(_components.td,{children:`BaaS aceitou; aguardando confirmação final.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CONFIRMED`})}),_jsxs(_components.td,{children:[`Transferência `,_jsx(_components.strong,{children:`confirmada`}),` — estado de sucesso.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FAILED`})}),_jsx(_components.td,{children:`Falha definitiva; reserva liberada.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PROVIDER_RESULT_UNKNOWN`})}),_jsx(_components.td,{children:`Resposta ambígua; reconciliação em andamento.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RECONCILIATION_REQUIRED`})}),_jsx(_components.td,{children:`Tentativas de reconciliação esgotadas; requer atenção.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`REVERSED`})}),_jsx(_components.td,{children:`Revertido pelo destinatário após confirmação.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`passo-3-—-receber-o-webhook`,children:`Passo 3 — Receber o webhook`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://seu-sistema.com/webhooks/pix`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Digital-Signature`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \u003cbase64 ECDSA P-256 SHA-256>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_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:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pix_cash_out\"`}),_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:` \"event\"`}),_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:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"b2c3d4e5-f6a7-8901-bcde-f12345678901\"`}),_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:` \"external_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"saque-789\"`}),_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:`\"CONFIRMED\"`}),_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:` \"value_cents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50000`}),_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:` \"end_to_end_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E07136847202504011200O7654ABCD12\"`}),_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:` \"fee_amount_cents\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_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:` \"confirmed_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-01T12:30:00.000000000Z\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-01T12:00:00.000000000Z\"`})]}),`\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`,_jsxs(_components.p,{children:[`Sempre `,_jsx(_components.a,{href:`/guides/verify-webhook-signatures`,children:`verifique a assinatura`}),` antes de processar. Responda `,_jsx(_components.code,{children:`2xx`}),` rapidamente.`]}),`\n`,_jsx(Heading,{level:`2`,id:`passo-4-—-confirmar-via-get-fall-back`,children:`Passo 4 — Confirmar via GET (fall-back)`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,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:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.clearpago.com.br/api/pix/cash-out/b2c3d4e5-f6a7-8901-bcde-f12345678901`}),_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:` \"Authorization: Bearer \u003cseu_api_token>\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Use quando o webhook não chegou ou o status está em estado intermediário.`}),`\n`,_jsx(Heading,{level:`2`,id:`estados-ambíguos`,children:`Estados ambíguos`}),`\n`,_jsxs(_components.p,{children:[`Se o cash-out ficar em `,_jsx(_components.code,{children:`PROVIDER_RESULT_UNKNOWN`}),` ou `,_jsx(_components.code,{children:`RECONCILIATION_REQUIRED`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Não`}),` cancele ou reenvie sem análise — o dinheiro pode ter saído.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Monitore`}),` a idade do estado com `,_jsx(_components.code,{children:`GET /api/pix/cash-out/{id}`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Aguarde`}),` a reconciliação automática. Se persistir, acione o `,_jsx(_components.a,{href:`/go-live/production-checklist#contato-de-suporte`,children:`suporte`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Veja o `,_jsx(_components.a,{href:`/guides/reconcile-transactions`,children:`guia de reconciliação`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`reversão-cash-out-reversal`,children:`Reversão (cash-out reversal)`}),`\n`,_jsxs(_components.p,{children:[`Um cash-out `,_jsx(_components.code,{children:`CONFIRMED`}),` pode ser revertido pelo destinatário. Nesse caso, você recebe `,_jsx(_components.code,{children:`pix_cash_out_reversal`}),` e o status vai para `,_jsx(_components.code,{children:`REVERSED`}),`. Veja `,_jsx(_components.a,{href:`/guides/handle-cash-out-reversal`,children:`Lidar com reversão de cash-out`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`reconciliação-com-o-ledger`,children:`Reconciliação com o ledger`}),`\n`,_jsxs(_components.p,{children:[`Após `,_jsx(_components.code,{children:`CONFIRMED`}),`, um lançamento de débito é criado no ledger. Após `,_jsx(_components.code,{children:`REVERSED`}),`, um crédito de reversão é criado. Consulte `,_jsx(_components.a,{href:`/ledger-and-reconciliation/ledger-overview`,children:`Ledger e reconciliação`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`referências`,children:`Referências`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/create-cash-out`,children:`POST /api/pix/cash-out`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/get-cash-out`,children:`GET /api/pix/cash-out/`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/core-concepts/status-model`,children:`Modelo de status (cash-out)`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/guides/reconcile-transactions`,children:`Reconciliação operacional`})}),`\n`]})]})}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":"Enviar Pix por chave (Cash-out)","description":"Fluxo completo de envio por chave Pix: criação, reserva, despacho, confirmação, falha e reconciliação.","href":"/guides/send-pix-cash-out-key"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Visão geral do fluxo","slug":"visão-geral-do-fluxo","depth":2,"children":[]},{"title":"Passo 1 — Criar o envio","slug":"passo-1-—-criar-o-envio","depth":2,"children":[{"title":"Tipos de chave Pix suportados","slug":"tipos-de-chave-pix-suportados","depth":3,"children":[]},{"title":"Parâmetros importantes","slug":"parâmetros-importantes","depth":3,"children":[]}]},{"title":"Passo 2 — Monitorar o pipeline","slug":"passo-2-—-monitorar-o-pipeline","depth":2,"children":[]},{"title":"Passo 3 — Receber o webhook","slug":"passo-3-—-receber-o-webhook","depth":2,"children":[]},{"title":"Passo 4 — Confirmar via GET (fall-back)","slug":"passo-4-—-confirmar-via-get-fall-back","depth":2,"children":[]},{"title":"Estados ambíguos","slug":"estados-ambíguos","depth":2,"children":[]},{"title":"Reversão (cash-out reversal)","slug":"reversão-cash-out-reversal","depth":2,"children":[]},{"title":"Reconciliação com o ledger","slug":"reconciliação-com-o-ledger","depth":2,"children":[]},{"title":"Referências","slug":"referências","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"clearpago","siteName":"ClearPago","title":"Enviar Pix por chave (Cash-out) - ClearPago","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-23T18:50:50.142Z","originalFileLocation":"guides/send-pix-cash-out-key.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=\"Fluxo completo de envio por chave Pix: criação, reserva, despacho, confirmação, falha e reconciliação.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ClearPago\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/clearpago/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/clearpago/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/clearpago/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/clearpago/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Enviar Pix por chave (Cash-out) - ClearPago\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fluxo completo de envio por chave Pix: criação, reserva, despacho, confirmação, falha e reconciliação.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ClearPago\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.clearpago.com/guides/send-pix-cash-out-key\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://clearpago.mintlify.app/_mintlify/api/og/v2?division=Guias\u0026amp;title=Enviar+Pix+por+chave+%28Cash-out%29\u0026amp;description=Fluxo+completo+de+envio+por+chave+Pix%3A+cria%C3%A7%C3%A3o%2C+reserva%2C+despacho%2C+confirma%C3%A7%C3%A3o%2C+falha+e+reconcilia%C3%A7%C3%A3o.\u0026amp;theme=d304cf9661ece7b5262fc744\u0026amp;signature=b0c3e4f1349702859987f22276854099cbf49d4670f1484688c0adc754f48415\">\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=\"Enviar Pix por chave (Cash-out) - ClearPago\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fluxo completo de envio por chave Pix: criação, reserva, despacho, confirmação, falha e reconciliação.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://clearpago.mintlify.app/_mintlify/api/og/v2?division=Guias\u0026amp;title=Enviar+Pix+por+chave+%28Cash-out%29\u0026amp;description=Fluxo+completo+de+envio+por+chave+Pix%3A+cria%C3%A7%C3%A3o%2C+reserva%2C+despacho%2C+confirma%C3%A7%C3%A3o%2C+falha+e+reconcilia%C3%A7%C3%A3o.\u0026amp;theme=d304cf9661ece7b5262fc744\u0026amp;signature=b0c3e4f1349702859987f22276854099cbf49d4670f1484688c0adc754f48415\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/clearpago/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ClearPago\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f766e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.clearpago.com/guides/send-pix-cash-out-key\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/send-pix-cash-out-key.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.clearpago.com/#organization\",\"name\":\"ClearPago\",\"url\":\"https://docs.clearpago.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/clearpago/mSJ86kniaUbCKbT4/logo_lightmode.png?fit=max\u0026auto=format\u0026n=mSJ86kniaUbCKbT4\u0026q=85\u0026s=874e04286f63996eee39a525d0e88605\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.clearpago.com#website\",\"name\":\"ClearPago\",\"url\":\"https://docs.clearpago.com\",\"publisher\":{\"@id\":\"https://docs.clearpago.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.clearpago.com/guides/send-pix-cash-out-key#webpage\",\"url\":\"https://docs.clearpago.com/guides/send-pix-cash-out-key\",\"name\":\"Enviar Pix por chave (Cash-out)\",\"description\":\"Fluxo completo de envio por chave Pix: criação, reserva, despacho, confirmação, falha e reconciliação.\",\"dateModified\":\"2026-04-23T18:50:50.142Z\",\"isPartOf\":{\"@id\":\"https://docs.clearpago.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.clearpago.com/guides/send-pix-cash-out-key#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.clearpago.com/guides/send-pix-cash-out-key#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guias\",\"item\":\"https://docs.clearpago.com/guides/receive-pix-cash-in\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enviar Pix por chave (Cash-out)\",\"item\":\"https://docs.clearpago.com/guides/send-pix-cash-out-key\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.clearpago.com/guides/send-pix-cash-out-key#article\",\"headline\":\"Enviar Pix por chave (Cash-out)\",\"name\":\"Enviar Pix por chave (Cash-out)\",\"description\":\"Fluxo completo de envio por chave Pix: criação, reserva, despacho, confirmação, falha e reconciliação.\",\"url\":\"https://docs.clearpago.com/guides/send-pix-cash-out-key\",\"mainEntityOfPage\":{\"@id\":\"https://docs.clearpago.com/guides/send-pix-cash-out-key#webpage\"},\"dateModified\":\"2026-04-23T18:50:50.142Z\",\"publisher\":{\"@id\":\"https://docs.clearpago.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.clearpago.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ClearPago\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ClearPago","nav":{"global":null,"groups":[{"group":"Início","pages":[{"title":"ClearPago — API Pix","href":"/index"}]},{"group":"Introdução","pages":[{"title":"Visão geral","href":"/getting-started/overview"},{"title":"Autenticação","href":"/getting-started/authentication"},{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"Ambientes, headers e convenções","href":"/getting-started/environments-and-headers"},{"title":"Checklist de primeira integração","href":"/getting-started/first-integration-checklist"}]},{"group":"Conceitos","pages":[{"title":"Arquitetura","href":"/core-concepts/architecture"},{"title":"Modelo de identidade","href":"/core-concepts/identity-model"},{"title":"Ciclo de vida das operações","href":"/core-concepts/transaction-lifecycle"},{"title":"Modelo de status","href":"/core-concepts/status-model"},{"title":"Idempotência e correlação","href":"/core-concepts/idempotency-and-correlation"},{"title":"Ledger e saldo","href":"/core-concepts/ledger-and-balance"}]},{"group":"Guias","pages":[{"title":"Receber Pix (Cash-in)","description":"Fluxo completo de recebimento: criar cobrança, gerar QR Code, monitorar pagamento via webhook e consultar status.","href":"/guides/receive-pix-cash-in"},{"title":"Enviar Pix por chave (Cash-out)","href":"/guides/send-pix-cash-out-key"},{"title":"Enviar Pix por QR Code (Cash-out QR)","description":"Fluxo de pagamento a partir de string EMV (pix copia e cola); diferenças em relação ao cash-out por chave.","href":"/guides/send-pix-cash-out-qrcode"},{"title":"Devolver um cash-in (Refund-in)","href":"/guides/refund-a-cash-in"},{"title":"Lidar com reversão de cash-out","href":"/guides/handle-cash-out-reversal"},{"title":"Registrar webhooks do comerciante","href":"/guides/register-merchant-webhooks"},{"title":"Verificar assinaturas de webhook","href":"/guides/verify-webhook-signatures"},{"title":"Reconciliar transações","href":"/guides/reconcile-transactions"}]},{"group":"Referência de API","pages":[{"group":"Cash-in","pages":[{"title":"POST /api/pix/cash-in","href":"/api-reference/create-cash-in"},{"title":"GET /api/pix/cash-in","href":"/api-reference/list-cash-ins"},{"title":"GET /api/pix/cash-in/{id}","href":"/api-reference/get-cash-in"}]},{"group":"Cash-out","pages":[{"title":"POST /api/pix/cash-out","href":"/api-reference/create-cash-out"},{"title":"GET /api/pix/cash-out","href":"/api-reference/list-cash-outs"},{"title":"GET /api/pix/cash-out/{id}","href":"/api-reference/get-cash-out"},{"title":"POST /api/pix/cash-out-qrcode","href":"/api-reference/create-cash-out-qrcode"}]},{"group":"Refund","pages":[{"title":"POST /api/pix/refund-in/{id}","href":"/api-reference/create-refund-in"},{"title":"GET /api/pix/refund","href":"/api-reference/list-refunds"},{"title":"GET /api/pix/refund/{id}","href":"/api-reference/get-refund"}]},{"group":"Ledger","pages":[{"title":"GET /api/pix/ledger","href":"/api-reference/list-ledger-entries"},{"title":"GET /api/pix/ledger/{id}","href":"/api-reference/get-ledger-entry"}]},{"group":"Organização","pages":[{"title":"GET /organization/balance","href":"/api-reference/get-balance"}]},{"group":"Transações","pages":[{"title":"List transactions cash in","href":"/api-reference/list-transactions-cash-in"},{"title":"List transactions cash out","href":"/api-reference/list-transactions-cash-out"}]},{"group":"Webhooks","pages":[{"title":"POST /webhook (registro de notificações)","href":"/api-reference/register-webhook"},{"title":"GET /webhook","href":"/api-reference/list-webhooks"},{"title":"DELETE /webhook/{webhook_id}","href":"/api-reference/delete-webhook"},{"title":"GET /public-key","href":"/api-reference/get-public-key"}]}]},{"group":"Webhooks","pages":[{"title":"Webhooks: parceiro → ClearPago","href":"/webhooks/partner-to-clearpago"},{"title":"Webhooks: ClearPago → comerciante","href":"/webhooks/clearpago-to-merchant"},{"title":"Referência de payloads (webhooks)","href":"/webhooks/webhook-event-reference"}]},{"group":"Ledger e Reconciliação","pages":[{"title":"Ledger — Visão geral","href":"/ledger-and-reconciliation/ledger-overview"},{"title":"Reconciliação","href":"/ledger-and-reconciliation/reconciliation"},{"title":"Monitoramento operacional","href":"/ledger-and-reconciliation/operational-monitoring"}]},{"group":"Erros","pages":[{"title":"Tratamento de erros","href":"/errors/error-handling"},{"title":"Códigos, sintomas e ações","href":"/errors/error-codes"},{"title":"Troubleshooting","href":"/errors/troubleshooting"}]},{"group":"Go-live","pages":[{"title":"Checklist de produção","href":"/go-live/production-checklist"},{"title":"Checklist de segurança","href":"/go-live/security-checklist"},{"title":"Checklist de observabilidade","href":"/go-live/observability-checklist"}]},{"group":"FAQ","pages":[{"title":"Perguntas frequentes","href":"/faq/index"}]}]},"title":"Enviar Pix por chave (Cash-out) - ClearPago","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":[],"chunks":[]}