> For the complete documentation index, see [llms.txt](https://docs.txn.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.txn.io/channels/channels-deposit-flow.md).

# Channels deposit flow

## Channels flow of funds

<figure><img src="https://1963856601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgfUDRstNYYBTf2futZ28%2Fuploads%2Fh7RQEWqyW2vouDm0WLOi%2Fimage.png?alt=media&amp;token=014ee334-592e-4665-9c3a-6449aa2c0d26" alt=""><figcaption></figcaption></figure>

## Channels diagram

<figure><img src="https://1963856601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgfUDRstNYYBTf2futZ28%2Fuploads%2FoyoMKecsK8ICluSjoMXv%2Fchannels%20diagram.svg?alt=media&amp;token=566dfe07-16b3-444c-925f-a11427504271" alt=""><figcaption></figcaption></figure>

## Channel status list

<table><thead><tr><th width="156">status</th><th width="139">Final state?</th><th>Description</th></tr></thead><tbody><tr><td>enabled</td><td>no</td><td>The enabled state means that Txn will process incoming deposit transactions and credit the merchant's balance as usual.</td></tr><tr><td>disabled</td><td>no</td><td>The disabled state means that Txn won't process incoming deposits, convert crypto to fiat, or credit funds to the merchant's balance. This can be useful when merchants want to stop or pause deposits made through a particular channel.</td></tr></tbody></table>

## Channel deposit status list

The status of a channel deposit is the `status` attribute returned by [Listing channel deposits](https://docs.txn.io/channels/listing-channel-deposits.md), [Reading channel deposit](https://docs.txn.io/channels/reading-channel-deposit.md) and [channel webhooks](https://docs.txn.io/channels/channel-webhooks.md). The same value appears as `simplifiedState` when the deposit is listed through [Listing transactions](https://docs.txn.io/transactions/listing-transactions.md).

<table><thead><tr><th width="156">status</th><th width="139">Final state?</th><th>Description</th></tr></thead><tbody><tr><td><code>pending</code></td><td>no</td><td>Deposit detected. Txn is waiting for on-chain confirmations and, for crypto-to-fiat channels, converting the funds.</td></tr><tr><td><code>on_hold</code></td><td>no</td><td>Deposit flagged by compliance screening and under review by Txn's compliance team.</td></tr><tr><td><code>completed</code></td><td>yes</td><td>Deposit confirmed and credited to the channel's target account.</td></tr><tr><td><code>rejected</code></td><td>yes</td><td>Deposit rejected by compliance, or the on-chain transaction was never confirmed. The funds are not credited.</td></tr></tbody></table>

```mermaid
stateDiagram-v2
    [*] --> pending : deposit detected
    pending --> completed : confirmed and credited
    pending --> on_hold : compliance review
    pending --> rejected : deposit failed
    on_hold --> completed : released
    on_hold --> rejected : rejected
```

{% hint style="info" %}
Only `completed` deposits change the target account's balance. Treat `completed` and `rejected` as final; `pending` and `on_hold` can still change.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.txn.io/channels/channels-deposit-flow.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
