---
updatedAt: 2026-08-08T01:58:34.000Z
agentTools:
  projectIndex: https://docs.deuna.com/llms.txt
---

# Integrating Athia

Athia needs two things from you: **live or recurrent transaction data**, so it can operate against what is happening now, and a **historical dump**, a one-time backfill, so your baselines come from your own population. The history has to be attempt-level: every attempt, not every approved order, with declines, retries, 3DS outcomes, settlement and disputes where you have them. On DEUNA orchestration both already exist; otherwise start with what you can send today and add to it later.

## Two layers: intelligence and execution

Athia works in two layers; you do not need both.

* **Intelligence**, Strategist, the smart dashboards and Ask Athia, running on the data you send whatever path it arrives by, even with no transaction ever routed through DEUNA orchestration.
* **Execution**, agents acting on a transaction: in real time inside the payment flow (routing, message composition, retries), which needs Athia in the transaction path, today, DEUNA orchestration; and batch, scoring a file of scheduled recurring charges before they run.

<HTMLBlock>{`
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet"><title>Choosing an integration path</title><style>
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'Poppins',-apple-system,'Segoe UI',sans-serif;background:#FFFDFA;color:#121821;-webkit-font-smoothing:antialiased}
.bar{height:4px;background:linear-gradient(90deg,#FF5500 0%,#7A3FA0 50%,#1E51F7 100%)}
figure.diagram{margin:0;padding:0;background:#fff}
figure.diagram .canvas{display:block}
figure.diagram svg{display:block;width:100%;height:auto;font-family:'Poppins',-apple-system,'Segoe UI',sans-serif}
figcaption{padding:16px 40px 20px;border-top:1px solid #EFEAE4;background:#FFFDFA;
  font-style:normal;text-align:left;font-weight:400}
figcaption p{margin:0;font-size:12px;line-height:1.6;color:#6E6862;max-width:1180px;
  font-style:normal;text-align:left}
figcaption .legend{display:flex;gap:20px;margin-top:10px;font-size:10.5px;color:#8A837C;
  align-items:center;flex-wrap:wrap;font-style:normal;text-align:left}
figcaption .legend i{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:6px;vertical-align:middle}
@media print{figure.diagram{break-inside:avoid;page-break-inside:avoid}body{background:#fff}}

body{min-height:100vh;display:flex;flex-direction:column}
figure.diagram{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;background:#121821}
figure.diagram .canvas{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center}
figure.diagram svg{max-height:100%;margin:0 auto}
figcaption{flex:0 0 auto;width:100%}
</style></head><body><div class="bar"></div><figure class="diagram" id="path-picker" data-page="athia-integration">
<div class="canvas"><svg viewBox="0 0 1440 600" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Choosing an integration path"><defs>
<radialGradient id="bBlue" cx="35%" cy="30%"><stop offset="0%" stop-color="#8FB6F5"/><stop offset="55%" stop-color="#1E51F7"/><stop offset="100%" stop-color="#183766"/></radialGradient>
<linearGradient id="bOrange" x1="0" y1="0" x2="1" y2="1"><stop offset="0%" stop-color="#FF5500"/><stop offset="100%" stop-color="#E15C1A"/></linearGradient>
<linearGradient id="cardFill" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#22304A"/><stop offset="100%" stop-color="#18202E"/></linearGradient>
<radialGradient id="washTL" cx="12%" cy="14%" r="62%"><stop offset="0%" stop-color="#2E6FE0" stop-opacity=".40"/><stop offset="100%" stop-color="#2E6FE0" stop-opacity="0"/></radialGradient>
<radialGradient id="washTR" cx="88%" cy="10%" r="58%"><stop offset="0%" stop-color="#2E6FE0" stop-opacity=".38"/><stop offset="100%" stop-color="#2E6FE0" stop-opacity="0"/></radialGradient>
<radialGradient id="washBL" cx="10%" cy="88%" r="60%"><stop offset="0%" stop-color="#234A86" stop-opacity=".55"/><stop offset="100%" stop-color="#234A86" stop-opacity="0"/></radialGradient>
<radialGradient id="washWarm" cx="92%" cy="88%" r="55%"><stop offset="0%" stop-color="#FF5500" stop-opacity=".16"/><stop offset="100%" stop-color="#FF5500" stop-opacity="0"/></radialGradient>
<marker id="aB" markerWidth="9" markerHeight="9" refX="7.5" refY="4.5" orient="auto"><path d="M0,0 L9,4.5 L0,9 z" fill="#5C7FB8"/></marker>
<marker id="aO" markerWidth="9" markerHeight="9" refX="7.5" refY="4.5" orient="auto"><path d="M0,0 L9,4.5 L0,9 z" fill="#FF5500"/></marker>
<marker id="aG" markerWidth="9" markerHeight="9" refX="7.5" refY="4.5" orient="auto"><path d="M0,0 L9,4.5 L0,9 z" fill="#00B831"/></marker>
<marker id="aD" markerWidth="9" markerHeight="9" refX="7.5" refY="4.5" orient="auto"><path d="M0,0 L9,4.5 L0,9 z" fill="#8B98AE"/></marker>
<marker id="aR" markerWidth="9" markerHeight="9" refX="7.5" refY="4.5" orient="auto"><path d="M0,0 L9,4.5 L0,9 z" fill="#E23B3B"/></marker>
<filter id="soft" x="-60%" y="-60%" width="220%" height="220%"><feGaussianBlur stdDeviation="9" result="b"/><feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge></filter>
</defs>
<rect width="1440" height="600" fill="#121821"/><rect width="1440" height="600" fill="url(#washBL)"/><text x="52" y="52" fill="#8FB6F5" font-size="11" letter-spacing="2.4" font-weight="600">INTEGRATION</text><text x="52" y="84" fill="#FFFFFF" font-size="23" font-weight="500">Where does your payment data live today?</text>
<rect x="470" y="122" rx="24" width="500" height="48" fill="#16243F" stroke="#3C5A93"/>
<text x="720" y="152" fill="#DCE4F2" font-size="13.5" text-anchor="middle">Four answers. All four give you the full intelligence layer.</text>
<path d="M720 170 L720 196 L212 196 L212 234" fill="none" stroke="#44557A" stroke-width="1.5" marker-end="url(#aB)"/>
<path d="M720 170 L720 196 L550 196 L550 234" fill="none" stroke="#44557A" stroke-width="1.5" marker-end="url(#aB)"/>
<path d="M720 170 L720 196 L890 196 L890 234" fill="none" stroke="#44557A" stroke-width="1.5" marker-end="url(#aB)"/>
<path d="M720 170 L720 196 L1228 196 L1228 234" fill="none" stroke="#44557A" stroke-width="1.5" marker-end="url(#aB)"/>
<rect x="72" y="238" rx="12" width="280" height="196" fill="#1A2230" stroke="#FF6A1F" stroke-width="1.5"/>
<circle cx="106" cy="272" r="15" fill="url(#bOrange)"/><text x="106" y="276" fill="#fff" font-size="12" font-weight="700" text-anchor="middle">1</text><text x="132" y="277" fill="#FFFFFF" font-size="13.5" font-weight="600">Already in DEUNA</text>
<text x="96" y="304" fill="#8B98AE" font-size="11">You route payments through</text><text x="96" y="321" fill="#8B98AE" font-size="11">DEUNA orchestration</text>
<rect x="96" y="338" rx="13" width="232" height="26" fill="#2A1409" stroke="#7A3A14"/><text x="112" y="355" fill="#FFB98A" font-size="10.5" font-weight="600">Nothing to build</text>
<text x="96" y="386" fill="#CBD6EA" font-size="11">Intelligence</text><circle cx="316" cy="382" r="7" fill="#00B831"/><path d="M312.5 382 l2.6 2.6 l4.4 -4.8" fill="none" stroke="#0B1A11" stroke-width="1.7"/>
<text x="96" y="410" fill="#CBD6EA" font-size="11">Agents execute in the flow</text><circle cx="316" cy="406" r="7" fill="#00B831"/><path d="M312.5 406 l2.6 2.6 l4.4 -4.8" fill="none" stroke="#0B1A11" stroke-width="1.7"/>
<rect x="410" y="238" rx="12" width="280" height="196" fill="#1A2230" stroke="#31405A" stroke-width="1"/>
<circle cx="444" cy="272" r="15" fill="url(#bBlue)"/><text x="444" y="276" fill="#fff" font-size="12" font-weight="700" text-anchor="middle">2</text><text x="470" y="277" fill="#FFFFFF" font-size="13.5" font-weight="600">In files you export</text>
<text x="434" y="304" fill="#8B98AE" font-size="11">Deliver to SFTP or S3 on a</text><text x="434" y="321" fill="#8B98AE" font-size="11">schedule your data team sets</text>
<rect x="434" y="338" rx="13" width="232" height="26" fill="#101A2C" stroke="#2F4670"/><text x="450" y="355" fill="#9DB6E4" font-size="10.5" font-weight="600">Offline transfer: files</text>
<text x="434" y="386" fill="#CBD6EA" font-size="11">Intelligence</text><circle cx="654" cy="382" r="7" fill="#00B831"/><path d="M650.5 382 l2.6 2.6 l4.4 -4.8" fill="none" stroke="#0B1A11" stroke-width="1.7"/>
<text x="434" y="410" fill="#5F6B80" font-size="11">Agents execute in the flow</text><text x="654" y="411" fill="#5F6B80" font-size="13" text-anchor="middle">–</text>
<text x="434" y="432" fill="#FFB98A" font-size="9.5">Batch execution for recurring billing rides this path</text>
<rect x="750" y="238" rx="12" width="280" height="196" fill="#1A2230" stroke="#31405A" stroke-width="1"/>
<circle cx="784" cy="272" r="15" fill="url(#bBlue)"/><text x="784" y="276" fill="#fff" font-size="12" font-weight="700" text-anchor="middle">3</text><text x="810" y="277" fill="#FFFFFF" font-size="13.5" font-weight="600">In your warehouse</text>
<text x="774" y="304" fill="#8B98AE" font-size="11">Snowflake, Databricks,</text><text x="774" y="321" fill="#8B98AE" font-size="11">BigQuery or Redshift</text>
<rect x="774" y="338" rx="13" width="232" height="26" fill="#101A2C" stroke="#2F4670"/><text x="790" y="355" fill="#9DB6E4" font-size="10.5" font-weight="600">Offline transfer: warehouse</text>
<text x="774" y="386" fill="#CBD6EA" font-size="11">Intelligence</text><circle cx="994" cy="382" r="7" fill="#00B831"/><path d="M990.5 382 l2.6 2.6 l4.4 -4.8" fill="none" stroke="#0B1A11" stroke-width="1.7"/>
<text x="774" y="410" fill="#5F6B80" font-size="11">Agents execute in the flow</text><text x="994" y="411" fill="#5F6B80" font-size="13" text-anchor="middle">–</text>
<rect x="1090" y="238" rx="12" width="280" height="196" fill="#1A2230" stroke="#31405A" stroke-width="1"/>
<circle cx="1124" cy="272" r="15" fill="url(#bBlue)"/><text x="1124" y="276" fill="#fff" font-size="12" font-weight="700" text-anchor="middle">4</text><text x="1150" y="277" fill="#FFFFFF" font-size="13.5" font-weight="600">Only at your providers</text>
<text x="1114" y="304" fill="#8B98AE" font-size="11">Athia polls each provider with</text><text x="1114" y="321" fill="#8B98AE" font-size="11">a credential you issue</text>
<rect x="1114" y="338" rx="13" width="232" height="26" fill="#101A2C" stroke="#2F4670"/><text x="1130" y="355" fill="#9DB6E4" font-size="10.5" font-weight="600">Direct provider connectors</text>
<text x="1114" y="386" fill="#CBD6EA" font-size="11">Intelligence</text><circle cx="1334" cy="382" r="7" fill="#00B831"/><path d="M1330.5 382 l2.6 2.6 l4.4 -4.8" fill="none" stroke="#0B1A11" stroke-width="1.7"/>
<text x="1114" y="410" fill="#5F6B80" font-size="11">Agents execute in the flow</text><text x="1334" y="411" fill="#5F6B80" font-size="13" text-anchor="middle">–</text>
<rect x="72" y="468" rx="12" width="1298" height="46" fill="#12203A" stroke="#2F5490" stroke-width="1"/>
<text x="96" y="497" fill="#DCE4F2" font-size="12.5">The paths combine. Athia deduplicates across them, so more coverage sharpens the answers rather than gating them.</text>
<rect x="72" y="526" rx="12" width="1298" height="46" fill="#1A1310" stroke="#4A2E1C" stroke-width="1"/>
<text x="96" y="555" fill="#FFB98A" font-size="12.5">Cost data arrives separately, as an in-product CSV upload against a template Athia provides.</text>
</svg></div>
<figcaption><p>The question is where your data lives, not which tier you are on. All four answers deliver the full intelligence layer. Only DEUNA orchestration lets agents decide inside the payment flow in real time, though batch execution for recurring billing rides the file path. The paths combine, and Athia deduplicates across them, so more coverage sharpens the answers rather than gating them.</p><div class="legend"><span><i style="background:#FF5500"></i>Path that also unlocks execution</span><span><i style="background:#1E51F7"></i>Data ingestion path</span><span><i style="background:#00B831"></i>Capability included</span></div></figcaption>
</figure></body></html>
`}</HTMLBlock>

## How much history to send

| History sent  | What it buys you                          |
| ------------- | ----------------------------------------- |
| One month     | Little more than a snapshot               |
| Three months  | Usable baselines                          |
| Six months    | Typical for a first use case              |
| Twelve months | Seasonality and the full chargeback cycle |

Chargebacks arrive 30 to 180 days after the transaction, so twelve months is the minimum where disputes are in scope. For a first proof of concept, 30 to 90 days of the right fields, transactions, decline codes and BIN, beats a year of the wrong ones.

### The minimum to start

The minimum that switches a use case on: `transaction_id` or `order_id`, an `attempt_id` linking attempts to one order, `amount`, `currency`, a UTC `auth_timestamp` and the transaction status. Then the decline signal, which is what makes the data intelligent rather than descriptive: `processor_id`, `decline_code_raw`, `auth_code` on approvals, `gateway_txn_id` and `retry_sequence` with `parent_txn_id`.

You need not rename columns; your Athia team maps yours on ingest. The full field specification is in [Athia Data Dictionary](https://docs.deuna.com/docs/athia-data-dictionary).

## Integration paths

Every path delivers the full intelligence layer; only DEUNA orchestration lets agents execute inside the payment flow.

| Path                                                                              | What it is                                                        | Who sets it up                               | Freshness                                                      |
| --------------------------------------------------------------------------------- | ----------------------------------------------------------------- | -------------------------------------------- | -------------------------------------------------------------- |
| [DEUNA Orchestration](https://docs.deuna.com/docs/athia-with-deuna-orchestration) | Athia reads what DEUNA already processes                          | Nobody                                       | Live                                                           |
| [Offline Data Transfer](https://docs.deuna.com/docs/athia-integration-offline)    | Files you deliver, or a read grant on your warehouse or data lake | Your data team or warehouse admin            | Per delivery or per read                                       |
| [Provider Connectors](https://docs.deuna.com/docs/athia-connectors)               | Athia polls your providers, or receives their webhooks            | Your Athia team, with a credential you issue | Near real time for transactional data, bounded by the provider |

## Combining paths

Athia deduplicates across paths on transaction and attempt identifiers, so overlapping coverage is safe, the same transaction from a connector and a warehouse view is one record, not two. Cost data arrives separately, as an in-product CSV upload against an Athia template.

## Security and compliance

Athia runs on DEUNA's platform security controls, access control, encryption, monitoring, incident response, documented in [DEUNA platform security](https://docs.deuna.com/docs/security). Full card numbers and CVV are never collected on any path: cards are **BIN plus last four digits**, plus expiry, fingerprint or PAR where available, and CVV and AVS only as match / no-match response codes, so exclude full PAN columns before delivery. Personal identifiers may be hashed, tokenized or generalized; residency is scoped at setup; a data processing agreement precedes any transfer.