Reference of the sub-account the operation runs against. When omitted, the operation happens on the main account; the reserved value principal also resolves to the main account and is equivalent to omitting the header. Accepted on every endpoint except POST /auth and the /sub-accounts endpoints themselves, which always operate on the main account.
Possible errors: 404 SUB_ACCOUNT_NOT_FOUND, 403 SUB_ACCOUNT_FORBIDDEN, 403 SUB_ACCOUNT_SUSPENDED.
Requires the credential to have sub-account access enabled (Settings → Integration → API Credentials). It starts turned off and is not replaced by any permission, not even FULL_ACCESS: without it the response is 403 SUB_ACCOUNT_FORBIDDEN.
Transaction ID (UUID), your external_reference, or the Idempotency-Key used on creation. Resolved in that order. A withdrawal still processing (no transaction yet) is also resolved by any of these.
Transaction type. internal_transfer is a movement between accounts under the same ownership — an internal transfer or a split leg — and does not travel over PIX.
Present when a RECEIVED deposit was blocked by an account policy (e.g. CNPJ payers not allowed). The amount was NOT credited; refund tells whether the money went back to the payer (status pending/confirmed/failed), the return E2E and when it settled.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"pague.dev","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/c42dev-a9a8c110/t5HJJ1MGuvLiyqGj/logo/light.png?fit=max\u0026auto=format\u0026n=t5HJJ1MGuvLiyqGj\u0026q=85\u0026s=511115fbe8576d7dfea4ff3240f15bbe","dark":"https://mintcdn.com/c42dev-a9a8c110/t5HJJ1MGuvLiyqGj/logo/dark.png?fit=max\u0026auto=format\u0026n=t5HJJ1MGuvLiyqGj\u0026q=85\u0026s=93337ea776e2bdc909f673689d44777c"},"favicon":"https://mintcdn.com/c42dev-a9a8c110/pSlJKFwyDoaUCryw/favicon.ico?fit=max\u0026auto=format\u0026n=pSlJKFwyDoaUCryw\u0026q=85\u0026s=67a5c5c053f14a8c2075cb9d554f2320","api":{"playground":{}},"navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://banking.pague.dev"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://banking.pague.dev"}]},"languages":[{"language":"pt-BR","href":""},{"language":"en","href":"en"},{"language":"ru","href":"ru"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"c42dev-a9a8c110","hasAudioNarration":false,"actualSubdomain":"c42dev-a9a8c110","customDomains":["docs.pague.dev"],"gitSource":{"type":"github","owner":"c42-dev","repo":"pdev-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aa8bf5d513f33cd2d276ad3","collectionId":"eaaef3d5-4a48-4b55-accb-a6650a9898fd","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aa8bf5d513f33cd2d276ad3"},"entitlements":{},"buildId":"6aa8bf5d513f33cd2d276ad3","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"pt-BR","tag":"Projetos","count":2},{"language":"pt-BR","tag":"Subcontas","count":2},{"language":"pt-BR","tag":"Transações","count":2},{"language":"pt-BR","tag":"Visão Geral","count":2},{"language":"en","tag":"Projects","count":2},{"language":"en","tag":"Sub-accounts","count":2},{"language":"en","tag":"Transactions","count":2},{"language":"en","tag":"Overview","count":2},{"language":"ru","tag":"Проекты","count":2},{"language":"ru","tag":"Субсчета","count":2},{"language":"ru","tag":"Транзакции","count":2},{"language":"ru","tag":"Обзор","count":2},{"language":"pt-BR","tag":"Conta","count":1},{"language":"pt-BR","tag":"Autenticação","count":1},{"language":"pt-BR","tag":"Bloqueios de Saldo","count":1},{"language":"pt-BR","tag":"PIX","count":1},{"language":"pt-BR","tag":"Saques","count":1},{"language":"en","tag":"Account","count":1},{"language":"en","tag":"Authentication","count":1},{"language":"en","tag":"Balance Blocks","count":1},{"language":"en","tag":"PIX","count":1},{"language":"en","tag":"Withdrawals","count":1},{"language":"ru","tag":"Аккаунт","count":1},{"language":"ru","tag":"Аутентификация","count":1},{"language":"ru","tag":"Блокировки баланса","count":1},{"language":"ru","tag":"PIX","count":1},{"language":"ru","tag":"Вывод средств","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/api-reference/transactions/get","slug":"/en/api-reference/transactions/get","pageMetadata":{"title":"Get Transaction","openapi":"openapi.en.json GET /transactions/{id}","description":"Returns the details of a specific transaction by its ID.\n\n**Required permission:** `TRANSACTION:READ` or `FULL_ACCESS`","href":"/en/api-reference/transactions/get"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Returns the details of a specific transaction by its ID.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Required permission:\"\n }), \" \", _jsx(_components.code, {\n children: \"TRANSACTION:READ\"\n }), \" or \", _jsx(_components.code, {\n children: \"FULL_ACCESS\"\n })]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Transaction","openapi":"openapi.en.json GET /transactions/{id}","description":"Returns the details of a specific transaction by its ID.\n\n**Required permission:** `TRANSACTION:READ` or `FULL_ACCESS`","href":"/en/api-reference/transactions/get"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Returns the details of a specific transaction by its ID.\n\n**Required permission:** `TRANSACTION:READ` or `FULL_ACCESS`","operationId":"ExternalTransactionsController_getTransaction","parameters":["bd337f52-93ea-45cb-96cc-18530095ac2d","acbc7568-17aa-47d1-89ad-17411e58d924"],"responses":{"200":"0f67b6f4-784a-434e-be74-44b810c47fb4","401":"53470c0b-c6f4-431e-bae4-479b7ef10d5a","404":"6d316d5e-3faa-4b21-adae-abe87bb07a70","500":"03d99105-a6a0-49de-93b2-ae2d5863cb1f"},"summary":"Get transaction by ID","tags":["External API - Transactions"],"security":["72447f4a-76df-483b-a85e-2f8c81599d33"],"method":"get","type":"path","servers":["195e58fc-ebeb-436e-9695-206313888fed"],"path":"/transactions/{id}","baseUrlOptions":["https://api-gateway.pague.dev/v2"],"title":"Get transaction by ID","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"bd337f52-93ea-45cb-96cc-18530095ac2d":{"name":"id","required":true,"in":"path","description":"Transaction ID (UUID), your external_reference, or the Idempotency-Key used on creation. Resolved in that order. A withdrawal still processing (no transaction yet) is also resolved by any of these.","schema":{"type":"string","isRequired":true,"description":"Transaction ID (UUID), your external_reference, or the Idempotency-Key used on creation. Resolved in that order. A withdrawal still processing (no transaction yet) is also resolved by any of these.","uniqueKey":"","typeLabel":"string"}},"acbc7568-17aa-47d1-89ad-17411e58d924":{"name":"X-Sub-Account","in":"header","required":false,"description":"Reference of the sub-account the operation runs against. When omitted, the operation happens on the main account; the reserved value `principal` also resolves to the main account and is equivalent to omitting the header. Accepted on every endpoint except `POST /auth` and the `/sub-accounts` endpoints themselves, which always operate on the main account.\n\nPossible errors: `404 SUB_ACCOUNT_NOT_FOUND`, `403 SUB_ACCOUNT_FORBIDDEN`, `403 SUB_ACCOUNT_SUSPENDED`.\n\nRequires the credential to have **sub-account access** enabled (Settings → Integration → API Credentials). It starts turned off and is not replaced by any permission, not even `FULL_ACCESS`: without it the response is `403 SUB_ACCOUNT_FORBIDDEN`.","schema":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{1,31}$","example":"loja-centro","isRequired":false,"description":"Reference of the sub-account the operation runs against. When omitted, the operation happens on the main account; the reserved value `principal` also resolves to the main account and is equivalent to omitting the header. Accepted on every endpoint except `POST /auth` and the `/sub-accounts` endpoints themselves, which always operate on the main account.\n\nPossible errors: `404 SUB_ACCOUNT_NOT_FOUND`, `403 SUB_ACCOUNT_FORBIDDEN`, `403 SUB_ACCOUNT_SUSPENDED`.\n\nRequires the credential to have **sub-account access** enabled (Settings → Integration → API Credentials). It starts turned off and is not replaced by any permission, not even `FULL_ACCESS`: without it the response is `403 SUB_ACCOUNT_FORBIDDEN`.","uniqueKey":"","typeLabel":"string"}}},"responses":{"0f67b6f4-784a-434e-be74-44b810c47fb4":{"description":"Transaction details","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Transaction ID","format":"uuid","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"Transaction status","enum":["pending","completed","failed","cancelled"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"type":{"type":"string","description":"Transaction type. `internal_transfer` is a movement between accounts under the same ownership — an internal transfer or a split leg — and does not travel over PIX.","enum":["payment","fee","refund","chargeback","withdrawal","adjustment","referral_commission","internal_transfer"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"paymentMethod":{"type":"string","description":"Payment method used","enum":["pix","credit_card","boleto"],"isRequired":true,"uniqueKey":"paymentMethod","typeLabel":"enum\u003cstring>"},"amount":{"type":"number","description":"Amount in BRL","example":150.75,"isRequired":true,"uniqueKey":"amount","typeLabel":"number"},"currency":{"type":"string","description":"Currency code","example":"BRL","isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"createdAt":{"type":"string","description":"Creation date","format":"date-time","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"description":{"type":"string","description":"Transaction description","uniqueKey":"description","typeLabel":"string"},"externalReference":{"type":"string","description":"Your external reference ID","example":"pedido-12345","uniqueKey":"externalReference","typeLabel":"string"},"customerId":{"type":"string","description":"Client ID","format":"uuid","uniqueKey":"customerId","typeLabel":"string\u003cuuid>"},"projectId":{"type":"string","description":"Project ID","format":"uuid","uniqueKey":"projectId","typeLabel":"string\u003cuuid>"},"metadata":{"type":"object","description":"Custom metadata (key-value pairs)","additionalProperties":true,"example":{"orderId":"12345","source":"website"},"uniqueKey":"metadata","typeLabel":"object"},"pixCopyPaste":{"type":"string","description":"PIX copy-and-paste code (only for pending PIX transactions)","example":"00020126580014br.gov.bcb.pix0136a1b2c3d4-e5f6-7890-abcd-ef1234567890","uniqueKey":"pixCopyPaste","typeLabel":"string"},"expiresAt":{"type":"string","description":"Expiration date (only for pending transactions)","format":"date-time","uniqueKey":"expiresAt","typeLabel":"string\u003cdate-time>"},"paidAt":{"type":"string","description":"Date the transaction was paid","format":"date-time","uniqueKey":"paidAt","typeLabel":"string\u003cdate-time>"},"e2eId":{"type":"string","description":"PIX network end-to-end ID (present once the PSP has confirmed)","example":"E18189547202603160145ZYFfVx3jP8D","uniqueKey":"e2eId","typeLabel":"string"},"counterpartName":{"type":"string","description":"Counterpart name as returned by the PSP (payer on cash-in, recipient on withdrawal)","example":"Maria Silva","uniqueKey":"counterpartName","typeLabel":"string"},"counterpartDocument":{"type":"string","description":"Counterpart CPF/CNPJ, unmasked","example":"12345678900","uniqueKey":"counterpartDocument","typeLabel":"string"},"failureReason":{"type":"string","description":"Failure reason (only when status = failed)","example":"Bloqueio de depósito: pagador CNPJ não permitido","uniqueKey":"failureReason","typeLabel":"string"},"blockedDeposit":{"oneOf":[{"type":"object","description":"Present when a RECEIVED deposit was blocked by an account policy (e.g. CNPJ payers not allowed). The amount was NOT credited; `refund` tells whether the money went back to the payer (status pending/confirmed/failed), the return E2E and when it settled.","properties":{"reason":{"type":"string","example":"cnpj_payer_not_allowed","uniqueKey":"blockedDeposit.oneOf.0.reason","typeLabel":"string"},"refund":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["pending","confirmed","failed"],"uniqueKey":"blockedDeposit.oneOf.0.refund.oneOf.0.status","typeLabel":"enum\u003cstring>"},"e2eId":{"oneOf":[{"type":"string","example":"D54811417202609082224L1aDrByinUX","uniqueKey":"blockedDeposit.oneOf.0.refund.oneOf.0.e2eId.oneOf.0","typeLabel":"string"},{"type":"null","example":"D54811417202609082224L1aDrByinUX","uniqueKey":"blockedDeposit.oneOf.0.refund.oneOf.0.e2eId.oneOf.1","typeLabel":"null"}],"uniqueKey":"blockedDeposit.oneOf.0.refund.oneOf.0.e2eId","typeLabel":"string | null"},"settledAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"blockedDeposit.oneOf.0.refund.oneOf.0.settledAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"blockedDeposit.oneOf.0.refund.oneOf.0.settledAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"blockedDeposit.oneOf.0.refund.oneOf.0.settledAt","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"blockedDeposit.oneOf.0.refund.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"status":{"type":"string","enum":["pending","confirmed","failed"]},"e2eId":{"oneOf":[{"type":"string","example":"D54811417202609082224L1aDrByinUX"},{"type":"null","example":"D54811417202609082224L1aDrByinUX"}]},"settledAt":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}},"uniqueKey":"blockedDeposit.oneOf.0.refund.oneOf.1","typeLabel":"null"}],"uniqueKey":"blockedDeposit.oneOf.0.refund","typeLabel":"object | null"}},"uniqueKey":"blockedDeposit.oneOf.0","typeLabel":"object"},{"type":"null","description":"Present when a RECEIVED deposit was blocked by an account policy (e.g. CNPJ payers not allowed). The amount was NOT credited; `refund` tells whether the money went back to the payer (status pending/confirmed/failed), the return E2E and when it settled.","properties":{"reason":{"type":"string","example":"cnpj_payer_not_allowed"},"refund":{"oneOf":[{"type":"object","properties":{"status":{"type":"string","enum":["pending","confirmed","failed"]},"e2eId":{"oneOf":[{"type":"string","example":"D54811417202609082224L1aDrByinUX"},{"type":"null","example":"D54811417202609082224L1aDrByinUX"}]},"settledAt":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}}},{"type":"null","properties":{"status":{"type":"string","enum":["pending","confirmed","failed"]},"e2eId":{"oneOf":[{"type":"string","example":"D54811417202609082224L1aDrByinUX"},{"type":"null","example":"D54811417202609082224L1aDrByinUX"}]},"settledAt":{"oneOf":[{"type":"string","format":"date-time"},{"type":"null","format":"date-time"}]}}}]}},"uniqueKey":"blockedDeposit.oneOf.1","typeLabel":"null"}],"uniqueKey":"blockedDeposit","typeLabel":"object | null"},"updatedAt":{"type":"string","description":"Last update date","format":"date-time","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","status","type","paymentMethod","amount","currency","createdAt"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"pending","type":"payment","paymentMethod":"pix","amount":150.75,"currency":"BRL","createdAt":"2023-11-07T05:31:56Z","description":"\u003cstring>","externalReference":"pedido-12345","customerId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","projectId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","metadata":{"orderId":"12345","source":"website"},"pixCopyPaste":"00020126580014br.gov.bcb.pix0136a1b2c3d4-e5f6-7890-abcd-ef1234567890","expiresAt":"2023-11-07T05:31:56Z","paidAt":"2023-11-07T05:31:56Z","e2eId":"E18189547202603160145ZYFfVx3jP8D","counterpartName":"Maria Silva","counterpartDocument":"12345678900","failureReason":"Bloqueio de depósito: pagador CNPJ não permitido","blockedDeposit":{"reason":"cnpj_payer_not_allowed","refund":{"status":"pending","e2eId":"D54811417202609082224L1aDrByinUX","settledAt":"2023-11-07T05:31:56Z"}},"updatedAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"53470c0b-c6f4-431e-bae4-479b7ef10d5a":{"description":"Unauthorized - Authentication required","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","example":401,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"error":{"type":"string","example":"Unauthorized","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"Authentication token is required","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","example":"2025-12-15T22:00:00.000Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"},"traceId":{"type":"string","uniqueKey":"traceId","typeLabel":"string"}},"required":["statusCode","error","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":401,"error":"Unauthorized","message":"Authentication token is required","timestamp":"2025-12-15T22:00:00.000Z","details":{},"traceId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"6d316d5e-3faa-4b21-adae-abe87bb07a70":{"description":"Not Found - Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"error":{"type":"string","example":"NotFound","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"Resource with id 550e8400-e29b-41d4-a716-446655440000 not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","example":"2025-12-15T22:00:00.000Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"type":"object","example":{"resource":"Example","id":"550e8400-e29b-41d4-a716-446655440000"},"uniqueKey":"details","typeLabel":"object"},"traceId":{"type":"string","uniqueKey":"traceId","typeLabel":"string"}},"required":["statusCode","error","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"error":"NotFound","message":"Resource with id 550e8400-e29b-41d4-a716-446655440000 not found","timestamp":"2025-12-15T22:00:00.000Z","details":{"resource":"Example","id":"550e8400-e29b-41d4-a716-446655440000"},"traceId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"03d99105-a6a0-49de-93b2-ae2d5863cb1f":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","example":500,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"error":{"type":"string","example":"InternalError","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","example":"An unexpected error occurred","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","example":"2025-12-15T22:00:00.000Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"},"traceId":{"type":"string","example":"2771463d58840c8e116dc6dda1e1e5d0","uniqueKey":"traceId","typeLabel":"string"}},"required":["statusCode","error","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":500,"error":"InternalError","message":"An unexpected error occurred","timestamp":"2025-12-15T22:00:00.000Z","details":{},"traceId":"2771463d58840c8e116dc6dda1e1e5d0"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"72447f4a-76df-483b-a85e-2f8c81599d33":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Access token obtained from POST /auth (client_id + client_secret). Valid for 300 seconds.","scopes":[]}}},"servers":{"195e58fc-ebeb-436e-9695-206313888fed":{"url":"https://api-gateway.pague.dev/v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Access token obtained from POST /auth (client_id + client_secret). Valid for 300 seconds.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Access token obtained from POST /auth (client_id + client_secret). Valid for 300 seconds.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.en.json"},"subdomain":"c42dev-a9a8c110","siteName":"pague.dev","title":"Get Transaction - pague.dev","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/api-reference/transactions/get","matchLevel":1},"en":{"href":"/en/api-reference/transactions/get","matchLevel":0},"ru":{"href":"/ru/api-reference/transactions/get","matchLevel":1}}},"lastModified":"2026-08-13T07:44:16.318Z","originalFileLocation":"en/api-reference/transactions/get.mdx","locale":"en"},"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=\"Returns the details of a specific transaction by its ID. Required permission: TRANSACTION:READ or FULL_ACCESS\">\u003cmeta data-mint-head name=\"application-name\" content=\"pague.dev\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_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/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_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/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_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/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_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/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_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/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_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/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_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/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Transaction - pague.dev\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the details of a specific transaction by its ID. Required permission: TRANSACTION:READ or FULL_ACCESS\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"pague.dev\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pague.dev/en/api-reference/transactions/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://c42dev-a9a8c110.mintlify.app/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Get+Transaction\u0026amp;description=Returns+the+details+of+a+specific+transaction+by+its+ID.%0A%0A**Required+permission%3A**+%60TRANSACTION%3AREAD%60+or+%60FULL_ACCESS%60\u0026amp;theme=bf2e44bc0ff244a80a358b30\u0026amp;signature=4a4bc3d10adaf550a7f4898776bf9f12470b1ba2d35f55b55a359c18474d9fac\">\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=\"Get Transaction - pague.dev\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the details of a specific transaction by its ID. Required permission: TRANSACTION:READ or FULL_ACCESS\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://c42dev-a9a8c110.mintlify.app/_mintlify/api/og/v2?division=Transactions\u0026amp;title=Get+Transaction\u0026amp;description=Returns+the+details+of+a+specific+transaction+by+its+ID.%0A%0A**Required+permission%3A**+%60TRANSACTION%3AREAD%60+or+%60FULL_ACCESS%60\u0026amp;theme=bf2e44bc0ff244a80a358b30\u0026amp;signature=4a4bc3d10adaf550a7f4898776bf9f12470b1ba2d35f55b55a359c18474d9fac\">\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/c42dev-a9a8c110/iYt0Njf6YdtYfZ4e/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"pague.dev\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pague.dev/en/api-reference/transactions/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/transactions/get.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.pague.dev/en/api-reference/transactions/get\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.pague.dev/api-reference/transactions/get\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.pague.dev/ru/api-reference/transactions/get\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.pague.dev/api-reference/transactions/get\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pague.dev/#organization\",\"name\":\"pague.dev\",\"url\":\"https://docs.pague.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/c42dev-a9a8c110/t5HJJ1MGuvLiyqGj/logo/light.png?fit=max\u0026auto=format\u0026n=t5HJJ1MGuvLiyqGj\u0026q=85\u0026s=511115fbe8576d7dfea4ff3240f15bbe\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pague.dev#website\",\"name\":\"pague.dev\",\"url\":\"https://docs.pague.dev\",\"publisher\":{\"@id\":\"https://docs.pague.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pague.dev/en/api-reference/transactions/get#webpage\",\"url\":\"https://docs.pague.dev/en/api-reference/transactions/get\",\"name\":\"Get Transaction\",\"description\":\"Returns the details of a specific transaction by its ID. Required permission: TRANSACTION:READ or FULL_ACCESS\",\"dateModified\":\"2026-08-13T07:44:16.318Z\",\"isPartOf\":{\"@id\":\"https://docs.pague.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pague.dev/en/api-reference/transactions/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pague.dev/en/api-reference/transactions/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"pague.dev\",\"item\":\"https://docs.pague.dev\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Transaction\",\"item\":\"https://docs.pague.dev/en/api-reference/transactions/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pague.dev/en/api-reference/transactions/get#apireference\",\"headline\":\"Get Transaction\",\"name\":\"Get Transaction\",\"description\":\"Returns the details of a specific transaction by its ID. Required permission: TRANSACTION:READ or FULL_ACCESS\",\"url\":\"https://docs.pague.dev/en/api-reference/transactions/get\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pague.dev/en/api-reference/transactions/get#webpage\"},\"dateModified\":\"2026-08-13T07:44:16.318Z\",\"publisher\":{\"@id\":\"https://docs.pague.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pague.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"pague.dev\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"pague.dev","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://banking.pague.dev"}]},"languages":[{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/api-reference/transactions/get"}]},{"language":"en","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/en"},{"title":"Webhooks","href":"/en/api-reference/webhooks"}]},{"group":"Authentication","pages":[{"title":"Generate Access Token","openapi":"openapi.en.json POST /auth","href":"/en/api-reference/auth/token"}]},{"group":"Account","pages":[{"title":"Get Account Details","openapi":"openapi.en.json GET /account","href":"/en/api-reference/account/get"}]},{"group":"PIX","pages":[{"title":"Create PIX Charge","openapi":"openapi.en.json POST /pix","href":"/en/api-reference/pix/create"}]},{"group":"Withdrawals","pages":[{"title":"Create PIX Withdrawal","openapi":"openapi.en.json POST /withdrawals","description":"Creates a new PIX withdrawal by providing the PIX key and destination account holder details.\n\n**Required permission:** `WITHDRAWAL:WRITE` or `FULL_ACCESS`\n\n**IP restriction:** If the credential has an allowed IP list configured, requests from outside of it are rejected with `403`. Recommended for credentials with this permission.","href":"/en/api-reference/withdrawals/create"}]},{"group":"Transactions","pages":[{"title":"Get Transaction","openapi":"openapi.en.json GET /transactions/{id}","href":"/en/api-reference/transactions/get"},{"title":"Request Refund","openapi":"openapi.en.json POST /transactions/{id}/refund","description":"Requests a full refund of the given payment transaction. The refund is asynchronous — confirmation arrives via the `refund_completed` webhook once the PSP processes it.\n\n**Required permission:** `REFUND:WRITE` or `FULL_ACCESS`","href":"/en/api-reference/transactions/refund"}]},{"group":"Balance Blocks","pages":[{"title":"List Balance Blocks","openapi":"openapi.en.json GET /balance-blocks","href":"/en/api-reference/balance-blocks/list"}]},{"group":"Projects","pages":[{"title":"Create Project","openapi":"openapi.en.json POST /projects","href":"/en/api-reference/projects/create"},{"title":"List Projects","openapi":"openapi.en.json GET /projects","href":"/en/api-reference/projects/list"}]},{"group":"Sub-accounts","pages":[{"title":"Create Sub-account","openapi":"openapi.en.json POST /sub-accounts","href":"/en/api-reference/sub-accounts/create"},{"title":"List Sub-accounts","openapi":"openapi.en.json GET /sub-accounts","href":"/en/api-reference/sub-accounts/list"}]}]},{"language":"ru","pages":[{"title":"ru","href":"/ru/api-reference/transactions/get"}]}]},"title":"Get Transaction - pague.dev","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}