Marque uma transação pix ou voucher como paga fora da Pagou, por exemplo quando o comprador pagou por transferência depois que a cobrança expirou. Use na URL o UUID retornado como id da transação e autentique com a API key da sua empresa.A transação vai para paid_externally pelo valor integral, e a Pagou executa o mesmo fluxo de entrega de uma venda paga: o webhook transaction.paid (com status: "paid_externally"), o e-mail de confirmação ao comprador e as integrações de tracking.
Nenhum dinheiro passa pela Pagou nessa venda: ela não gera saldo, liquidação nem taxa da venda, e não pode ser reembolsada nem desfeita. Serviços que sua empresa habilitou, como o e-mail de confirmação ao comprador, seguem cobrados normalmente. Sua integração precisa liberar pedidos em paid_externally além de paid.
Quais transações podem ser marcadas
Método de pagamento pix ou voucher.
Status pending ou expired, sem pagamento anterior.
Transações de cartão, canceladas, pagas ou reembolsadas retornam 422. Quando a cobrança ainda está aberta, a Pagou também tenta cancelá-la; a marcação acontece mesmo que o cancelamento não seja concluído.
Campos da requisição
Campo
Tipo
Obrigatório
Restrições
reason
string
Sim
Sem espaços nas pontas, 1–500 caracteres, sem caracteres de controle ASCII.
external_reference
string | null
Não
Sem espaços nas pontas, 1–255 caracteres, sem caracteres de controle ASCII. Sua referência do pagamento externo.
Idempotência
Chamar de novo para uma transação já marcada devolve o estado atual com 200, sem nenhum outro efeito: nem segundo webhook, nem segundo e-mail. O reason e o external_reference da nova chamada são ignorados; valem os da primeira marcação.
Se o comprador também pagar pela Pagou
Se a cobrança original for paga depois da marcação, a transação vai para paid e o dinheiro segue o fluxo normal, com a taxa. Nenhum segundo transaction.paid é enviado, para o pedido não ser liberado duas vezes. Devolver esse pagamento ao comprador segue o fluxo normal de reembolso.
Erros
Status
Significado
400
Requisição malformada.
401
Credencial ausente ou inválida.
404
Transação não encontrada para esta empresa.
422
Validação falhou, ou a transação não pode ser marcada (o detail diz o motivo).
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Pagou Developer Docs","description":"Integrate payments, subscriptions, payouts, webhooks, and frontend card flows with Pagou.ai API.","colors":{"primary":"#198754","light":"#07C983","dark":"#198754"},"logo":{"light":"https://mintcdn.com/pagouai/G-8AHDSd0H3lSbe_/logo/logo-long.webp?fit=max\u0026auto=format\u0026n=G-8AHDSd0H3lSbe_\u0026q=85\u0026s=f29ebde8b8d8c96183843fc8bc58e508","dark":"https://mintcdn.com/pagouai/G-8AHDSd0H3lSbe_/logo/logo-long-dark.webp?fit=max\u0026auto=format\u0026n=G-8AHDSd0H3lSbe_\u0026q=85\u0026s=838f22bb8beb6e11ce9c45d0e3dba402"},"favicon":"https://mintcdn.com/pagouai/G-8AHDSd0H3lSbe_/logo/logo-short.webp?fit=max\u0026auto=format\u0026n=G-8AHDSd0H3lSbe_\u0026q=85\u0026s=38c30337b736500dd5c2667b1820ba19","background":{"decoration":"windows"},"navbar":{"links":[{"icon":"bot","href":"/start-here/ai-integration","label":"Integrate with AI"},{"icon":"activity","href":"https://status.pagou.ai","label":"Status"},{"icon":"arrow-up-right","href":"https://pagou.ai","label":"Pagou.ai"}]},"footer":{},"fonts":{"family":"Google Sans"},"icons":{"library":"lucide"},"integrations":{"intercom":{"appId":"uhg6tri7"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"AI Integration","icon":"bot","href":"/start-here/ai-integration"},{"anchor":"API status","href":"https://status.pagou.ai"},{"anchor":"GitHub","href":"https://github.com/pagouai"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"pt-BR","href":"pt"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pagouai","hasAudioNarration":false,"actualSubdomain":"pagouai","customDomains":["developer.pagou.ai"],"gitSource":{"type":"github","owner":"pagouai","repo":"gateway-backend","deployBranch":"main","contentDirectory":"packages/docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af6f05a3b5d1dd9e7c684b9","clientVersion":"0.0.4138","searchFilterCounts":[{"language":"en","tag":"API Reference","count":37},{"language":"pt-BR","tag":"Referência API","count":37},{"language":"en","tag":"Payments","count":15},{"language":"pt-BR","tag":"Pagamentos","count":15},{"language":"en","tag":"Subscriptions","count":13},{"language":"en","tag":"Start Here","count":13},{"language":"pt-BR","tag":"Assinaturas","count":13},{"language":"pt-BR","tag":"Comece Aqui","count":13},{"language":"en","tag":"Webhooks","count":12},{"language":"pt-BR","tag":"Webhooks","count":12},{"language":"pt-BR","tag":"Transferências","count":10},{"language":"en","tag":"Legacy v1","count":9},{"language":"en","tag":"Front-end","count":9},{"language":"pt-BR","tag":"Legado v1","count":9},{"language":"pt-BR","tag":"Frontend","count":9},{"language":"en","tag":"Transactions","count":8},{"language":"pt-BR","tag":"Transações","count":8},{"language":"en","tag":"Resources","count":7},{"language":"en","tag":"Examples","count":7},{"language":"pt-BR","tag":"Recursos","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--pagou-ink: #0f172a;--pagou-mint: #07c983;--pagou-emerald: #16a34a;--pagou-forest: #14532d;--pagou-sand: #f8fafc;--pagou-border: rgba(15, 23, 42, 0.08)}.hero-shell{background:radial-gradient(circle at 18% 12%, rgba(7, 201, 131, 0.16), transparent 26%),\n\t\tradial-gradient(circle at 88% 10%, rgba(25, 135, 84, 0.12), transparent 22%),\n\t\tradial-gradient(circle at 50% 100%, rgba(22, 163, 74, 0.16), transparent 36%),\n\t\tlinear-gradient(180deg, rgba(8, 18, 14, 0.98) 0%, rgba(4, 12, 10, 0.96) 100%);border:1px solid rgba(52, 211, 153, 0.16);border-radius:28px;box-shadow:0 24px 80px rgba(2, 6, 23, 0.42);overflow:hidden;padding:2.4rem;position:relative}.hero-shell::after{background:radial-gradient(circle at 20% 100%, rgba(8, 201, 131, 0.12), transparent 26%),\n\t\tradial-gradient(circle at 70% 100%, rgba(163, 230, 53, 0.12), transparent 24%);bottom:-18%;content:\"\";height:54%;left:-6%;position:absolute;right:-6%}.hero-content{position:relative;z-index:1}.hero-kicker{color:#7ee7b8;font-size:0.8rem;font-weight:700;letter-spacing:0.14em;text-transform:uppercase}.hero-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit, minmax(220px, 1fr))}.hero-panel{background:rgba(11, 24, 20, 0.76);border:1px solid rgba(52, 211, 153, 0.16);border-radius:18px;padding:1rem;backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.03)}.hero-shell h1,.hero-shell p,.hero-shell strong{color:rgba(241, 245, 249, 0.96)}.home-section{margin-top:2.4rem}.checklist-band{background:linear-gradient(90deg, rgba(20, 83, 45, 0.95), rgba(22, 163, 74, 0.92));border-radius:22px;color:white;padding:1.25rem 1.5rem}.checklist-band strong,.checklist-band code{color:white}.doc-note-grid{display:grid;gap:0.8rem;grid-template-columns:repeat(auto-fit, minmax(180px, 1fr))}.doc-note{background:linear-gradient(180deg, rgba(7, 201, 131, 0.08), rgba(22, 163, 74, 0.02));border:1px solid rgba(7, 201, 131, 0.16);border-radius:18px;padding:1rem}.legacy-banner{background:linear-gradient(90deg, rgba(127, 29, 29, 0.08), rgba(180, 83, 9, 0.08));border:1px solid rgba(180, 83, 9, 0.18);border-radius:18px;padding:1rem 1.1rem}.status-table strong{color:var(--pagou-ink)}"}],"page":{"pagePath":"pt/api-reference/transactions/paid-externally","slug":"/pt/api-reference/transactions/paid-externally","pageMetadata":{"title":"Marcar transação como paga externamente","description":"Registre uma venda pix ou voucher que o comprador pagou fora da Pagou.","icon":"hand-coins","openapi":"api-reference/openapi-v2.json PUT /v2/transactions/{id}/paid-externally","href":"/pt/api-reference/transactions/paid-externally"},"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: \"Registre uma venda pix ou voucher que o comprador pagou fora da Pagou.\"\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,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Marque uma transação pix ou voucher como `,_jsx(_components.strong,{children:`paga fora da Pagou`}),`, por exemplo quando o comprador pagou por transferência depois que a cobrança expirou. Use na URL o UUID retornado como `,_jsx(_components.code,{children:`id`}),` da transação e autentique com a API key da sua empresa.`]}),`\n`,_jsxs(_components.p,{children:[`A transação vai para `,_jsx(_components.code,{children:`paid_externally`}),` pelo valor integral, e a Pagou executa o mesmo fluxo de entrega de uma venda paga: o webhook `,_jsx(_components.code,{children:`transaction.paid`}),` (com `,_jsx(_components.code,{children:`status: \"paid_externally\"`}),`), o e-mail de confirmação ao comprador e as integrações de tracking.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Nenhum dinheiro passa pela Pagou nessa venda: ela não gera saldo, liquidação nem taxa da venda, e não pode ser reembolsada nem desfeita. Serviços que sua empresa habilitou, como o e-mail de confirmação ao comprador, seguem cobrados normalmente. Sua integração precisa liberar pedidos em `,_jsx(_components.code,{children:`paid_externally`}),` além de `,_jsx(_components.code,{children:`paid`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`quais-transações-podem-ser-marcadas`,children:`Quais transações podem ser marcadas`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Método de pagamento `,_jsx(_components.code,{children:`pix`}),` ou `,_jsx(_components.code,{children:`voucher`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Status `,_jsx(_components.code,{children:`pending`}),` ou `,_jsx(_components.code,{children:`expired`}),`, sem pagamento anterior.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Transações de cartão, canceladas, pagas ou reembolsadas retornam `,_jsx(_components.code,{children:`422`}),`. Quando a cobrança ainda está aberta, a Pagou também tenta cancelá-la; a marcação acontece mesmo que o cancelamento não seja concluído.`]}),`\n`,_jsx(Heading,{level:`2`,id:`campos-da-requisição`,children:`Campos da requisição`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Obrigatório`}),_jsx(_components.th,{children:`Restrições`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reason`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Sim`}),_jsx(_components.td,{children:`Sem espaços nas pontas, 1–500 caracteres, sem caracteres de controle ASCII.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`external_reference`})}),_jsx(_components.td,{children:`string | null`}),_jsx(_components.td,{children:`Não`}),_jsx(_components.td,{children:`Sem espaços nas pontas, 1–255 caracteres, sem caracteres de controle ASCII. Sua referência do pagamento externo.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`idempotência`,children:`Idempotência`}),`\n`,_jsxs(_components.p,{children:[`Chamar de novo para uma transação já marcada devolve o estado atual com `,_jsx(_components.code,{children:`200`}),`, sem nenhum outro efeito: nem segundo webhook, nem segundo e-mail. O `,_jsx(_components.code,{children:`reason`}),` e o `,_jsx(_components.code,{children:`external_reference`}),` da nova chamada são ignorados; valem os da primeira marcação.`]}),`\n`,_jsx(Heading,{level:`2`,id:`se-o-comprador-também-pagar-pela-pagou`,children:`Se o comprador também pagar pela Pagou`}),`\n`,_jsxs(_components.p,{children:[`Se a cobrança original for paga depois da marcação, a transação vai para `,_jsx(_components.code,{children:`paid`}),` e o dinheiro segue o fluxo normal, com a taxa. Nenhum segundo `,_jsx(_components.code,{children:`transaction.paid`}),` é enviado, para o pedido não ser liberado duas vezes. Devolver esse pagamento ao comprador segue o fluxo normal de reembolso.`]}),`\n`,_jsx(Heading,{level:`2`,id:`erros`,children:`Erros`}),`\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:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:`Requisição malformada.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:`Credencial ausente ou inválida.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:`Transação não encontrada para esta empresa.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`422`})}),_jsxs(_components.td,{children:[`Validação falhou, ou a transação não pode ser marcada (o `,_jsx(_components.code,{children:`detail`}),` diz o motivo).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:`Limite de requisições excedido.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`exemplo`,children:`Exemplo`}),`\n`,_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:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.pagou.ai/v2/transactions/{id}/paid-externally\"`}),_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 \u003cAPI_KEY>\"`}),_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:` \"reason\": \"Pago por transferência bancária\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"external_reference\": \"TED-2026-10-27-0042\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A resposta traz a transação no mesmo formato de `,_jsx(_components.a,{href:`/pt/api-reference/transactions/get`,children:`Consultar transação`}),`, com `,_jsx(_components.code,{children:`status: \"paid_externally\"`}),`.`]})]})}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":"Marcar transação como paga externamente","description":"Registre uma venda pix ou voucher que o comprador pagou fora da Pagou.","icon":"hand-coins","openapi":"api-reference/openapi-v2.json PUT /v2/transactions/{id}/paid-externally","href":"/pt/api-reference/transactions/paid-externally"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Quais transações podem ser marcadas","slug":"quais-transações-podem-ser-marcadas","depth":2,"children":[]},{"title":"Campos da requisição","slug":"campos-da-requisição","depth":2,"children":[]},{"title":"Idempotência","slug":"idempotência","depth":2,"children":[]},{"title":"Se o comprador também pagar pela Pagou","slug":"se-o-comprador-também-pagar-pela-pagou","depth":2,"children":[]},{"title":"Erros","slug":"erros","depth":2,"children":[]},{"title":"Exemplo","slug":"exemplo","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Transactions"],"description":"Registre uma venda pix ou voucher que o comprador pagou fora da Pagou.","requestBody":"be7fda0c-183f-4bf5-b3aa-9c67d3ab72c1","parameters":["7f0778c7-44ce-4a6a-9055-25b643b65709"],"responses":{"200":"24c1a8eb-4e02-4ee8-afe6-8535b43e82ea","400":"fa0a47c3-97c2-4cc5-b5ae-dd1570b65921","401":"51e494e3-3000-4a1d-96a9-0387dc3b2d57","404":"62d9c298-affa-4af3-a284-8239d39da6da","422":"389d98d9-0002-4c91-a417-89f3caadb49f","429":"1adf06cb-cce3-4ddd-ad9f-83e4ee3b3fec","default":"743485d4-6865-4eb0-85ae-514da99944cd"},"operationId":"putTransactionsByIdPaidExternally","summary":"Mark a Transaction as Paid Externally","security":["afe9a98a-6f63-43e1-b159-d6c0c32e064f","cd709238-a039-4db2-9ce0-6a37e69bba98","cff0a17c-39c5-458a-9480-8031a68b819a"],"method":"put","type":"path","servers":["3d1258f3-8cda-4ff0-af2f-e87ff01aab1e","0bd67821-6a1c-4c93-8153-9d245ba034fb"],"path":"/v2/transactions/{id}/paid-externally","baseUrlOptions":["https://api.pagou.ai","https://api.sandbox.pagou.ai"],"title":"Mark a Transaction as Paid Externally","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"7f0778c7-44ce-4a6a-9055-25b643b65709":{"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"in":"path","name":"id","required":true}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":500,"description":"Why the sale is being marked as paid outside the platform. Required.","example":"Pago por transferência bancária","isRequired":true,"uniqueKey":"reason","typeLabel":"string"},"external_reference":{"oneOf":[{"description":"Your own reference for the outside payment, such as a bank transfer id.","example":"TED-2026-10-27-0042","type":"string","minLength":1,"maxLength":255,"uniqueKey":"external_reference.oneOf.0","typeLabel":"string"},{"description":"Your own reference for the outside payment, such as a bank transfer id.","example":"TED-2026-10-27-0042","type":"null","minLength":1,"maxLength":255,"uniqueKey":"external_reference.oneOf.1","typeLabel":"null"}],"uniqueKey":"external_reference","typeLabel":"string | null"}},"required":["reason"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"reason":"Pago por transferência bancária","external_reference":"TED-2026-10-27-0042"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"24c1a8eb-4e02-4ee8-afe6-8535b43e82ea":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"requestId":{"type":"string","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"data":{"type":"object","properties":{"id":{"description":"Unique identifier of the transaction (numeric or UUID).","type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"amount":{"type":"integer","minimum":100,"maximum":100000000,"description":"Total transaction amount in cents. When the buyer pays installment interest, `GET /v2/transactions/{id}` returns the amount before interest here, the same as `base_amount`.","isRequired":true,"uniqueKey":"data.amount","typeLabel":"integer"},"currency":{"type":"string","enum":["ARS","BOB","BRL","CLP","COP","CRC","GTQ","MXN","PYG","PEN","USD","UYU"],"description":"Currency of the transaction.","default":"BRL","isRequired":true,"uniqueKey":"data.currency","typeLabel":"enum\u003cstring>"},"buyer":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the buyer.","format":"uuid","isRequired":true,"uniqueKey":"data.buyer.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"Full name of the buyer.","isRequired":true,"uniqueKey":"data.buyer.name","typeLabel":"string"},"email":{"type":"string","format":"email","pattern":"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$","description":"Email address of the buyer.","isRequired":true,"uniqueKey":"data.buyer.email","typeLabel":"string\u003cemail>"},"phone":{"type":"string","description":"Phone number of the buyer.","isRequired":true,"uniqueKey":"data.buyer.phone","typeLabel":"string"},"birth_date":{"type":"string","description":"Birth date of the buyer.","isRequired":true,"uniqueKey":"data.buyer.birth_date","typeLabel":"string"},"document":{"type":"object","properties":{"type":{"type":"string","enum":["DNI","CUIT","CI","CE","NIT","CPF","CNPJ","RUT","RUN","CC","CDI","PP","RUC","PAS","DPI","CUI","RFC","CURP"],"isRequired":true,"uniqueKey":"data.buyer.document.type","typeLabel":"enum\u003cstring>"},"number":{"type":"string","isRequired":true,"uniqueKey":"data.buyer.document.number","typeLabel":"string"}},"required":["type","number"],"additionalProperties":false,"description":"Buyer document information.","isRequired":true,"uniqueKey":"data.buyer.document","typeLabel":"object"},"address":{"type":"object","properties":{"street":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"uniqueKey":"data.buyer.address.street","typeLabel":"string"},"city":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"uniqueKey":"data.buyer.address.city","typeLabel":"string"},"country":{"default":"BR","type":"string","enum":["AR","BO","BR","CL","CO","CR","EC","GT","MX","PA","PY","PE","UY"],"isRequired":true,"uniqueKey":"data.buyer.address.country","typeLabel":"enum\u003cstring>"},"number":{"type":"string","maxLength":255,"uniqueKey":"data.buyer.address.number","typeLabel":"string"},"complement":{"oneOf":[{"type":"string","maxLength":255,"uniqueKey":"data.buyer.address.complement.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":255,"uniqueKey":"data.buyer.address.complement.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.buyer.address.complement","typeLabel":"string | null"},"neighborhood":{"type":"string","maxLength":255,"uniqueKey":"data.buyer.address.neighborhood","typeLabel":"string"},"state":{"type":"string","minLength":2,"maxLength":3,"pattern":"^[\\p{L}\\p{N}]{2,3}$","uniqueKey":"data.buyer.address.state","typeLabel":"string"},"zipCode":{"type":"string","maxLength":255,"uniqueKey":"data.buyer.address.zipCode","typeLabel":"string"}},"required":["street","city","country"],"additionalProperties":false,"description":"Buyer billing or shipping address.","isRequired":true,"uniqueKey":"data.buyer.address","typeLabel":"object"}},"required":["id","name","email","phone","birth_date","document","address"],"additionalProperties":false,"description":"Buyer details associated with the transaction.","isRequired":true,"uniqueKey":"data.buyer","typeLabel":"object"},"fee":{"type":"object","properties":{"net_amount":{"type":"integer","minimum":0,"maximum":100000000,"description":"Net amount in cents that will be settled after fees.","isRequired":true,"uniqueKey":"data.fee.net_amount","typeLabel":"integer"},"estimated_fee":{"type":"integer","minimum":0,"maximum":100000000,"description":"Estimated processing fee in cents for this transaction.","isRequired":true,"uniqueKey":"data.fee.estimated_fee","typeLabel":"integer"}},"required":["net_amount","estimated_fee"],"additionalProperties":false,"description":"Fee breakdown for the transaction.","isRequired":true,"uniqueKey":"data.fee","typeLabel":"object"},"paid_amount":{"type":"integer","minimum":0,"maximum":100000000,"description":"Total amount in cents that has been paid.","isRequired":true,"uniqueKey":"data.paid_amount","typeLabel":"integer"},"method":{"type":"string","enum":["pix","voucher","credit_card"],"description":"Payment method actually used in the transaction.","default":"pix","isRequired":true,"uniqueKey":"data.method","typeLabel":"enum\u003cstring>"},"refunded_amount":{"type":"integer","minimum":0,"maximum":100000000,"description":"Total refunded amount in cents for this transaction.","isRequired":true,"uniqueKey":"data.refunded_amount","typeLabel":"integer"},"products":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":255,"description":"Product name or title.","isRequired":true,"uniqueKey":"data.products.items.[INDEX].name","typeLabel":"string"},"price":{"type":"integer","minimum":0,"maximum":100000000,"description":"Unit price in cents for the product.","isRequired":true,"uniqueKey":"data.products.items.[INDEX].price","typeLabel":"integer"},"quantity":{"type":"integer","minimum":1,"maximum":999999,"description":"Quantity of this product.","isRequired":true,"uniqueKey":"data.products.items.[INDEX].quantity","typeLabel":"integer"}},"required":["name","price","quantity"],"additionalProperties":false,"uniqueKey":"data.products.items.[INDEX]","typeLabel":"object"},"description":"List of products included in the transaction.","isRequired":true,"uniqueKey":"data.products","typeLabel":"object[]"},"traceable":{"type":"boolean","description":"Indicates whether the transaction is traceable.","isRequired":true,"uniqueKey":"data.traceable","typeLabel":"boolean"},"status":{"type":"string","enum":["authorized","canceled","captured","chargedback","three_ds_required","expired","in_protest","paid","paid_externally","partially_paid","partially_refunded","pending","processing","processed","refunded","med","pre_chargedback","refused"],"description":"Current external status of the transaction.","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"created_at":{"description":"Date and time when the transaction was created.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"description":"Date and time when the transaction was last updated.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.updated_at","typeLabel":"string\u003cdate-time>"},"base_amount":{"description":"Amount you sent, before any installment interest, in cents and in the transaction currency.","type":"integer","minimum":0,"maximum":9007199254740991,"uniqueKey":"data.base_amount","typeLabel":"integer"},"voucher":{"oneOf":[{"type":"object","properties":{"barcode":{"oneOf":[{"description":"Barcode string for boleto or voucher, when applicable.","type":"string","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.barcode.oneOf.0","typeLabel":"string"},{"description":"Barcode string for boleto or voucher, when applicable.","type":"null","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.barcode.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.voucher.oneOf.0.barcode","typeLabel":"string | null"},"digitable_line":{"oneOf":[{"description":"Digitable line representation of the boleto or voucher.","type":"string","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.digitable_line.oneOf.0","typeLabel":"string"},{"description":"Digitable line representation of the boleto or voucher.","type":"null","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.digitable_line.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.voucher.oneOf.0.digitable_line","typeLabel":"string | null"},"url":{"oneOf":[{"description":"URL where the boleto or voucher can be viewed or downloaded.","type":"string","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.url.oneOf.0","typeLabel":"string"},{"description":"URL where the boleto or voucher can be viewed or downloaded.","type":"null","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.voucher.oneOf.0.url","typeLabel":"string | null"},"expiration_date":{"oneOf":[{"description":"Expiration date of the boleto or voucher.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.expiration_date.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"Expiration date of the boleto or voucher.","type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.expiration_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.voucher.oneOf.0.expiration_date","typeLabel":"string\u003cdate-time> | null"},"instructions":{"oneOf":[{"description":"Additional payment instructions for the boleto or voucher.","type":"string","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.instructions.oneOf.0","typeLabel":"string"},{"description":"Additional payment instructions for the boleto or voucher.","type":"null","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.instructions.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.voucher.oneOf.0.instructions","typeLabel":"string | null"},"receipt_url":{"oneOf":[{"description":"URL to access the payment receipt, when available.","type":"string","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.receipt_url.oneOf.0","typeLabel":"string"},{"description":"URL to access the payment receipt, when available.","type":"null","isRequired":true,"uniqueKey":"data.voucher.oneOf.0.receipt_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.voucher.oneOf.0.receipt_url","typeLabel":"string | null"}},"required":["barcode","digitable_line","url","expiration_date","instructions","receipt_url"],"additionalProperties":false,"uniqueKey":"data.voucher.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"barcode":{"oneOf":[{"description":"Barcode string for boleto or voucher, when applicable.","type":"string"},{"description":"Barcode string for boleto or voucher, when applicable.","type":"null"}]},"digitable_line":{"oneOf":[{"description":"Digitable line representation of the boleto or voucher.","type":"string"},{"description":"Digitable line representation of the boleto or voucher.","type":"null"}]},"url":{"oneOf":[{"description":"URL where the boleto or voucher can be viewed or downloaded.","type":"string"},{"description":"URL where the boleto or voucher can be viewed or downloaded.","type":"null"}]},"expiration_date":{"oneOf":[{"description":"Expiration date of the boleto or voucher.","type":"string","format":"date-time"},{"description":"Expiration date of the boleto or voucher.","type":"null","format":"date-time"}]},"instructions":{"oneOf":[{"description":"Additional payment instructions for the boleto or voucher.","type":"string"},{"description":"Additional payment instructions for the boleto or voucher.","type":"null"}]},"receipt_url":{"oneOf":[{"description":"URL to access the payment receipt, when available.","type":"string"},{"description":"URL to access the payment receipt, when available.","type":"null"}]}},"required":["barcode","digitable_line","url","expiration_date","instructions","receipt_url"],"additionalProperties":false,"uniqueKey":"data.voucher.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.voucher","typeLabel":"object | null"},"external_ref":{"oneOf":[{"description":"External reference originally provided by your system.","type":"string","uniqueKey":"data.external_ref.oneOf.0","typeLabel":"string"},{"description":"External reference originally provided by your system.","type":"null","uniqueKey":"data.external_ref.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.external_ref","typeLabel":"string | null"},"installments":{"oneOf":[{"description":"Number of installments for the transaction, if applicable.","type":"integer","minimum":1,"maximum":18,"uniqueKey":"data.installments.oneOf.0","typeLabel":"integer"},{"description":"Number of installments for the transaction, if applicable.","type":"null","minimum":1,"maximum":18,"uniqueKey":"data.installments.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.installments","typeLabel":"integer | null"},"informations":{"description":"Custom key/value metadata you attached on create, echoed back.","type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Key of the additional information entry.","isRequired":true,"uniqueKey":"data.informations.items.[INDEX].key","typeLabel":"string"},"value":{"type":"string","description":"Value of the additional information entry.","isRequired":true,"uniqueKey":"data.informations.items.[INDEX].value","typeLabel":"string"}},"required":["key","value"],"additionalProperties":false,"uniqueKey":"data.informations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.informations","typeLabel":"object[]"},"paid_at":{"oneOf":[{"description":"Timestamp of when the transaction was paid, if applicable.","type":"string","format":"date-time","uniqueKey":"data.paid_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"description":"Timestamp of when the transaction was paid, if applicable.","type":"null","format":"date-time","uniqueKey":"data.paid_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.paid_at","typeLabel":"string\u003cdate-time> | null"},"pix":{"oneOf":[{"description":"PIX payment details when the method is PIX.","type":"object","properties":{"qr_code":{"type":"string","description":"PIX QR code payload for payment.","isRequired":true,"uniqueKey":"data.pix.oneOf.0.qr_code","typeLabel":"string"},"expiration_date":{"description":"PIX QR code expiration date.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.pix.oneOf.0.expiration_date","typeLabel":"string\u003cdate-time>"},"end_to_end_id":{"oneOf":[{"description":"End-to-end identifier assigned to the PIX payment, when available.","type":"string","isRequired":true,"uniqueKey":"data.pix.oneOf.0.end_to_end_id.oneOf.0","typeLabel":"string"},{"description":"End-to-end identifier assigned to the PIX payment, when available.","type":"null","isRequired":true,"uniqueKey":"data.pix.oneOf.0.end_to_end_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.pix.oneOf.0.end_to_end_id","typeLabel":"string | null"},"receipt_url":{"oneOf":[{"description":"URL to access the PIX payment receipt, when available.","type":"string","isRequired":true,"uniqueKey":"data.pix.oneOf.0.receipt_url.oneOf.0","typeLabel":"string"},{"description":"URL to access the PIX payment receipt, when available.","type":"null","isRequired":true,"uniqueKey":"data.pix.oneOf.0.receipt_url.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.pix.oneOf.0.receipt_url","typeLabel":"string | null"}},"required":["qr_code","expiration_date","end_to_end_id","receipt_url"],"additionalProperties":false,"uniqueKey":"data.pix.oneOf.0","typeLabel":"object"},{"description":"PIX payment details when the method is PIX.","type":"null","properties":{"qr_code":{"type":"string","description":"PIX QR code payload for payment."},"expiration_date":{"description":"PIX QR code expiration date.","type":"string","format":"date-time"},"end_to_end_id":{"oneOf":[{"description":"End-to-end identifier assigned to the PIX payment, when available.","type":"string"},{"description":"End-to-end identifier assigned to the PIX payment, when available.","type":"null"}]},"receipt_url":{"oneOf":[{"description":"URL to access the PIX payment receipt, when available.","type":"string"},{"description":"URL to access the PIX payment receipt, when available.","type":"null"}]}},"required":["qr_code","expiration_date","end_to_end_id","receipt_url"],"additionalProperties":false,"uniqueKey":"data.pix.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.pix","typeLabel":"object | null"},"metadata":{"oneOf":[{"description":"Arbitrary key-value metadata associated with the transaction.","type":"object","additionalProperties":{"type":"string","uniqueKey":"data.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"data.metadata.oneOf.0","typeLabel":"object"},{"description":"Arbitrary key-value metadata associated with the transaction.","type":"null","additionalProperties":{"type":"string","uniqueKey":"data.metadata.oneOf.1.additionalProperties","typeLabel":"string"},"uniqueKey":"data.metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.metadata","typeLabel":"object | null"},"ip_address":{"oneOf":[{"type":"string","description":"IPv4 or IPv6 address associated with the transaction.","format":"ipv4","pattern":"^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$","uniqueKey":"data.ip_address.oneOf.0","typeLabel":"string\u003cipv4>"},{"type":"string","description":"IPv4 or IPv6 address associated with the transaction.","format":"ipv6","pattern":"^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$","uniqueKey":"data.ip_address.oneOf.1","typeLabel":"string\u003cipv6>"},{"type":"null","uniqueKey":"data.ip_address.oneOf.2","typeLabel":"null"}],"uniqueKey":"data.ip_address","typeLabel":"string\u003cipv4> | string\u003cipv6> | null"},"next_action":{"oneOf":[{"description":"Next action required to complete the transaction, such as 3DS authentication.","type":"object","properties":{"type":{"type":"string","enum":["three_ds_challenge"],"description":"The type of next action required.","isRequired":true,"uniqueKey":"data.next_action.oneOf.0.type","typeLabel":"enum\u003cstring>"},"challenge_session_id":{"type":"string","description":"Challenge session identifier for 3DS resolution.","isRequired":true,"uniqueKey":"data.next_action.oneOf.0.challenge_session_id","typeLabel":"string"},"client_secret":{"type":"string","description":"Client secret for SDK polling authentication.","isRequired":true,"uniqueKey":"data.next_action.oneOf.0.client_secret","typeLabel":"string"},"expires_at":{"description":"Expiration timestamp for the challenge session.","type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.next_action.oneOf.0.expires_at","typeLabel":"string\u003cdate-time>"},"three_ds_stage":{"description":"Whether the challenge runs before or after the charge. Absent means post_charge.","type":"string","enum":["pre_charge","post_charge"],"uniqueKey":"data.next_action.oneOf.0.three_ds_stage","typeLabel":"enum\u003cstring>"}},"required":["type","challenge_session_id","client_secret","expires_at"],"additionalProperties":false,"uniqueKey":"data.next_action.oneOf.0","typeLabel":"object"},{"description":"Next action required to complete the transaction, such as 3DS authentication.","type":"null","properties":{"type":{"type":"string","enum":["three_ds_challenge"],"description":"The type of next action required."},"challenge_session_id":{"type":"string","description":"Challenge session identifier for 3DS resolution."},"client_secret":{"type":"string","description":"Client secret for SDK polling authentication."},"expires_at":{"description":"Expiration timestamp for the challenge session.","type":"string","format":"date-time"},"three_ds_stage":{"description":"Whether the challenge runs before or after the charge. Absent means post_charge.","type":"string","enum":["pre_charge","post_charge"]}},"required":["type","challenge_session_id","client_secret","expires_at"],"additionalProperties":false,"uniqueKey":"data.next_action.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.next_action","typeLabel":"object | null"},"attribution":{"oneOf":[{"description":"Marketing attribution captured at checkout. Null for transactions created directly through the API.","type":"object","properties":{"utm_source":{"oneOf":[{"description":"Traffic source that brought the buyer, from `utm_source`.","type":"string","uniqueKey":"data.attribution.oneOf.0.utm_source.oneOf.0","typeLabel":"string"},{"description":"Traffic source that brought the buyer, from `utm_source`.","type":"null","uniqueKey":"data.attribution.oneOf.0.utm_source.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.utm_source","typeLabel":"string | null"},"utm_medium":{"oneOf":[{"description":"Marketing medium, from `utm_medium`.","type":"string","uniqueKey":"data.attribution.oneOf.0.utm_medium.oneOf.0","typeLabel":"string"},{"description":"Marketing medium, from `utm_medium`.","type":"null","uniqueKey":"data.attribution.oneOf.0.utm_medium.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.utm_medium","typeLabel":"string | null"},"utm_campaign":{"oneOf":[{"description":"Campaign name, from `utm_campaign`.","type":"string","uniqueKey":"data.attribution.oneOf.0.utm_campaign.oneOf.0","typeLabel":"string"},{"description":"Campaign name, from `utm_campaign`.","type":"null","uniqueKey":"data.attribution.oneOf.0.utm_campaign.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.utm_campaign","typeLabel":"string | null"},"utm_content":{"oneOf":[{"description":"Creative or ad variation, from `utm_content`.","type":"string","uniqueKey":"data.attribution.oneOf.0.utm_content.oneOf.0","typeLabel":"string"},{"description":"Creative or ad variation, from `utm_content`.","type":"null","uniqueKey":"data.attribution.oneOf.0.utm_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.utm_content","typeLabel":"string | null"},"utm_term":{"oneOf":[{"description":"Paid keyword or term, from `utm_term`.","type":"string","uniqueKey":"data.attribution.oneOf.0.utm_term.oneOf.0","typeLabel":"string"},{"description":"Paid keyword or term, from `utm_term`.","type":"null","uniqueKey":"data.attribution.oneOf.0.utm_term.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.utm_term","typeLabel":"string | null"},"fbc":{"oneOf":[{"description":"Meta click identifier captured at checkout.","type":"string","uniqueKey":"data.attribution.oneOf.0.fbc.oneOf.0","typeLabel":"string"},{"description":"Meta click identifier captured at checkout.","type":"null","uniqueKey":"data.attribution.oneOf.0.fbc.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.fbc","typeLabel":"string | null"},"fbp":{"oneOf":[{"description":"Meta browser identifier captured at checkout.","type":"string","uniqueKey":"data.attribution.oneOf.0.fbp.oneOf.0","typeLabel":"string"},{"description":"Meta browser identifier captured at checkout.","type":"null","uniqueKey":"data.attribution.oneOf.0.fbp.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.fbp","typeLabel":"string | null"},"gclid":{"oneOf":[{"description":"Google Ads click identifier captured at checkout.","type":"string","uniqueKey":"data.attribution.oneOf.0.gclid.oneOf.0","typeLabel":"string"},{"description":"Google Ads click identifier captured at checkout.","type":"null","uniqueKey":"data.attribution.oneOf.0.gclid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.gclid","typeLabel":"string | null"},"ttclid":{"oneOf":[{"description":"TikTok Ads click identifier captured at checkout.","type":"string","uniqueKey":"data.attribution.oneOf.0.ttclid.oneOf.0","typeLabel":"string"},{"description":"TikTok Ads click identifier captured at checkout.","type":"null","uniqueKey":"data.attribution.oneOf.0.ttclid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.ttclid","typeLabel":"string | null"},"src":{"oneOf":[{"description":"Generic source parameter captured at checkout.","type":"string","uniqueKey":"data.attribution.oneOf.0.src.oneOf.0","typeLabel":"string"},{"description":"Generic source parameter captured at checkout.","type":"null","uniqueKey":"data.attribution.oneOf.0.src.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.src","typeLabel":"string | null"},"sck":{"oneOf":[{"description":"Generic sub-source parameter captured at checkout.","type":"string","uniqueKey":"data.attribution.oneOf.0.sck.oneOf.0","typeLabel":"string"},{"description":"Generic sub-source parameter captured at checkout.","type":"null","uniqueKey":"data.attribution.oneOf.0.sck.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.sck","typeLabel":"string | null"},"checkout_url":{"oneOf":[{"description":"Full checkout URL the buyer landed on.","type":"string","uniqueKey":"data.attribution.oneOf.0.checkout_url.oneOf.0","typeLabel":"string"},{"description":"Full checkout URL the buyer landed on.","type":"null","uniqueKey":"data.attribution.oneOf.0.checkout_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.checkout_url","typeLabel":"string | null"},"referrer_url":{"oneOf":[{"description":"Page the buyer came from before the checkout.","type":"string","uniqueKey":"data.attribution.oneOf.0.referrer_url.oneOf.0","typeLabel":"string"},{"description":"Page the buyer came from before the checkout.","type":"null","uniqueKey":"data.attribution.oneOf.0.referrer_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution.oneOf.0.referrer_url","typeLabel":"string | null"}},"additionalProperties":false,"uniqueKey":"data.attribution.oneOf.0","typeLabel":"object"},{"description":"Marketing attribution captured at checkout. Null for transactions created directly through the API.","type":"null","properties":{"utm_source":{"oneOf":[{"description":"Traffic source that brought the buyer, from `utm_source`.","type":"string"},{"description":"Traffic source that brought the buyer, from `utm_source`.","type":"null"}]},"utm_medium":{"oneOf":[{"description":"Marketing medium, from `utm_medium`.","type":"string"},{"description":"Marketing medium, from `utm_medium`.","type":"null"}]},"utm_campaign":{"oneOf":[{"description":"Campaign name, from `utm_campaign`.","type":"string"},{"description":"Campaign name, from `utm_campaign`.","type":"null"}]},"utm_content":{"oneOf":[{"description":"Creative or ad variation, from `utm_content`.","type":"string"},{"description":"Creative or ad variation, from `utm_content`.","type":"null"}]},"utm_term":{"oneOf":[{"description":"Paid keyword or term, from `utm_term`.","type":"string"},{"description":"Paid keyword or term, from `utm_term`.","type":"null"}]},"fbc":{"oneOf":[{"description":"Meta click identifier captured at checkout.","type":"string"},{"description":"Meta click identifier captured at checkout.","type":"null"}]},"fbp":{"oneOf":[{"description":"Meta browser identifier captured at checkout.","type":"string"},{"description":"Meta browser identifier captured at checkout.","type":"null"}]},"gclid":{"oneOf":[{"description":"Google Ads click identifier captured at checkout.","type":"string"},{"description":"Google Ads click identifier captured at checkout.","type":"null"}]},"ttclid":{"oneOf":[{"description":"TikTok Ads click identifier captured at checkout.","type":"string"},{"description":"TikTok Ads click identifier captured at checkout.","type":"null"}]},"src":{"oneOf":[{"description":"Generic source parameter captured at checkout.","type":"string"},{"description":"Generic source parameter captured at checkout.","type":"null"}]},"sck":{"oneOf":[{"description":"Generic sub-source parameter captured at checkout.","type":"string"},{"description":"Generic sub-source parameter captured at checkout.","type":"null"}]},"checkout_url":{"oneOf":[{"description":"Full checkout URL the buyer landed on.","type":"string"},{"description":"Full checkout URL the buyer landed on.","type":"null"}]},"referrer_url":{"oneOf":[{"description":"Page the buyer came from before the checkout.","type":"string"},{"description":"Page the buyer came from before the checkout.","type":"null"}]}},"additionalProperties":false,"uniqueKey":"data.attribution.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.attribution","typeLabel":"object | null"}},"required":["id","amount","currency","buyer","fee","paid_amount","method","refunded_amount","products","traceable","status","created_at","updated_at"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["success","requestId","data"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"requestId":"0190a2b4-18a7-7de0-9a43-69b7cf261201","data":{"id":"018f1f2e-7b42-7c9a-8d3e-1a2b3c4d5e6f","amount":100,"currency":"ARS","buyer":{"id":"018f1f2e-7b42-7c9a-8d3e-1a2b3c4d5e6f","name":"string","email":"developer@example.com","phone":"string","birth_date":"string","document":{"type":"DNI","number":"string"},"address":{"street":"string","city":"string","country":"AR"}},"fee":{"net_amount":0,"estimated_fee":0},"paid_amount":0,"method":"pix","refunded_amount":0,"products":[{"name":"string","price":0,"quantity":1}],"traceable":false,"status":"authorized","created_at":"2026-07-14T12:00:00.000Z","updated_at":"2026-07-14T12:00:00.000Z"}},"examples":{"Example":{"title":"Example","value":{"success":true,"requestId":"0190a2b4-18a7-7de0-9a43-69b7cf261201","data":{"id":"018f1f2e-7b42-7c9a-8d3e-1a2b3c4d5e6f","amount":100,"currency":"ARS","buyer":{"id":"018f1f2e-7b42-7c9a-8d3e-1a2b3c4d5e6f","name":"string","email":"developer@example.com","phone":"string","birth_date":"string","document":{"type":"DNI","number":"string"},"address":{"street":"string","city":"string","country":"AR"}},"fee":{"net_amount":0,"estimated_fee":0},"paid_amount":0,"method":"pix","refunded_amount":0,"products":[{"name":"string","price":0,"quantity":1}],"traceable":false,"status":"authorized","created_at":"2026-07-14T12:00:00.000Z","updated_at":"2026-07-14T12:00:00.000Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"fa0a47c3-97c2-4cc5-b5ae-dd1570b65921":{"description":"HTTP 400 response","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Short, human-readable summary of the problem.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"description":"URI reference identifying the problem type.","type":"string","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"Human-readable explanation specific to this occurrence.","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"URI reference identifying the specific occurrence.","type":"string","uniqueKey":"instance","typeLabel":"string"}},"required":["title","status"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":0,"type":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"51e494e3-3000-4a1d-96a9-0387dc3b2d57":{"description":"HTTP 401 response","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Short, human-readable summary of the problem.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"description":"URI reference identifying the problem type.","type":"string","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"Human-readable explanation specific to this occurrence.","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"URI reference identifying the specific occurrence.","type":"string","uniqueKey":"instance","typeLabel":"string"}},"required":["title","status"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":0,"type":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"62d9c298-affa-4af3-a284-8239d39da6da":{"description":"HTTP 404 response","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Short, human-readable summary of the problem.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"description":"URI reference identifying the problem type.","type":"string","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"Human-readable explanation specific to this occurrence.","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"URI reference identifying the specific occurrence.","type":"string","uniqueKey":"instance","typeLabel":"string"}},"required":["title","status"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":0,"type":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"389d98d9-0002-4c91-a417-89f3caadb49f":{"description":"HTTP 422 response","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Short, human-readable summary of the problem.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"description":"URI reference identifying the problem type.","type":"string","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"Human-readable explanation specific to this occurrence.","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"URI reference identifying the specific occurrence.","type":"string","uniqueKey":"instance","typeLabel":"string"}},"required":["title","status"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":0,"type":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"},"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details object.","required":["type","title","status","detail"],"properties":{"type":{"type":"string","format":"uri-reference","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi-reference>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"number","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","format":"uri-reference","uniqueKey":"instance","typeLabel":"string\u003curi-reference>"},"errors":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>","errors":[{"field":"\u003cstring>","message":"\u003cstring>","code":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"1adf06cb-cce3-4ddd-ad9f-83e4ee3b3fec":{"description":"HTTP 429 response","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"Short, human-readable summary of the problem.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"type":{"description":"URI reference identifying the problem type.","type":"string","uniqueKey":"type","typeLabel":"string"},"detail":{"description":"Human-readable explanation specific to this occurrence.","type":"string","uniqueKey":"detail","typeLabel":"string"},"instance":{"description":"URI reference identifying the specific occurrence.","type":"string","uniqueKey":"instance","typeLabel":"string"}},"required":["title","status"],"additionalProperties":{"oneOf":[{}],"uniqueKey":"additionalProperties","typeLabel":"any"},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","status":0,"type":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"743485d4-6865-4eb0-85ae-514da99944cd":{"description":"RFC 7807 Problem Details error response","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details object.","properties":{"type":{"type":"string","format":"uri-reference","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi-reference>"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"number","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"detail":{"type":"string","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","format":"uri-reference","uniqueKey":"instance","typeLabel":"string\u003curi-reference>"}},"required":["type","title","status","detail"],"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"afe9a98a-6f63-43e1-b159-d6c0c32e064f":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}},"cd709238-a039-4db2-9ce0-6a37e69bba98":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"apiKey","scopes":[],"schemeName":"ApiKeyAuth"}},"cff0a17c-39c5-458a-9480-8031a68b819a":{"BasicAuth":{"type":"http","scheme":"basic","description":"Use Basic auth with username `token` and password `x`.","scopes":[],"schemeName":"BasicAuth"}}},"servers":{"3d1258f3-8cda-4ff0-af2f-e87ff01aab1e":{"url":"https://api.pagou.ai","description":"Production server"},"0bd67821-6a1c-4c93-8153-9d245ba034fb":{"url":"https://api.sandbox.pagou.ai","description":"Sandbox server for testing"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"apiKey","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"apiKey","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"apiKey"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"Use Basic auth with username `token` and password `x`.","scopes":[],"schemeName":"BasicAuth"},"schema":{"title":"Basic Auth","type":"object","description":"Use Basic auth with username `token` and password `x`.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"BasicAuth","name":"Authorization"}],"title":"BasicAuth"}]},"originalFileLocation":"api-reference/openapi-v2.json"},"subdomain":"pagouai","siteName":"Pagou Developer Docs","title":"Marcar transação como paga externamente - Pagou Developer Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/transactions/paid-externally","matchLevel":1},"pt-BR":{"href":"/pt/api-reference/transactions/paid-externally","matchLevel":0}}},"lastModified":"2026-11-13T11:11:31.270Z","originalFileLocation":"pt/api-reference/transactions/paid-externally.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=\"Registre uma venda pix ou voucher que o comprador pagou fora da Pagou.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pagou Developer Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pagouai/PlsMSqiZuXJsWwoT/_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/pagouai/PlsMSqiZuXJsWwoT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pagouai/PlsMSqiZuXJsWwoT/_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/pagouai/PlsMSqiZuXJsWwoT/_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/pagouai/PlsMSqiZuXJsWwoT/_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/pagouai/PlsMSqiZuXJsWwoT/_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/pagouai/PlsMSqiZuXJsWwoT/_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/pagouai/PlsMSqiZuXJsWwoT/_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/pagouai/PlsMSqiZuXJsWwoT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Marcar transação como paga externamente - Pagou Developer Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Registre uma venda pix ou voucher que o comprador pagou fora da Pagou.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pagou Developer Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pagouai.mintlify.site/_mintlify/api/og/v2?division=Transa%C3%A7%C3%B5es\u0026amp;title=Marcar+transa%C3%A7%C3%A3o+como+paga+externamente\u0026amp;description=Registre+uma+venda+pix+ou+voucher+que+o+comprador+pagou+fora+da+Pagou.\u0026amp;theme=be5f6b4c2c97766dd572dfce\u0026amp;signature=26de5887166ffa1b3f1a70996e192bbc1a19cae948462889b05a0f97a9627a4b\">\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=\"Marcar transação como paga externamente - Pagou Developer Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Registre uma venda pix ou voucher que o comprador pagou fora da Pagou.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pagouai.mintlify.site/_mintlify/api/og/v2?division=Transa%C3%A7%C3%B5es\u0026amp;title=Marcar+transa%C3%A7%C3%A3o+como+paga+externamente\u0026amp;description=Registre+uma+venda+pix+ou+voucher+que+o+comprador+pagou+fora+da+Pagou.\u0026amp;theme=be5f6b4c2c97766dd572dfce\u0026amp;signature=26de5887166ffa1b3f1a70996e192bbc1a19cae948462889b05a0f97a9627a4b\">\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/pagouai/PlsMSqiZuXJsWwoT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pagou Developer Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#198754\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt/api-reference/transactions/paid-externally.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://developer.pagou.ai/api-reference/transactions/paid-externally\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://developer.pagou.ai/api-reference/transactions/paid-externally\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.pagou.ai/#organization\",\"name\":\"Pagou Developer Docs\",\"url\":\"https://developer.pagou.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pagouai/G-8AHDSd0H3lSbe_/logo/logo-long.webp?fit=max\u0026auto=format\u0026n=G-8AHDSd0H3lSbe_\u0026q=85\u0026s=f29ebde8b8d8c96183843fc8bc58e508\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.pagou.ai#website\",\"name\":\"Pagou Developer Docs\",\"url\":\"https://developer.pagou.ai\",\"publisher\":{\"@id\":\"https://developer.pagou.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally#webpage\",\"url\":\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally\",\"name\":\"Marcar transação como paga externamente\",\"description\":\"Registre uma venda pix ou voucher que o comprador pagou fora da Pagou.\",\"dateModified\":\"2026-11-13T11:11:31.270Z\",\"isPartOf\":{\"@id\":\"https://developer.pagou.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Transações\",\"item\":\"https://developer.pagou.ai/pt/api-reference/transactions/reference\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Marcar transação como paga externamente\",\"item\":\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally#apireference\",\"headline\":\"Marcar transação como paga externamente\",\"name\":\"Marcar transação como paga externamente\",\"description\":\"Registre uma venda pix ou voucher que o comprador pagou fora da Pagou.\",\"url\":\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally\",\"mainEntityOfPage\":{\"@id\":\"https://developer.pagou.ai/pt/api-reference/transactions/paid-externally#webpage\"},\"dateModified\":\"2026-11-13T11:11:31.270Z\",\"publisher\":{\"@id\":\"https://developer.pagou.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.pagou.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pagou Developer Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Pagou Developer Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pt/api-reference/transactions/paid-externally.md","siteName":"Pagou Developer Docs","nav":{"global":{"anchors":[{"anchor":"AI Integration","icon":"bot","href":"/start-here/ai-integration"},{"anchor":"API status","href":"https://status.pagou.ai"},{"anchor":"GitHub","href":"https://github.com/pagouai"}]},"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/api-reference/transactions/paid-externally"}]},{"language":"pt-BR","tabs":[{"tab":"Comece Aqui","icon":"rocket","pages":[{"title":"Comece Aqui","href":"/pt"}]},{"tab":"Pagamentos","icon":"wallet","pages":[{"title":"Pagamentos","href":"/pt/payments/overview"}]},{"tab":"Assinaturas","icon":"repeat","pages":[{"title":"Assinaturas","href":"/pt/subscriptions/overview"}]},{"tab":"Transferências","icon":"arrow-left-right","pages":[{"title":"Transferências","href":"/pt/payouts/pix-out/overview"}]},{"tab":"Webhooks","icon":"webhook","pages":[{"title":"Webhooks","href":"/pt/webhooks/overview"}]},{"tab":"Frontend","icon":"monitor-smartphone","pages":[{"title":"Frontend","href":"/pt/frontend/payment-element/overview"}]},{"tab":"SDKs","icon":"code-xml","pages":[{"title":"SDKs","href":"/pt/sdks/typescript/quickstart"}]},{"tab":"Exemplos","icon":"code","pages":[{"title":"Exemplos","href":"/pt/examples/overview"}]},{"tab":"Referência API","icon":"file-code-2","groups":[{"group":"Clientes","pages":[{"title":"Referência de clientes","icon":"book-open","href":"/pt/api-reference/customers/reference"},{"title":"Criar cliente","icon":"plus","openapi":"api-reference/openapi-v2.json POST /v2/customers","href":"/pt/api-reference/customers/create"},{"title":"Listar clientes","icon":"list","openapi":"api-reference/openapi-v2.json GET /v2/customers","href":"/pt/api-reference/customers/list"},{"title":"Consultar cliente","icon":"search","openapi":"api-reference/openapi-v2.json GET /v2/customers/{id}","href":"/pt/api-reference/customers/get"}]},{"group":"Transações","pages":[{"title":"Referência de transações","icon":"book-open","href":"/pt/api-reference/transactions/reference"},{"title":"Criar transação","icon":"plus","openapi":"api-reference/openapi-v2.json POST /v2/transactions","href":"/pt/api-reference/transactions/create"},{"title":"Listar transações","icon":"list","openapi":"api-reference/openapi-v2.json GET /v2/transactions","href":"/pt/api-reference/transactions/list"},{"title":"Consultar transação","icon":"search","openapi":"api-reference/openapi-v2.json GET /v2/transactions/{id}","href":"/pt/api-reference/transactions/get"},{"title":"Atualizar transação","icon":"pencil","openapi":"api-reference/openapi-v2.json PUT /v2/transactions/{id}","href":"/pt/api-reference/transactions/update"},{"title":"Reembolsar transação","icon":"rotate-ccw","openapi":"api-reference/openapi-v2.json PUT /v2/transactions/{id}/refund","href":"/pt/api-reference/transactions/refund"},{"title":"Atualizar rastreio de entrega","description":"Defina ou atualize o rastreio de entrega em uma transação paga.","icon":"truck","openapi":"api-reference/openapi-v2.json PUT /v2/transactions/{id}/delivery","href":"/pt/api-reference/transactions/delivery"},{"title":"Marcar transação como paga externamente","icon":"hand-coins","openapi":"api-reference/openapi-v2.json PUT /v2/transactions/{id}/paid-externally","href":"/pt/api-reference/transactions/paid-externally"}]},{"group":"Checkout Links","pages":[{"title":"Referência de Checkout Links","description":"Operações de API para criar checkout links hospedados com API key.","icon":"book-open","href":"/pt/api-reference/checkout-links/reference"},{"title":"Criar checkout link","icon":"plus","openapi":"api-reference/openapi-v2.json POST /v2/checkout-links","href":"/pt/api-reference/checkout-links/create"}]},{"group":"Transferências","pages":[{"title":"Referência de transferências","icon":"book-open","href":"/pt/api-reference/transfers/reference"},{"title":"Criar transferência","icon":"plus","openapi":"api-reference/openapi-v2.json POST /v2/transfers","href":"/pt/api-reference/transfers/create"},{"title":"Listar transferências","icon":"list","openapi":"api-reference/openapi-v2.json GET /v2/transfers","href":"/pt/api-reference/transfers/list"},{"title":"Consultar transferência","icon":"search","openapi":"api-reference/openapi-v2.json GET /v2/transfers/{id}","href":"/pt/api-reference/transfers/get"},{"title":"Cancelar transferência","icon":"ban","openapi":"api-reference/openapi-v2.json POST /v2/transfers/{id}/cancel","href":"/pt/api-reference/transfers/cancel"}]},{"group":"Assinaturas","pages":[{"title":"Referência de assinaturas","icon":"book-open","href":"/pt/api-reference/subscriptions/reference"},{"title":"Criar assinatura","icon":"plus","openapi":"api-reference/openapi-v2.json POST /v2/subscriptions","href":"/pt/api-reference/subscriptions/create"},{"title":"Listar assinaturas","icon":"list","openapi":"api-reference/openapi-v2.json GET /v2/subscriptions","href":"/pt/api-reference/subscriptions/list"},{"title":"Consultar assinatura","icon":"search","openapi":"api-reference/openapi-v2.json GET /v2/subscriptions/{id}","href":"/pt/api-reference/subscriptions/get"},{"title":"Atualizar assinatura","icon":"pencil","openapi":"api-reference/openapi-v2.json PATCH /v2/subscriptions/{id}","href":"/pt/api-reference/subscriptions/update"},{"title":"Cancelar assinatura","icon":"ban","openapi":"api-reference/openapi-v2.json POST /v2/subscriptions/{id}/cancel","href":"/pt/api-reference/subscriptions/cancel"},{"title":"Cobrar assinatura inadimplente","icon":"credit-card","openapi":"api-reference/openapi-v2.json POST /v2/subscriptions/{id}/charge","href":"/pt/api-reference/subscriptions/charge"},{"title":"Trocar o cartão da assinatura","icon":"credit-card","openapi":"api-reference/openapi-v2.json POST /v2/subscriptions/{id}/payment-method","href":"/pt/api-reference/subscriptions/update-payment-method"},{"title":"Simular evento do Pix Automático","icon":"flask-conical","openapi":"api-reference/openapi-v2.json POST /v2/subscriptions/{id}/simulate","href":"/pt/api-reference/subscriptions/simulate"}]},{"group":"Legado v1","pages":[{"title":"Referência legado v1","icon":"book-open","href":"/pt/api-reference/legacy-v1/reference"},{"title":"Criar integração de webhook","icon":"plus","openapi":"api-reference/openapi-v1.json POST /v1/business/integration","href":"/pt/api-reference/legacy-v1/create-webhook-integration"},{"title":"Validar autenticação","icon":"shield-check","openapi":"api-reference/openapi-v1.json GET /v1/health-check","href":"/pt/api-reference/legacy-v1/validate-authentication"},{"title":"Consultar saldo da conta","icon":"search","openapi":"api-reference/openapi-v1.json GET /v1/account/balance","href":"/pt/api-reference/legacy-v1/get-account-balance"},{"title":"Listar transações PIX","icon":"list","openapi":"api-reference/openapi-v1.json GET /pix/v1/transactions","href":"/pt/api-reference/legacy-v1/list-pix-transactions"},{"title":"Consultar transação PIX","icon":"search","openapi":"api-reference/openapi-v1.json GET /pix/v1/transactions/{id}","href":"/pt/api-reference/legacy-v1/get-pix-transaction"},{"title":"Criar pagamento PIX","icon":"plus","openapi":"api-reference/openapi-v1.json POST /pix/v1/payment","href":"/pt/api-reference/legacy-v1/create-pix-payment"},{"title":"Reembolsar pagamento PIX","icon":"rotate-ccw","openapi":"api-reference/openapi-v1.json POST /pix/v1/payment/refund/{id}","href":"/pt/api-reference/legacy-v1/refund-pix-payment"},{"title":"Criar saque PIX","icon":"plus","openapi":"api-reference/openapi-v1.json POST /pix/v1/payment/withdraw","href":"/pt/api-reference/legacy-v1/withdraw-pix-payment"}]}]},{"tab":"Recursos","icon":"library-big","pages":[{"title":"Recursos","href":"/pt/changelog"}]}]}]},"basePath":"","title":"Marcar transação como paga externamente - Pagou Developer Docs","buildId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","deploymentId":"dpl_715YoAgvjTGBDdo8RtXmHKM22b5p","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-BvKnMd7F.js","utils-BMt52org.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CGXZuDGO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dl57XWH2.js","snippetPresets-CWd8CxSk.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-Chgj7sZe.js","ApiExamples-BR-Wkc_D.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-YMmi08aZ.js","shallow-DBC1OB78.js","getApiPlaygroundDisplay-Be7mmEzP.js","CodeSnippet-B14o1TgQ.js","CodeSnippets-CJ2q3fTq.js","getPastedJson-DnpLXm8x.js","icon-BpkSFtdK.js","MethodPill-BO3zPf-g.js","DuplicateIcon-Bib3qwfw.js","createIcon-CY2noFo3.js","DynamicMarkdown-TAXIW2vN.js","SectionHeading-Dfs3Fmfw.js","axios-vUo_bRtp.js","Markdown-CGAo_eqA.js","clsx-BNa-H6W6.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-r2tNEC1n.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-B7oWe6jc.js"]}