Stores up to 1000 external money-movement rows. Idempotent on
(source, external_id): re-submitting a row never mutates the
stored copy and reports replayed. Invalid rows report error
per item without blocking the rest.
Amounts are integer minor units. occurred_at (alias at) is
ISO 8601. reference_rail/reference_kind/reference_value
must be provided together; they join against transaction
external refs during matching. raw retains the provider
payload.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Kordio","colors":{"primary":"#0e7c74","light":"#2fa79e","dark":"#0a5f5a"},"logo":{"light":"https://mintcdn.com/kardio/Xb-mASmdxg1dBkgC/logo/light.svg?fit=max\u0026auto=format\u0026n=Xb-mASmdxg1dBkgC\u0026q=85\u0026s=39febaa3bec88ba38bc4601d46e58b9f","dark":"https://mintcdn.com/kardio/Xb-mASmdxg1dBkgC/logo/dark.svg?fit=max\u0026auto=format\u0026n=Xb-mASmdxg1dBkgC\u0026q=85\u0026s=6b1991c4e9b6e4a30e3f801ffa7d71ce","href":"/"},"favicon":"https://mintcdn.com/kardio/euKLImC5QLsAyI85/favicon.svg?fit=max\u0026auto=format\u0026n=euKLImC5QLsAyI85\u0026q=85\u0026s=3074129ebb9b9bce78ff5600d0094230","appearance":{"default":"system"},"background":{"decoration":"grid","color":{"light":"#fafbfb","dark":"#0b0f0e"}},"navbar":{"links":[{"href":"https://kordio.io","label":"kordio.io"},{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.kordio.io"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/trykordio"}},"seo":{"metatags":{"og:type":"website","og:site_name":"Kordio Documentation","og:image":"https://docs.kordio.io/images/og.png","twitter:card":"summary_large_image","twitter:image":"https://docs.kordio.io/images/og.png"}},"fonts":{"heading":{"family":"Geist","weight":600},"body":{"family":"Geist"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"light"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kardio","hasAudioNarration":false,"actualSubdomain":"kardio","customDomains":["docs.kordio.io"],"gitSource":{"type":"github","owner":"southpay","repo":"docs-kordio","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a8eabe1115c1e358a2bd56e","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Endpoints","count":155},{"language":"default","tag":"Kordio Ledger","count":97},{"language":"default","tag":"Kordio Control","count":91},{"language":"default","tag":"Sources","count":15},{"language":"default","tag":"Webhooks","count":11},{"language":"default","tag":"Core concepts","count":10},{"language":"default","tag":"Accounts","count":10},{"language":"default","tag":"Approvals","count":10},{"language":"default","tag":"Transactions","count":10},{"language":"default","tag":"Members","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"kordio.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\ncode,kbd,samp,pre{font-family:\"Geist Mono\", ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, monospace}#content a{text-decoration-thickness:1px;text-underline-offset:4px}"}],"page":{"pagePath":"api-reference/sources/ingest-external-transactions-idempotent-batch","slug":"/api-reference/sources/ingest-external-transactions-idempotent-batch","pageMetadata":{"title":"Ingest external transactions (idempotent batch)","description":"Stores up to 1000 external money-movement rows. Idempotent on\n`(source, external_id)`: re-submitting a row never mutates the\nstored copy and reports `replayed`. Invalid rows report `error`\nper item without blocking the rest.\n\nAmounts are integer minor units. `occurred_at` (alias `at`) is\nISO 8601. `reference_rail`/`reference_kind`/`reference_value`\nmust be provided together; they join against transaction\nexternal refs during matching. `raw` retains the provider\npayload.\n","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/sources/{source_id}/external_transactions","href":"/api-reference/sources/ingest-external-transactions-idempotent-batch","autogeneratedByOpenApi":true},"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 ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Stores up to 1000 external money-movement rows. Idempotent on\\n\", _jsx(_components.code, {\n children: \"(source, external_id)\"\n }), \": re-submitting a row never mutates the\\nstored copy and reports \", _jsx(_components.code, {\n children: \"replayed\"\n }), \". Invalid rows report \", _jsx(_components.code, {\n children: \"error\"\n }), \"\\nper item without blocking the rest.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Amounts are integer minor units. \", _jsx(_components.code, {\n children: \"occurred_at\"\n }), \" (alias \", _jsx(_components.code, {\n children: \"at\"\n }), \") is\\nISO 8601. \", _jsx(_components.code, {\n children: \"reference_rail\"\n }), \"/\", _jsx(_components.code, {\n children: \"reference_kind\"\n }), \"/\", _jsx(_components.code, {\n children: \"reference_value\"\n }), \"\\nmust be provided together; they join against transaction\\nexternal refs during matching. \", _jsx(_components.code, {\n children: \"raw\"\n }), \" retains the provider\\npayload.\"]\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":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Ingest external transactions (idempotent batch)","description":"Stores up to 1000 external money-movement rows. Idempotent on\n`(source, external_id)`: re-submitting a row never mutates the\nstored copy and reports `replayed`. Invalid rows report `error`\nper item without blocking the rest.\n\nAmounts are integer minor units. `occurred_at` (alias `at`) is\nISO 8601. `reference_rail`/`reference_kind`/`reference_value`\nmust be provided together; they join against transaction\nexternal refs during matching. `raw` retains the provider\npayload.\n","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/sources/{source_id}/external_transactions","href":"/api-reference/sources/ingest-external-transactions-idempotent-batch","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Sources"],"summary":"Ingest external transactions (idempotent batch)","description":"Stores up to 1000 external money-movement rows. Idempotent on\n`(source, external_id)`: re-submitting a row never mutates the\nstored copy and reports `replayed`. Invalid rows report `error`\nper item without blocking the rest.\n\nAmounts are integer minor units. `occurred_at` (alias `at`) is\nISO 8601. `reference_rail`/`reference_kind`/`reference_value`\nmust be provided together; they join against transaction\nexternal refs during matching. `raw` retains the provider\npayload.\n","security":["76a9fbf4-f87d-4777-9dd9-10fa47b16859"],"parameters":["97cbc375-2b3a-482b-9c70-4be2be0eedd6"],"requestBody":"330caba1-c5a2-4b1d-9ecd-481d4d7cc0e4","responses":{"201":"206eb953-3361-4fe0-b9f6-7bcce5d11243"},"method":"post","type":"path","servers":["5f64554c-4b88-4ff0-8942-9f1303e4ba2a","5fe01992-2463-4429-b6e4-bbc95fe615a3"],"path":"/ledger/v1/sources/{source_id}/external_transactions","baseUrlOptions":["https://api.kordio.io","http://localhost:4000"],"title":"Ingest external transactions (idempotent batch)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"97cbc375-2b3a-482b-9c70-4be2be0eedd6":{"name":"source_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","maxItems":1000,"items":{"type":"object","required":["external_id","amount","currency","occurred_at"],"properties":{"external_id":{"type":"string","example":"txn_1OqIJq","isRequired":true,"uniqueKey":"\\items.items.[INDEX].external_id","typeLabel":"string"},"amount":{"oneOf":[{"type":"string","description":"External amount in minor units. Accepts a decimal string (recommended) or an integer on write. Returned as a string.","pattern":"^-?\\d+$","example":"10000000","isRequired":true,"uniqueKey":"\\items.items.[INDEX].amount.oneOf.0","typeLabel":"string"},{"type":"integer","description":"External amount in minor units. Accepts a decimal string (recommended) or an integer on write. Returned as a string.","example":"10000000","isRequired":true,"uniqueKey":"\\items.items.[INDEX].amount.oneOf.1","typeLabel":"integer"}],"isRequired":true,"uniqueKey":"\\items.items.[INDEX].amount","typeLabel":"string | integer"},"currency":{"type":"string","example":"USDC","isRequired":true,"uniqueKey":"\\items.items.[INDEX].currency","typeLabel":"string"},"occurred_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"\\items.items.[INDEX].occurred_at","typeLabel":"string\u003cdate-time>"},"account_id":{"type":"string","uniqueKey":"\\items.items.[INDEX].account_id","typeLabel":"string"},"reference_rail":{"type":"string","example":"stripe","uniqueKey":"\\items.items.[INDEX].reference_rail","typeLabel":"string"},"reference_kind":{"type":"string","example":"charge","uniqueKey":"\\items.items.[INDEX].reference_kind","typeLabel":"string"},"reference_value":{"type":"string","example":"ch_3Nq","uniqueKey":"\\items.items.[INDEX].reference_value","typeLabel":"string"},"raw":{"type":"object","uniqueKey":"\\items.items.[INDEX].raw","typeLabel":"object"}},"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"items":[{"external_id":"txn_1OqIJq","amount":"10000000","currency":"USDC","occurred_at":"2023-11-07T05:31:56Z","account_id":"\u003cstring>","reference_rail":"stripe","reference_kind":"charge","reference_value":"ch_3Nq","raw":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"206eb953-3361-4fe0-b9f6-7bcce5d11243":{"description":"Per-item ingest result","content":{"application/json":{"schema":{"type":"object","required":["object","source_id","created_count","replayed_count","error_count","results"],"properties":{"object":{"type":"string","enum":["ingest_result"],"isRequired":true,"uniqueKey":"object","typeLabel":"enum\u003cstring>"},"source_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"source_id","typeLabel":"string\u003cuuid>"},"created_count":{"type":"integer","isRequired":true,"uniqueKey":"created_count","typeLabel":"integer"},"replayed_count":{"type":"integer","isRequired":true,"uniqueKey":"replayed_count","typeLabel":"integer"},"error_count":{"type":"integer","isRequired":true,"uniqueKey":"error_count","typeLabel":"integer"},"results":{"type":"array","items":{"type":"object","required":["external_id","status"],"properties":{"external_id":{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].external_id","typeLabel":"string"},"status":{"type":"string","enum":["created","replayed","error"],"isRequired":true,"uniqueKey":"results.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"external_transaction":{"type":"object","required":["object","id","source_id","external_id","amount","currency","status","created_at"],"properties":{"object":{"type":"string","enum":["external_transaction"],"isRequired":true,"uniqueKey":"results.items.[INDEX].external_transaction.object","typeLabel":"enum\u003cstring>"},"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"results.items.[INDEX].external_transaction.id","typeLabel":"string\u003cuuid>"},"source_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"results.items.[INDEX].external_transaction.source_id","typeLabel":"string\u003cuuid>"},"external_id":{"type":"string","description":"The identifier the source gave this movement. Unique per source.","isRequired":true,"uniqueKey":"results.items.[INDEX].external_transaction.external_id","typeLabel":"string"},"amount":{"type":"string","pattern":"^-?\\d+$","isRequired":true,"uniqueKey":"results.items.[INDEX].external_transaction.amount","typeLabel":"string"},"currency":{"type":"string","isRequired":true,"uniqueKey":"results.items.[INDEX].external_transaction.currency","typeLabel":"string"},"status":{"type":"string","enum":["open","matched","ignored"],"isRequired":true,"uniqueKey":"results.items.[INDEX].external_transaction.status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"results.items.[INDEX].external_transaction.created_at","typeLabel":"string\u003cdate-time>"},"account_id":{"oneOf":[{"type":"string","uniqueKey":"results.items.[INDEX].external_transaction.account_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"results.items.[INDEX].external_transaction.account_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].external_transaction.account_id","typeLabel":"string | null"},"occurred_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"results.items.[INDEX].external_transaction.occurred_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"results.items.[INDEX].external_transaction.occurred_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].external_transaction.occurred_at","typeLabel":"string\u003cdate-time> | null"},"matched_at":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"results.items.[INDEX].external_transaction.matched_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"results.items.[INDEX].external_transaction.matched_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].external_transaction.matched_at","typeLabel":"string\u003cdate-time> | null"},"ignored_reason":{"oneOf":[{"type":"string","uniqueKey":"results.items.[INDEX].external_transaction.ignored_reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"results.items.[INDEX].external_transaction.ignored_reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].external_transaction.ignored_reason","typeLabel":"string | null"},"reconciliation_run_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"results.items.[INDEX].external_transaction.reconciliation_run_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"results.items.[INDEX].external_transaction.reconciliation_run_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].external_transaction.reconciliation_run_id","typeLabel":"string\u003cuuid> | null"},"reconciliation_match_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"results.items.[INDEX].external_transaction.reconciliation_match_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"results.items.[INDEX].external_transaction.reconciliation_match_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].external_transaction.reconciliation_match_id","typeLabel":"string\u003cuuid> | null"},"reference_rail":{"oneOf":[{"type":"string","uniqueKey":"results.items.[INDEX].external_transaction.reference_rail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"results.items.[INDEX].external_transaction.reference_rail.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].external_transaction.reference_rail","typeLabel":"string | null"},"reference_kind":{"oneOf":[{"type":"string","uniqueKey":"results.items.[INDEX].external_transaction.reference_kind.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"results.items.[INDEX].external_transaction.reference_kind.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].external_transaction.reference_kind","typeLabel":"string | null"},"reference_value":{"oneOf":[{"type":"string","uniqueKey":"results.items.[INDEX].external_transaction.reference_value.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"results.items.[INDEX].external_transaction.reference_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.items.[INDEX].external_transaction.reference_value","typeLabel":"string | null"},"raw":{"type":"object","additionalProperties":true,"uniqueKey":"results.items.[INDEX].external_transaction.raw","typeLabel":"object"}},"uniqueKey":"results.items.[INDEX].external_transaction","typeLabel":"object"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"results.items.[INDEX].error.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"results.items.[INDEX].error.message","typeLabel":"string"},"hint":{"type":"string","uniqueKey":"results.items.[INDEX].error.hint","typeLabel":"string"},"param":{"type":"string","uniqueKey":"results.items.[INDEX].error.param","typeLabel":"string"}},"uniqueKey":"results.items.[INDEX].error","typeLabel":"object"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"object":"ingest_result","source_id":"2e0ce42a-46cf-4c61-bf63-0e1a72f5d8a1","created_count":1,"replayed_count":1,"error_count":0,"results":[{"external_id":"txn_1","status":"created"},{"external_id":"txn_0","status":"replayed"}]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"76a9fbf4-f87d-4777-9dd9-10fa47b16859":{"oauth2_write":{"type":"oauth2","description":"Same flow; `ledger:write` is required for any mutation.","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"ledger:write":"Create / patch / reverse / commit transactions and accounts; manage webhook endpoints","ledger:clients:write":"Create, rotate and delete OAuth clients"}}},"scopes":["ledger:write"]}}},"servers":{"5f64554c-4b88-4ff0-8942-9f1303e4ba2a":{"url":"https://api.kordio.io","description":"Production"},"5fe01992-2463-4429-b6e4-bbc95fe615a3":{"url":"http://localhost:4000","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"oauth2","description":"Same flow; `ledger:write` is required for any mutation.","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{"ledger:write":"Create / patch / reverse / commit transactions and accounts; manage webhook endpoints","ledger:clients:write":"Create, rotate and delete OAuth clients"}}},"scopes":["ledger:write"]},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"Same flow; `ledger:write` is required for any mutation.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2_write","name":"Authorization"}],"title":"oauth2_write"}]},"originalFileLocation":"ledger/api-reference/openapi.yaml"},"subdomain":"kardio","siteName":"Kordio","title":"Ingest external transactions (idempotent batch) - Kordio","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-24T10:18:28.816Z","originalFileLocation":"api-reference/sources/ingest-external-transactions-idempotent-batch.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=\"Stores up to 1000 external money-movement rows. Idempotent on (source, external_id): re-submitting a row never mutates the stored copy and reports replayed. Invalid rows report error per item without blocking the rest. Amounts are integer minor units. occurred_at (alias at) is ISO 8601. reference_rail/reference_kind/reference_value must be provided together; they join against transaction external refs during matching. raw retains the provider payload.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kordio\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_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/kardio/451K0cm6_tdI0Nxx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kardio/451K0cm6_tdI0Nxx/_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/kardio/451K0cm6_tdI0Nxx/_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/kardio/451K0cm6_tdI0Nxx/_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/kardio/451K0cm6_tdI0Nxx/_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/kardio/451K0cm6_tdI0Nxx/_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/kardio/451K0cm6_tdI0Nxx/_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/kardio/451K0cm6_tdI0Nxx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Ingest external transactions (idempotent batch) - Kordio\">\u003cmeta data-mint-head property=\"og:description\" content=\"Stores up to 1000 external money-movement rows. Idempotent on (source, external_id): re-submitting a row never mutates the stored copy and reports replayed. Invalid rows report error per item without blocking the rest. Amounts are integer minor units. occurred_at (alias at) is ISO 8601. reference_rail/reference_kind/reference_value must be provided together; they join against transaction external refs during matching. raw retains the provider payload.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kordio Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.kordio.io/images/og.png\">\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=\"Ingest external transactions (idempotent batch) - Kordio\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Stores up to 1000 external money-movement rows. Idempotent on (source, external_id): re-submitting a row never mutates the stored copy and reports replayed. Invalid rows report error per item without blocking the rest. Amounts are integer minor units. occurred_at (alias at) is ISO 8601. reference_rail/reference_kind/reference_value must be provided together; they join against transaction external refs during matching. raw retains the provider payload.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.kordio.io/images/og.png\">\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/kardio/451K0cm6_tdI0Nxx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kordio\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0e7c74\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/sources/ingest-external-transactions-idempotent-batch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kordio.io/#organization\",\"name\":\"Kordio\",\"url\":\"https://docs.kordio.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kardio/Xb-mASmdxg1dBkgC/logo/light.svg?fit=max\u0026auto=format\u0026n=Xb-mASmdxg1dBkgC\u0026q=85\u0026s=39febaa3bec88ba38bc4601d46e58b9f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kordio.io#website\",\"name\":\"Kordio\",\"url\":\"https://docs.kordio.io\",\"publisher\":{\"@id\":\"https://docs.kordio.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch#webpage\",\"url\":\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch\",\"name\":\"Ingest external transactions (idempotent batch)\",\"description\":\"Stores up to 1000 external money-movement rows. Idempotent on (source, external_id): re-submitting a row never mutates the stored copy and reports replayed. Invalid rows report error per item without blocking the rest. Amounts are integer minor units. occurred_at (alias at) is ISO 8601. reference_rail/reference_kind/reference_value must be provided together; they join against transaction external refs during matching. raw retains the provider payload.\",\"dateModified\":\"2026-08-24T10:18:28.816Z\",\"isPartOf\":{\"@id\":\"https://docs.kordio.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.kordio.io/api-reference/system/liveness-+-db-probe\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sources\",\"item\":\"https://docs.kordio.io/api-reference/sources/list-reconciliation-sources\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ingest external transactions (idempotent batch)\",\"item\":\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch#apireference\",\"headline\":\"Ingest external transactions (idempotent batch)\",\"name\":\"Ingest external transactions (idempotent batch)\",\"description\":\"Stores up to 1000 external money-movement rows. Idempotent on (source, external_id): re-submitting a row never mutates the stored copy and reports replayed. Invalid rows report error per item without blocking the rest. Amounts are integer minor units. occurred_at (alias at) is ISO 8601. reference_rail/reference_kind/reference_value must be provided together; they join against transaction external refs during matching. raw retains the provider payload.\",\"url\":\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kordio.io/api-reference/sources/ingest-external-transactions-idempotent-batch#webpage\"},\"image\":\"https://docs.kordio.io/images/og.png\",\"dateModified\":\"2026-08-24T10:18:28.816Z\",\"publisher\":{\"@id\":\"https://docs.kordio.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kordio.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kordio\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Kordio","nav":{"global":null,"tabs":[{"tab":"Overview","icon":"compass","pages":[{"title":"Overview","href":""}]},{"tab":"Kordio Control","icon":"shield-check","pages":[{"title":"Kordio Control","href":"/agents"}]},{"tab":"Kordio Ledger","icon":"book-open","pages":[{"group":"Get started","pages":[{"title":"Ledger API","sidebarTitle":"Overview","icon":"book-open","href":"/ledger"},{"title":"Post your first transaction","sidebarTitle":"Quickstart","icon":"play","tag":"5 min","href":"/ledger/quickstart"},{"title":"OAuth client credentials","sidebarTitle":"Authentication","icon":"key-round","href":"/ledger/authentication"},{"title":"Why a ledger API","sidebarTitle":"Why Kordio","icon":"circle-help","href":"/ledger/why"}]},{"group":"Core concepts","pages":[{"title":"Ledger concepts","sidebarTitle":"Concepts","icon":"layers","href":"/ledger/concepts"},{"title":"Money flows","sidebarTitle":"Money flows","icon":"arrow-right-left","href":"/ledger/money-flows"},{"title":"Reconciliation","sidebarTitle":"Reconciliation","icon":"git-compare","href":"/ledger/reconciliation"},{"title":"Feeds","sidebarTitle":"Feeds","icon":"import","href":"/ledger/feeds"},{"title":"Pagination and expand","sidebarTitle":"Pagination","icon":"list","href":"/ledger/pagination"}]},{"group":"Guarantees","pages":[{"title":"Invariants","sidebarTitle":"Invariants","icon":"lock","href":"/ledger/invariants"},{"title":"Why not just use Postgres?","sidebarTitle":"Why not Postgres","icon":"database","href":"/ledger/why-not-postgres"}]},{"group":"Reference","pages":[{"title":"Errors","sidebarTitle":"Errors","icon":"triangle-alert","href":"/ledger/errors"},{"title":"Webhooks","sidebarTitle":"Webhooks","icon":"webhook","href":"/ledger/webhooks"},{"title":"Ledger API","sidebarTitle":"API reference","icon":"code","href":"/ledger/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"System","pages":[{"title":"Liveness + DB probe","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /healthz","href":"/api-reference/system/liveness-+-db-probe"},{"title":"RFC 8414 authorization server metadata","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /.well-known/oauth-authorization-server","href":"/api-reference/system/rfc-8414-authorization-server-metadata"},{"title":"Capabilities, guarantees, and limits of this deployment","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/_meta/capabilities","href":"/api-reference/system/capabilities-guarantees-and-limits-of-this-deployment"}]},{"group":"Authentication","pages":[{"title":"Issue an access token","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /oauth/token","href":"/api-reference/authentication/issue-an-access-token"}]},{"group":"Accounts","pages":[{"title":"List accounts","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/accounts","href":"/api-reference/accounts/list-accounts"},{"title":"Create an account","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/accounts","href":"/api-reference/accounts/create-an-account"},{"title":"Get an account","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/accounts/{id}","href":"/api-reference/accounts/get-an-account"},{"title":"Get the rolled-up balance for an account category","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/accounts/{id}/category_balance","href":"/api-reference/accounts/get-the-rolled-up-balance-for-an-account-category"},{"title":"Get an account's balance (current or point-in-time)","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/accounts/{id}/balance","href":"/api-reference/accounts/get-an-accounts-balance-current-or-point-in-time"},{"title":"Account statement for a period","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/accounts/{id}/statement","href":"/api-reference/accounts/account-statement-for-a-period"},{"title":"List postings on an account","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/accounts/{id}/postings","href":"/api-reference/accounts/list-postings-on-an-account"},{"title":"List account templates","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/account_templates","href":"/api-reference/accounts/list-account-templates"},{"title":"Define an account template","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/account_templates","href":"/api-reference/accounts/define-an-account-template"},{"title":"Get an account template","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/account_templates/{name}","href":"/api-reference/accounts/get-an-account-template"}]},{"group":"Transactions","pages":[{"title":"List transactions","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/transactions","href":"/api-reference/transactions/list-transactions"},{"title":"Create a transaction","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/transactions","href":"/api-reference/transactions/create-a-transaction"},{"title":"Create many transactions in one call","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/transactions/bulk","href":"/api-reference/transactions/create-many-transactions-in-one-call"},{"title":"Look up a transaction by external reference","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/transactions/lookup","href":"/api-reference/transactions/look-up-a-transaction-by-external-reference"},{"title":"Get a transaction","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/transactions/{id}","href":"/api-reference/transactions/get-a-transaction"},{"title":"Not allowed, the ledger is append-only","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml delete /ledger/v1/transactions/{id}","href":"/api-reference/transactions/not-allowed-the-ledger-is-append-only"},{"title":"Update transaction metadata","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml patch /ledger/v1/transactions/{id}","href":"/api-reference/transactions/update-transaction-metadata"},{"title":"Reverse a transaction","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/transactions/{id}/reverse","href":"/api-reference/transactions/reverse-a-transaction"},{"title":"Commit pending postings","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/transactions/{id}/commit","href":"/api-reference/transactions/commit-pending-postings"},{"title":"Refund a transaction (partial or full)","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/transactions/{id}/refund","href":"/api-reference/transactions/refund-a-transaction-partial-or-full"}]},{"group":"Reserves","pages":[{"title":"Sweep funds into a reserve account","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/reserves","href":"/api-reference/reserves/sweep-funds-into-a-reserve-account"},{"title":"Release funds from a reserve to a target account","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/reserves/{id}/release","href":"/api-reference/reserves/release-funds-from-a-reserve-to-a-target-account"},{"title":"Claw funds from a reserve into an operator account","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/reserves/{id}/claw","href":"/api-reference/reserves/claw-funds-from-a-reserve-into-an-operator-account"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/events","href":"/api-reference/events/list-events"},{"title":"Fetch one event","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/events/{id}","href":"/api-reference/events/fetch-one-event"}]},{"group":"Reports","pages":[{"title":"Trial balance as of a timestamp","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/reports/trial_balance","href":"/api-reference/reports/trial-balance-as-of-a-timestamp"},{"title":"Balance sheet (assets / liabilities / equity)","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/reports/balance_sheet","href":"/api-reference/reports/balance-sheet-assets-liabilities-equity"},{"title":"Income statement (revenue / expense over a period)","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/reports/income_statement","href":"/api-reference/reports/income-statement-revenue-expense-over-a-period"},{"title":"Cash flow over a period","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/reports/cash_flow","href":"/api-reference/reports/cash-flow-over-a-period"},{"title":"Total reserved per currency per counterparty","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/reports/reserves_outstanding","href":"/api-reference/reports/total-reserved-per-currency-per-counterparty"},{"title":"Funds segregation snapshot","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/reports/fund_segregation","href":"/api-reference/reports/funds-segregation-snapshot"}]},{"group":"Reconciliation","pages":[{"title":"List historic reconciliation runs","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/reconciliation_runs","href":"/api-reference/reconciliation/list-historic-reconciliation-runs"},{"title":"Run a reconciliation","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/reconciliation_runs","href":"/api-reference/reconciliation/run-a-reconciliation"},{"title":"Fetch a single run with its snapshot","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/reconciliation_runs/{id}","href":"/api-reference/reconciliation/fetch-a-single-run-with-its-snapshot"},{"title":"Manually mark a posting as reconciled","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/postings/{id}/reconciliations","href":"/api-reference/reconciliation/manually-mark-a-posting-as-reconciled"}]},{"group":"Sources","pages":[{"title":"List reconciliation sources","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/sources","href":"/api-reference/sources/list-reconciliation-sources"},{"title":"Create a source","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/sources","href":"/api-reference/sources/create-a-source"},{"title":"Fetch a source","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/sources/{id}","href":"/api-reference/sources/fetch-a-source"},{"title":"Update a source's defaults","description":null,"deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml patch /ledger/v1/sources/{id}","href":"/api-reference/sources/update-a-sources-defaults"},{"title":"Ingest external transactions (idempotent batch)","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/sources/{source_id}/external_transactions","href":"/api-reference/sources/ingest-external-transactions-idempotent-batch"},{"title":"Run reconciliation for a source","description":"Draws open external transactions for the source (optionally\nbounded by `from`/`to` on `occurred_at`) and matches them.\nStrategy, window, and tolerance default from the source.\n\nRuns with at most 500 open items execute synchronously and\nreturn the full result. Larger runs return `status: queued`\nwith empty arrays; poll `GET /v1/reconciliation_runs/{id}` and\nsubscribe to `reconciliation.run_completed`.\n\nOne queued or running run per source; a second request returns\n`run_in_progress` (409). Inline `items` are rejected here.\n","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/sources/{source_id}/reconciliation_runs","href":"/api-reference/sources/run-reconciliation-for-a-source"},{"title":"Enable or rotate the source's hosted inbound endpoint","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/sources/{id}/inbound","href":"/api-reference/sources/enable-or-rotate-the-sources-hosted-inbound-endpoint"},{"title":"Disable the source's inbound endpoint","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml delete /ledger/v1/sources/{id}/inbound","href":"/api-reference/sources/disable-the-sources-inbound-endpoint"},{"title":"Hosted inbound push endpoint","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/inbound/sources/{token}","href":"/api-reference/sources/hosted-inbound-push-endpoint"},{"title":"List external transactions","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/external_transactions","href":"/api-reference/sources/list-external-transactions"},{"title":"Fetch an external transaction","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/external_transactions/{id}","href":"/api-reference/sources/fetch-an-external-transaction"},{"title":"Match audit trail for an external transaction","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/external_transactions/{id}/matches","href":"/api-reference/sources/match-audit-trail-for-an-external-transaction"},{"title":"Exclude an external transaction from matching","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/external_transactions/{id}/ignore","href":"/api-reference/sources/exclude-an-external-transaction-from-matching"},{"title":"Manually match an external transaction to postings","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/external_transactions/{id}/match","href":"/api-reference/sources/manually-match-an-external-transaction-to-postings"},{"title":"Undo a match","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/external_transactions/{id}/unmatch","href":"/api-reference/sources/undo-a-match"}]},{"group":"Postings","pages":[{"title":"List postings, tenant-wide","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/postings","href":"/api-reference/postings/list-postings-tenant-wide"}]},{"group":"Periods","pages":[{"title":"List period closes","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/period_closes","href":"/api-reference/periods/list-period-closes"},{"title":"Close a period","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/period_closes","href":"/api-reference/periods/close-a-period"},{"title":"Fetch a close with full trial-balance snapshot","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/period_closes/{id}","href":"/api-reference/periods/fetch-a-close-with-full-trial-balance-snapshot"},{"title":"Reopen a closed period","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/period_closes/{id}/reopen","href":"/api-reference/periods/reopen-a-closed-period"}]},{"group":"Webhooks","pages":[{"title":"List webhook endpoints","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/webhook_endpoints","href":"/api-reference/webhooks/list-webhook-endpoints"},{"title":"Register a webhook endpoint","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/webhook_endpoints","href":"/api-reference/webhooks/register-a-webhook-endpoint"},{"title":"Get a webhook endpoint","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/webhook_endpoints/{id}","href":"/api-reference/webhooks/get-a-webhook-endpoint"},{"title":"Remove an endpoint","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml delete /ledger/v1/webhook_endpoints/{id}","href":"/api-reference/webhooks/remove-an-endpoint"},{"title":"Update endpoint settings","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml patch /ledger/v1/webhook_endpoints/{id}","href":"/api-reference/webhooks/update-endpoint-settings"},{"title":"Rotate the signing secret","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/webhook_endpoints/{id}/rotate_secret","href":"/api-reference/webhooks/rotate-the-signing-secret"},{"title":"List recent deliveries for an endpoint","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/webhook_endpoints/{id}/deliveries","href":"/api-reference/webhooks/list-recent-deliveries-for-an-endpoint"},{"title":"Count failed deliveries for an endpoint","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/webhook_endpoints/{id}/deliveries/failed_count","href":"/api-reference/webhooks/count-failed-deliveries-for-an-endpoint"},{"title":"Enqueue a synthetic test delivery","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/webhook_endpoints/{id}/test_send","href":"/api-reference/webhooks/enqueue-a-synthetic-test-delivery"},{"title":"Fetch a webhook delivery","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/webhook_deliveries/{id}","href":"/api-reference/webhooks/fetch-a-webhook-delivery"},{"title":"Re-enqueue a delivery","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/webhook_deliveries/{id}/redeliver","href":"/api-reference/webhooks/re-enqueue-a-delivery"}]},{"group":"Auth","pages":[{"title":"List OAuth clients","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/oauth_clients","href":"/api-reference/auth/list-oauth-clients"},{"title":"Register an OAuth client","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/oauth_clients","href":"/api-reference/auth/register-an-oauth-client"},{"title":"Get an OAuth client","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/oauth_clients/{id}","href":"/api-reference/auth/get-an-oauth-client"},{"title":"Delete an OAuth client","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml delete /ledger/v1/oauth_clients/{id}","href":"/api-reference/auth/delete-an-oauth-client"},{"title":"Rotate the client secret","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/oauth_clients/{id}/rotate_secret","href":"/api-reference/auth/rotate-the-client-secret"}]},{"group":"Tenant","pages":[{"title":"Queue an async export of the tenant's data","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/exports","href":"/api-reference/tenant/queue-an-async-export-of-the-tenants-data"},{"title":"Fetch an export","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/exports/{id}","href":"/api-reference/tenant/fetch-an-export"},{"title":"Redact tenant metadata and party references","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/tenants/me/anonymize","href":"/api-reference/tenant/redact-tenant-metadata-and-party-references"}]},{"group":"Ledgers","pages":[{"title":"List ledgers in the caller's organization","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/ledgers","href":"/api-reference/ledgers/list-ledgers-in-the-callers-organization"},{"title":"Create a ledger","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml post /ledger/v1/ledgers","href":"/api-reference/ledgers/create-a-ledger"},{"title":"Get a ledger","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/ledgers/{id}","href":"/api-reference/ledgers/get-a-ledger"},{"title":"Update a ledger","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml patch /ledger/v1/ledgers/{id}","href":"/api-reference/ledgers/update-a-ledger"}]},{"group":"Organizations","pages":[{"title":"Return the caller's organization context","deprecated":null,"version":null,"openapi":"/ledger/api-reference/openapi.yaml get /ledger/v1/organizations/me","href":"/api-reference/organizations/return-the-callers-organization-context"}]}]}]}]},"basePath":"","title":"Ingest external transactions (idempotent batch) - Kordio","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}