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.
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.
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 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.
{"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":""},"chroma":{"liveDeploymentHistoryId":"6ae32a98fa750f9207824cbb","collectionId":"d2320e43-2bba-4c56-af2f-17712af532f4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae32a98fa750f9207824cbb"},"entitlements":{},"buildId":"6ae32a98fa750f9207824cbb","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"en","tag":"API Reference","count":35},{"language":"pt-BR","tag":"Referência API","count":35},{"language":"en","tag":"Payments","count":15},{"language":"pt-BR","tag":"Pagamentos","count":15},{"language":"en","tag":"Start Here","count":13},{"language":"pt-BR","tag":"Comece Aqui","count":13},{"language":"en","tag":"Webhooks","count":12},{"language":"pt-BR","tag":"Webhooks","count":12},{"language":"en","tag":"Subscriptions","count":11},{"language":"pt-BR","tag":"Assinaturas","count":11},{"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":"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":"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":"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":"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}],"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,.16),transparent 26%),radial-gradient(circle at 88% 10%,rgba(25,135,84,.12),transparent 22%),radial-gradient(circle at 50% 100%,rgba(22,163,74,.16),transparent 36%),linear-gradient(180deg,rgba(8,18,14,.98) 0,rgba(4,12,10,.96) 100%);border:1px solid rgba(52,211,153,.16);border-radius:28px;box-shadow:0 24px 80px rgba(2,6,23,.42);overflow:hidden;padding:2.4rem;position:relative}.hero-shell::after{background:radial-gradient(circle at 20% 100%,rgba(8,201,131,.12),transparent 26%),radial-gradient(circle at 70% 100%,rgba(163,230,53,.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:.8rem;font-weight:700;letter-spacing:.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,.76);border:1px solid rgba(52,211,153,.16);border-radius:18px;padding:1rem;backdrop-filter:blur(16px);box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}.hero-shell h1,.hero-shell p,.hero-shell strong{color:rgba(241,245,249,.96)}.home-section{margin-top:2.4rem}.checklist-band{background:linear-gradient(90deg,rgba(20,83,45,.95),rgba(22,163,74,.92));border-radius:22px;color:#fff;padding:1.25rem 1.5rem}.checklist-band code,.checklist-band strong{color:#fff}.doc-note-grid{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.doc-note{background:linear-gradient(180deg,rgba(7,201,131,.08),rgba(22,163,74,.02));border:1px solid rgba(7,201,131,.16);border-radius:18px;padding:1rem}.legacy-banner{background:linear-gradient(90deg,rgba(127,29,29,.08),rgba(180,83,9,.08));border:1px solid rgba(180,83,9,.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":"6514d55b-6292-4f62-9d39-e7340f922f6f","parameters":["be7be044-ca66-4bb7-bab5-8c73f29e7684"],"responses":{"200":"09080985-0b60-47bb-aec6-e51fa466ca37","400":"40990f46-c0c8-4a3c-ad7f-2b5dc793710e","401":"cba3a252-cbe9-48c7-be0b-00f5f885a814","404":"17e353a0-fd8b-4d76-bb10-956d45d51341","422":"dfc18156-3c8b-4a6d-ab9e-2c5f25ce402a","429":"eeeb1869-bf1b-47eb-bae3-18e1b28e90eb","default":"3ab575f1-32f8-4055-a45a-22e8dfc98816"},"operationId":"putTransactionsByIdPaidExternally","summary":"Mark a Transaction as Paid Externally","security":["e055770d-f3c4-4eb2-ab38-cdbbf41edd09","ded224ba-ec4e-4130-977c-4f1be8a25857","1326b924-d237-4a0b-836d-98ce242791d9"],"method":"put","type":"path","servers":["7e8a4a08-d00d-45f3-bfb3-ab6d16f51abd","1aeed0d2-4eb5-4cd7-a07a-b0d4f669f0c7"],"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":{"be7be044-ca66-4bb7-bab5-8c73f29e7684":{"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":{"09080985-0b60-47bb-aec6-e51fa466ca37":{"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-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"},"40990f46-c0c8-4a3c-ad7f-2b5dc793710e":{"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":"number","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"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":123,"type":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"cba3a252-cbe9-48c7-be0b-00f5f885a814":{"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":"number","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"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":123,"type":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"17e353a0-fd8b-4d76-bb10-956d45d51341":{"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":"number","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"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":123,"type":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"dfc18156-3c8b-4a6d-ab9e-2c5f25ce402a":{"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":"number","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"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":123,"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"},"eeeb1869-bf1b-47eb-bae3-18e1b28e90eb":{"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":"number","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"number"},"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":123,"type":"\u003cstring>","detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"3ab575f1-32f8-4055-a45a-22e8dfc98816":{"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":{"e055770d-f3c4-4eb2-ab38-cdbbf41edd09":{"BearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"BearerAuth"}},"ded224ba-ec4e-4130-977c-4f1be8a25857":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"apiKey","scopes":[],"schemeName":"ApiKeyAuth"}},"1326b924-d237-4a0b-836d-98ce242791d9":{"BasicAuth":{"type":"http","scheme":"basic","description":"Use Basic auth with username `token` and password `x`.","scopes":[],"schemeName":"BasicAuth"}}},"servers":{"7e8a4a08-d00d-45f3-bfb3-ab6d16f51abd":{"url":"https://api.pagou.ai","description":"Production server"},"1aeed0d2-4eb5-4cd7-a07a-b0d4f669f0c7":{"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-10-29T11:14:44.253Z","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.app/_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=96d4ce5d944e7dd6d4ba84cb\u0026amp;signature=c6d2ca676cbe801b6e501ea04ac3c123b925c08665b70da78eec2db7b5dce534\">\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.app/_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=96d4ce5d944e7dd6d4ba84cb\u0026amp;signature=c6d2ca676cbe801b6e501ea04ac3c123b925c08665b70da78eec2db7b5dce534\">\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-10-29T11:14:44.253Z\",\"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-10-29T11:14:44.253Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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":"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"}]}]}]},"title":"Marcar transação como paga externamente - Pagou Developer Docs","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-DmVyH30O.js","utils-BHQqGGOd.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CD-E4BIt.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp5Lq9Ds.js","snippetPresets-C4xAVCFP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CBCH2P7b.js","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","getPastedJson-Ry3scI3Y.js","icon-D7a9HcdD.js","MethodPill-CJ8pmHhz.js","DuplicateIcon-rh1HJF0t.js","createIcon-DvGznqYs.js","DynamicMarkdown-Cc6AuSHS.js","SectionHeading-B4A0S-ep.js","axios-vUo_bRtp.js","Markdown-Cc16CX65.js","clsx-Cs6nMGht.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-zbf22OZA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-C_fs-y5n.js"]}