> ## Documentation Index
> Fetch the complete documentation index at: https://stellaraddresskit.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# TS: Reconciling Deposits

> Handling missing or malformed memos.

Deposits with missing or malformed memos are the leading cause of support tickets for Stellar exchanges.

## Reconciliation Flow

```typescript theme={null}
const result = extractRouting(input);

if (result.routingId === "") {
  // Case A: No memo provided
  // Case B: Memo was non-numeric text
  // Action: Hold deposit for manual review
} else {
  // Case C: Valid ID found
  // Action: Credit user account
}
```

## Warning Handling

Pay close attention to `NON_ROUTABLE_MEMO` warnings. This happens when a user sends a `MEMO_TEXT` that contains their name instead of their ID.
