Las cuentas bancarias de las empresas conectadas a tu integración, con los
saldos tal como quedaron en la última lectura. Es una lista plana: filtras por
empresa o por conexión en vez de navegar por ellas.
Necesitas una API key con el permiso banking:read escrito en ella. El
comodín * no lo concede: los saldos son de un tercero y no salen por una key
que nunca pidió verlos. Sin él, 403 con código banking_permission_required.
Un valor fuera de ese vocabulario responde 400 con code: parameter_invalid y
param con el filtro culpable. page y page_size (tope 200) paginan;
?fields=id,balances recorta cada cuenta a esos campos.
type y subtype son estables aunque cada banco nombre sus productos a su
manera. Cuando Tupana no reconoce el producto, subtype viene null.
number_mask son los últimos 4 dígitos. El número completo nunca sale por la API.
balances son números: enteros en CLP, con decimales en otras monedas.
current es el saldo contable, available el disponible y limit el cupo
(tarjetas y líneas). En una tarjeta, current es lo adeudado.
balances.refreshed_at es la última lectura del banco. El GET nunca toca
al banco: la frescura la define el ciclo de sincronización de Tupana, no
tus llamadas.
credit viene null hoy. Con las tarjetas traerá período de facturación,
vencimiento y pago mínimo.
status es open mientras la cuenta sigue en la conexión y
removed_from_connection cuando el banco dejó de listarla. Sus movimientos
se conservan.
Cada lectura queda registrada con tu API key y la cuenta consultada. Es lo que
permite responder al titular de la cuenta qué integraciones la han visto.
API Key para autenticación. Debe proporcionarse en el header Authorization con el formato: 'Api-Key YOUR-API-KEY' (incluye el prefijo 'Api-Key ' seguido de tu API key)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Tupana","description":"Documentación de la API de facturación electrónica de Tupana para Chile: emite facturas, boletas, notas de crédito y guías (DTE) al SII como facturador de mercado, cobra con link de pago, cede facturas, consulta libros del SII y conecta agentes de IA por MCP.","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/tupana/ob-jfOeuEDi8hVBC/images/tupana.png?fit=max\u0026auto=format\u0026n=ob-jfOeuEDi8hVBC\u0026q=85\u0026s=3af09b9e705253a877f26308e35c22a4","dark":"https://mintcdn.com/tupana/ob-jfOeuEDi8hVBC/images/tupana.png?fit=max\u0026auto=format\u0026n=ob-jfOeuEDi8hVBC\u0026q=85\u0026s=3af09b9e705253a877f26308e35c22a4"},"favicon":"https://mintcdn.com/tupana/ob-jfOeuEDi8hVBC/images/tupana.png?fit=max\u0026auto=format\u0026n=ob-jfOeuEDi8hVBC\u0026q=85\u0026s=3af09b9e705253a877f26308e35c22a4","search":{"prompt":"Busca en la documentación de Tupana..."},"seo":{"metatags":{"canonical":"https://docs.tupana.ai","og:site_name":"Tupana Docs","og:type":"website","og:locale":"es_CL","twitter:card":"summary_large_image","keywords":"API facturación electrónica, Chile, SII, DTE, factura electrónica, boleta electrónica, facturador de mercado, MCP, Tupana","application-name":"Tupana Docs"},"organization":{"id":"https://www.tupana.ai/#organization","name":"Tupana","url":"https://www.tupana.ai","sameAs":["https://www.tupana.ai","https://developers.tupana.ai","https://github.com/tupana-ai"]},"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tupana","hasAudioNarration":false,"actualSubdomain":"tupana","customDomains":["docs.tupana.ai"],"gitSource":{"type":"github","owner":"afgil","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae26f72d710c44dbd167e78","collectionId":"6d2954c9-9f7a-4786-b0bb-cf8c7827c485","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae26f72d710c44dbd167e78"},"entitlements":{},"buildId":"6ae26f72d710c44dbd167e78","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"API Facturación","count":32},{"language":"default","tag":"API Consultas","count":30},{"language":"default","tag":"Guía de Usuario","count":26},{"language":"default","tag":"Referencia","count":16},{"language":"default","tag":"Folios","count":15},{"language":"default","tag":"API Recaudación","count":13},{"language":"default","tag":"Introducción","count":12},{"language":"default","tag":"Documentos Programados","count":12},{"language":"default","tag":"API Bancaria","count":12},{"language":"default","tag":"API Cesiones","count":10}]},"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":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v2/bank-accounts/list","slug":"/api-reference/v2/bank-accounts/list","pageMetadata":{"title":"Listar cuentas bancarias","openapi":"api-reference/openapi-v2.json GET /bank-accounts/","description":"Las cuentas de las empresas conectadas, con los saldos de la última lectura. Exige `banking:read` explícito.","href":"/api-reference/v2/bank-accounts/list"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Las cuentas de las empresas conectadas, con los saldos de la última lectura. Exige \", _jsx(_components.code, {\n children: \"banking:read\"\n }), \" explícito.\"]\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,Info,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Las cuentas bancarias de las empresas conectadas a tu integración, con los\nsaldos tal como quedaron en la última lectura. Es una lista plana: filtras por\nempresa o por conexión en vez de navegar por ellas.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.tupana.ai/v2/bank-accounts/?company_id=ment_3672486436546233854\"`}),_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: Api-Key TU_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bacc_7Hk2938475610293\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"connection_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cred_9Pq5028174639201\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"company_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ment_3672486436546233854\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"institution\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cl_banco_santander\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Banco Santander\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"depository\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subtype\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"checking\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cuenta Corriente\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"number_mask\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5678\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"CLP\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"balances\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1250000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"available\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1200000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"refreshed_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-28T09:12:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"credit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"open\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"meta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"page_size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"total_pages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"links\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"next\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"prev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`permiso`,children:`Permiso`}),`\n`,_jsxs(_components.p,{children:[`Necesitas una API key con el permiso `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`banking:read`})}),` escrito en ella. El\ncomodín `,_jsx(_components.code,{children:`*`}),` no lo concede: los saldos son de un tercero y no salen por una key\nque nunca pidió verlos. Sin él, `,_jsx(_components.code,{children:`403`}),` con código `,_jsx(_components.code,{children:`banking_permission_required`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`filtros`,children:`Filtros`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parámetro`}),_jsx(_components.th,{children:`Qué hace`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`company_id`})}),_jsxs(_components.td,{children:[`Solo las cuentas de esa empresa (`,_jsx(_components.code,{children:`ment_…`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`connection_id`})}),_jsxs(_components.td,{children:[`Solo las cuentas que alimenta esa conexión (`,_jsx(_components.code,{children:`cred_…`}),`, el id de `,_jsx(_components.a,{href:`/api-reference/v2/connections/list`,children:_jsx(_components.code,{children:`GET /connections/`})}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`depository`}),` (corriente, vista, ahorro) o `,_jsx(_components.code,{children:`credit`}),` (tarjeta, línea).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subtype`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`checking`}),`, `,_jsx(_components.code,{children:`savings`}),`, `,_jsx(_components.code,{children:`sight`}),`, `,_jsx(_components.code,{children:`credit_card`}),`, `,_jsx(_components.code,{children:`line_of_credit`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`open`}),` o `,_jsx(_components.code,{children:`removed_from_connection`}),`.`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Un valor fuera de ese vocabulario responde `,_jsx(_components.code,{children:`400`}),` con `,_jsx(_components.code,{children:`code: parameter_invalid`}),` y\n`,_jsx(_components.code,{children:`param`}),` con el filtro culpable. `,_jsx(_components.code,{children:`page`}),` y `,_jsx(_components.code,{children:`page_size`}),` (tope 200) paginan;\n`,_jsx(_components.code,{children:`?fields=id,balances`}),` recorta cada cuenta a esos campos.`]}),`\n`,_jsx(Heading,{level:`2`,id:`lo-que-trae-cada-cuenta`,children:`Lo que trae cada cuenta`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`type`}),` y `,_jsx(_components.code,{children:`subtype`}),` son estables aunque cada banco nombre sus productos a su\nmanera. Cuando Tupana no reconoce el producto, `,_jsx(_components.code,{children:`subtype`}),` viene `,_jsx(_components.code,{children:`null`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`number_mask`}),` son los últimos 4 dígitos. El número completo nunca sale por la API.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`balances`}),` son números: enteros en CLP, con decimales en otras monedas.\n`,_jsx(_components.code,{children:`current`}),` es el saldo contable, `,_jsx(_components.code,{children:`available`}),` el disponible y `,_jsx(_components.code,{children:`limit`}),` el cupo\n(tarjetas y líneas). En una tarjeta, `,_jsx(_components.code,{children:`current`}),` es lo adeudado.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`balances.refreshed_at`}),` es la última lectura del banco. `,_jsx(_components.strong,{children:`El GET nunca toca\nal banco`}),`: la frescura la define el ciclo de sincronización de Tupana, no\ntus llamadas.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`credit`}),` viene `,_jsx(_components.code,{children:`null`}),` hoy. Con las tarjetas traerá período de facturación,\nvencimiento y pago mínimo.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`status`}),` es `,_jsx(_components.code,{children:`open`}),` mientras la cuenta sigue en la conexión y\n`,_jsx(_components.code,{children:`removed_from_connection`}),` cuando el banco dejó de listarla. Sus movimientos\nse conservan.`]}),`\n`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`Cada lectura queda registrada con tu API key y la cuenta consultada. Es lo que\npermite responder al titular de la cuenta qué integraciones la han visto.`})})]})}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":"Listar cuentas bancarias","openapi":"api-reference/openapi-v2.json GET /bank-accounts/","description":"Las cuentas de las empresas conectadas, con los saldos de la última lectura. Exige `banking:read` explícito.","href":"/api-reference/v2/bank-accounts/list"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Permiso","slug":"permiso","depth":2,"children":[]},{"title":"Filtros","slug":"filtros","depth":2,"children":[]},{"title":"Lo que trae cada cuenta","slug":"lo-que-trae-cada-cuenta","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"listBankAccounts_v2","tags":["Cuentas bancarias"],"security":["92ce4df9-aac9-4bcb-8971-42d8c62c2ed6"],"summary":"Listar cuentas bancarias","description":"Las cuentas de las empresas conectadas, con los saldos de la última lectura. Exige `banking:read` explícito.","parameters":["dadcb28c-c2bc-4e82-93ff-04d827fc1a6f","717ee424-2cb6-4923-b5b4-3ac26d0314c4","e0765390-72cd-4379-b157-fb0b8e4e99a7","cc135256-f2b2-4714-b4cb-57457e3fe766","0651fbe7-8c0b-4067-9234-419815959179","7f492bcb-32ea-48c0-a911-3fdfafca09d6","b6b25370-af14-4eda-99e3-0628abda4b5e","0cf3bd9d-e926-4a4d-ab40-90d3a48274da"],"responses":{"200":"1fb58a42-930f-4474-bbf8-23d7825dec1b","400":"4ae10592-ba62-42f5-bbf0-08c718b00401","403":"123b9ac4-3d9b-468a-ae53-43c795d5ecd3"},"method":"get","type":"path","servers":["5698181a-f56d-4702-93f1-c6cadceb75b6"],"path":"/bank-accounts/","baseUrlOptions":["https://api.tupana.ai/v2"],"title":"Listar cuentas bancarias","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"dadcb28c-c2bc-4e82-93ff-04d827fc1a6f":{"name":"company_id","in":"query","required":false,"schema":{"type":"string","example":"ment_3672486436546233854","isRequired":false,"description":"Solo las cuentas de esa empresa.","uniqueKey":"","typeLabel":"string"},"description":"Solo las cuentas de esa empresa."},"717ee424-2cb6-4923-b5b4-3ac26d0314c4":{"name":"connection_id","in":"query","required":false,"schema":{"type":"string","example":"cred_9Pq5028174639201","isRequired":false,"description":"Solo las cuentas que alimenta esa conexión.","uniqueKey":"","typeLabel":"string"},"description":"Solo las cuentas que alimenta esa conexión."},"e0765390-72cd-4379-b157-fb0b8e4e99a7":{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["depository","credit"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"cc135256-f2b2-4714-b4cb-57457e3fe766":{"name":"subtype","in":"query","required":false,"schema":{"type":"string","enum":["checking","savings","sight","credit_card","line_of_credit"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"0651fbe7-8c0b-4067-9234-419815959179":{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["open","removed_from_connection"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"}},"7f492bcb-32ea-48c0-a911-3fdfafca09d6":{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"isRequired":false,"uniqueKey":"","typeLabel":"integer"}},"b6b25370-af14-4eda-99e3-0628abda4b5e":{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":50,"maximum":200,"isRequired":false,"uniqueKey":"","typeLabel":"integer"}},"0cf3bd9d-e926-4a4d-ab40-90d3a48274da":{"name":"fields","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"Campos a devolver, separados por coma. `id` siempre va.","uniqueKey":"","typeLabel":"string"},"description":"Campos a devolver, separados por coma. `id` siempre va."}},"responses":{"1fb58a42-930f-4474-bbf8-23d7825dec1b":{"description":"Cuentas bancarias","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"bacc_7Hk2938475610293","uniqueKey":"data.items.[INDEX].id","typeLabel":"string"},"connection_id":{"oneOf":[{"type":"string","example":"cred_9Pq5028174639201","description":"La conexión (`cred_…`) que alimenta esta cuenta.","uniqueKey":"data.items.[INDEX].connection_id.oneOf.0","typeLabel":"string"},{"type":"null","example":"cred_9Pq5028174639201","description":"La conexión (`cred_…`) que alimenta esta cuenta.","uniqueKey":"data.items.[INDEX].connection_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].connection_id","typeLabel":"string | null"},"company_id":{"type":"string","example":"ment_3672486436546233854","uniqueKey":"data.items.[INDEX].company_id","typeLabel":"string"},"institution":{"type":"object","properties":{"code":{"type":"string","example":"cl_banco_santander","uniqueKey":"data.items.[INDEX].institution.code","typeLabel":"string"},"name":{"type":"string","example":"Banco Santander","uniqueKey":"data.items.[INDEX].institution.name","typeLabel":"string"}},"uniqueKey":"data.items.[INDEX].institution","typeLabel":"object"},"type":{"type":"string","enum":["depository","credit"],"uniqueKey":"data.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"subtype":{"oneOf":[{"type":"string","enum":["checking","savings","sight","credit_card","line_of_credit"],"description":"`null` cuando Tupana no reconoce el producto del banco.","uniqueKey":"data.items.[INDEX].subtype.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["checking","savings","sight","credit_card","line_of_credit"],"description":"`null` cuando Tupana no reconoce el producto del banco.","uniqueKey":"data.items.[INDEX].subtype.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].subtype","typeLabel":"enum\u003cstring> | null"},"name":{"type":"string","example":"Cuenta Corriente","uniqueKey":"data.items.[INDEX].name","typeLabel":"string"},"number_mask":{"oneOf":[{"type":"string","example":"5678","description":"Últimos 4 dígitos. El número completo nunca sale.","uniqueKey":"data.items.[INDEX].number_mask.oneOf.0","typeLabel":"string"},{"type":"null","example":"5678","description":"Últimos 4 dígitos. El número completo nunca sale.","uniqueKey":"data.items.[INDEX].number_mask.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].number_mask","typeLabel":"string | null"},"currency":{"type":"string","example":"CLP","uniqueKey":"data.items.[INDEX].currency","typeLabel":"string"},"balances":{"type":"object","properties":{"current":{"oneOf":[{"type":"number","example":1250000,"description":"Saldo contable. En una tarjeta, lo adeudado.","uniqueKey":"data.items.[INDEX].balances.current.oneOf.0","typeLabel":"number"},{"type":"null","example":1250000,"description":"Saldo contable. En una tarjeta, lo adeudado.","uniqueKey":"data.items.[INDEX].balances.current.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].balances.current","typeLabel":"number | null"},"available":{"oneOf":[{"type":"number","example":1200000,"uniqueKey":"data.items.[INDEX].balances.available.oneOf.0","typeLabel":"number"},{"type":"null","example":1200000,"uniqueKey":"data.items.[INDEX].balances.available.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].balances.available","typeLabel":"number | null"},"limit":{"oneOf":[{"type":"number","description":"Cupo (tarjetas y líneas).","uniqueKey":"data.items.[INDEX].balances.limit.oneOf.0","typeLabel":"number"},{"type":"null","description":"Cupo (tarjetas y líneas).","uniqueKey":"data.items.[INDEX].balances.limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].balances.limit","typeLabel":"number | null"},"refreshed_at":{"oneOf":[{"type":"string","format":"date-time","description":"Última lectura del banco. El GET nunca toca al banco.","uniqueKey":"data.items.[INDEX].balances.refreshed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Última lectura del banco. El GET nunca toca al banco.","uniqueKey":"data.items.[INDEX].balances.refreshed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].balances.refreshed_at","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.items.[INDEX].balances","typeLabel":"object"},"credit":{"oneOf":[{"type":"object","description":"`null` por ahora; con las tarjetas traerá período, vencimiento y pago mínimo.","uniqueKey":"data.items.[INDEX].credit.oneOf.0","typeLabel":"object"},{"type":"null","description":"`null` por ahora; con las tarjetas traerá período, vencimiento y pago mínimo.","uniqueKey":"data.items.[INDEX].credit.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.items.[INDEX].credit","typeLabel":"object | null"},"status":{"type":"string","enum":["open","closed","removed_from_connection"],"uniqueKey":"data.items.[INDEX].status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data","typeLabel":"object[]"},"meta":{"type":"object","properties":{"page":{"type":"integer","uniqueKey":"meta.page","typeLabel":"integer"},"page_size":{"type":"integer","uniqueKey":"meta.page_size","typeLabel":"integer"},"total":{"type":"integer","uniqueKey":"meta.total","typeLabel":"integer"},"total_pages":{"type":"integer","uniqueKey":"meta.total_pages","typeLabel":"integer"}},"uniqueKey":"meta","typeLabel":"object"},"links":{"type":"object","properties":{"next":{"oneOf":[{"type":"string","uniqueKey":"links.next.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"links.next.oneOf.1","typeLabel":"null"}],"uniqueKey":"links.next","typeLabel":"string | null"},"prev":{"oneOf":[{"type":"string","uniqueKey":"links.prev.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"links.prev.oneOf.1","typeLabel":"null"}],"uniqueKey":"links.prev","typeLabel":"string | null"}},"uniqueKey":"links","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"id":"bacc_7Hk2938475610293","connection_id":"cred_9Pq5028174639201","company_id":"ment_3672486436546233854","institution":{"code":"cl_banco_santander","name":"Banco Santander"},"type":"depository","subtype":"checking","name":"Cuenta Corriente","number_mask":"5678","currency":"CLP","balances":{"current":1250000,"available":1200000,"limit":123,"refreshed_at":"2023-11-07T05:31:56Z"},"credit":{},"status":"open"}],"meta":{"page":123,"page_size":123,"total":123,"total_pages":123},"links":{"next":"\u003cstring>","prev":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4ae10592-ba62-42f5-bbf0-08c718b00401":{"description":"Un filtro con un valor fuera del vocabulario (`code: parameter_invalid`, `param`)","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"123b9ac4-3d9b-468a-ae53-43c795d5ecd3":{"description":"La API key no tiene `banking:read` explícito (`code: banking_permission_required`)","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"92ce4df9-aac9-4bcb-8971-42d8c62c2ed6":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"API Key para autenticación. Debe proporcionarse en el header Authorization con el formato: 'Api-Key YOUR-API-KEY' (incluye el prefijo 'Api-Key ' seguido de tu API key)","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"5698181a-f56d-4702-93f1-c6cadceb75b6":{"url":"https://api.tupana.ai/v2","description":"Producción (v2)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"API Key para autenticación. Debe proporcionarse en el header Authorization con el formato: 'Api-Key YOUR-API-KEY' (incluye el prefijo 'Api-Key ' seguido de tu API key)","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"Authorization","type":"string","description":"API Key para autenticación. Debe proporcionarse en el header Authorization con el formato: 'Api-Key YOUR-API-KEY' (incluye el prefijo 'Api-Key ' seguido de tu API key)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"Authorization"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi-v2.json"},"subdomain":"tupana","siteName":"Tupana","title":"Listar cuentas bancarias - Tupana","navMaps":{"firstHrefInVersion":{"v2":{"href":"/api-reference/v2/bank-accounts/list","matchLevel":0},"v1":{"href":"/","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-10-28T21:34:09.669Z","originalFileLocation":"api-reference/v2/bank-accounts/list.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Las cuentas de las empresas conectadas, con los saldos de la última lectura. Exige banking:read explícito.\">\u003cmeta data-mint-head name=\"keywords\" content=\"API facturación electrónica, Chile, SII, DTE, factura electrónica, boleta electrónica, facturador de mercado, MCP, Tupana\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tupana\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_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/tupana/fowjLNjN54KnVxEj/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Listar cuentas bancarias - Tupana\">\u003cmeta data-mint-head property=\"og:description\" content=\"Las cuentas de las empresas conectadas, con los saldos de la última lectura. Exige banking:read explícito.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tupana Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tupana.mintlify.app/_mintlify/api/og/v2?division=Cuentas\u0026amp;title=Listar+cuentas+bancarias\u0026amp;description=Las+cuentas+de+las+empresas+conectadas%2C+con+los+saldos+de+la+%C3%BAltima+lectura.+Exige+%60banking%3Aread%60+expl%C3%ADcito.\u0026amp;theme=8f794ab3ff62e6ef205888a5\u0026amp;signature=4fe20b5e8ee3d83a767b5db081af502f9d7f68c9831ad2f35bebe3f77a13c972\">\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=\"Listar cuentas bancarias - Tupana\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Las cuentas de las empresas conectadas, con los saldos de la última lectura. Exige banking:read explícito.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tupana.mintlify.app/_mintlify/api/og/v2?division=Cuentas\u0026amp;title=Listar+cuentas+bancarias\u0026amp;description=Las+cuentas+de+las+empresas+conectadas%2C+con+los+saldos+de+la+%C3%BAltima+lectura.+Exige+%60banking%3Aread%60+expl%C3%ADcito.\u0026amp;theme=8f794ab3ff62e6ef205888a5\u0026amp;signature=4fe20b5e8ee3d83a767b5db081af502f9d7f68c9831ad2f35bebe3f77a13c972\">\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/tupana/fowjLNjN54KnVxEj/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tupana\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003cmeta data-mint-head name=\"og:locale\" content=\"es_CL\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tupana Docs\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v2/bank-accounts/list.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.tupana.ai/#organization\",\"name\":\"Tupana\",\"url\":\"https://www.tupana.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tupana/ob-jfOeuEDi8hVBC/images/tupana.png?fit=max\u0026auto=format\u0026n=ob-jfOeuEDi8hVBC\u0026q=85\u0026s=3af09b9e705253a877f26308e35c22a4\"},\"sameAs\":[\"https://www.tupana.ai\",\"https://developers.tupana.ai\",\"https://github.com/tupana-ai\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tupana.ai#website\",\"name\":\"Tupana\",\"url\":\"https://docs.tupana.ai\",\"publisher\":{\"@id\":\"https://www.tupana.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list#webpage\",\"url\":\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list\",\"name\":\"Listar cuentas bancarias\",\"description\":\"Las cuentas de las empresas conectadas, con los saldos de la última lectura. Exige banking:read explícito.\",\"dateModified\":\"2026-10-28T21:34:09.669Z\",\"isPartOf\":{\"@id\":\"https://docs.tupana.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tupana\",\"item\":\"https://docs.tupana.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Listar cuentas bancarias\",\"item\":\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list#apireference\",\"headline\":\"Listar cuentas bancarias\",\"name\":\"Listar cuentas bancarias\",\"description\":\"Las cuentas de las empresas conectadas, con los saldos de la última lectura. Exige banking:read explícito.\",\"url\":\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tupana.ai/api-reference/v2/bank-accounts/list#webpage\"},\"dateModified\":\"2026-10-28T21:34:09.669Z\",\"publisher\":{\"@id\":\"https://www.tupana.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tupana.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tupana\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tupana","nav":{"global":null,"versions":[{"version":"v2","tabs":[{"tab":"Guía de Usuario","pages":[{"title":"Guía de Usuario","href":""}]},{"tab":"API Facturación","pages":[{"title":"API Facturación","href":"/api-reference/v2/introduction"}]},{"tab":"API Bancaria","groups":[{"group":"Introducción","pages":[{"title":"API Bancaria — Introducción","href":"/api-reference/v2/banking/introduction"},{"title":"Primera lectura de un banco","href":"/api-reference/v2/banking/guides/first-sync"}]},{"group":"Conexiones","pages":[{"title":"Tupana Link: conectar empresas al SII desde tu SaaS","sidebarTitle":"Tupana Link","href":"/api-reference/v2/connect/tupana-link"},{"title":"Listar conexiones de empresas (API v2)","sidebarTitle":"Listar conexiones","openapi":"api-reference/openapi-v2.json GET /connections/","href":"/api-reference/v2/connections/list"},{"title":"Reautorizar una conexión","openapi":"api-reference/openapi-v2.json POST /connections/{connection_id}/reauthorizations/","href":"/api-reference/v2/connections/reauthorize"},{"title":"Desactivar una conexión de empresa (API v2)","sidebarTitle":"Desactivar una conexión","openapi":"api-reference/openapi-v2.json DELETE /connections/{connection_id}/","href":"/api-reference/v2/connections/delete"}]},{"group":"Instituciones","pages":[{"title":"Listar instituciones","openapi":"api-reference/openapi-v2.json GET /institutions/","description":"Los bancos que se pueden conectar con Tupana Link y qué entrega cada uno.","href":"/api-reference/v2/institutions/list"}]},{"group":"Cuentas","pages":[{"title":"Listar cuentas bancarias","openapi":"api-reference/openapi-v2.json GET /bank-accounts/","href":"/api-reference/v2/bank-accounts/list"},{"title":"Obtener una cuenta bancaria","openapi":"api-reference/openapi-v2.json GET /bank-accounts/{account_id}/","description":"Una cuenta por su id. Una cuenta de otra empresa es `404`.","href":"/api-reference/v2/bank-accounts/get"}]},{"group":"Movimientos","pages":[{"title":"Listar movimientos de una cuenta","openapi":"api-reference/openapi-v2.json GET /bank-accounts/{account_id}/movements/","href":"/api-reference/v2/movements/list"},{"title":"Obtener un movimiento","openapi":"api-reference/openapi-v2.json GET /movements/{movement_id}/","href":"/api-reference/v2/movements/get"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/api-reference/v2/banking/webhooks"},{"title":"Crear un webhook (API v2)","sidebarTitle":"Crear webhook","openapi":"api-reference/openapi-v2.json POST /webhooks/","href":"/api-reference/v2/webhooks-pages/create"}]},{"group":"Errores","pages":[{"title":"Errores de la API v2","sidebarTitle":"Errores","href":"/api-reference/v2/errors"}]}]},{"tab":"API Cesiones","pages":[{"title":"API Cesiones","href":"/api-reference/v2/cessions/introduction"}]},{"tab":"API Recaudación","pages":[{"title":"API Recaudación","href":"/api-reference/payment-requests/introduction"}]},{"tab":"API Consultas","pages":[{"title":"API Consultas","href":"/api-reference/v2/consultas/introduction"}]},{"tab":"Bases de Datos Gratuitas","pages":[{"title":"Bases de Datos Gratuitas","href":"/api-reference/v2/free-databases/introduction"}]},{"tab":"API Boleta de Honorarios","pages":[{"title":"API Boleta de Honorarios","href":"/api-reference/v2/honorary/introduction"}]}]},{"version":"v1","pages":[{"title":"v1","href":"/"}]}]},"title":"Listar cuentas bancarias - Tupana","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"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","ApiExamples-CgXVLxUC.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BF8I5oUf.js","shallow-Byd0lWnC.js","getApiPlaygroundDisplay-BGOZG1OK.js","CodeSnippet-CpvQL0CY.js","CodeSnippets-B8wkBKXa.js","Page-CBCH2P7b.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"]}