> 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/accounts/reading-account-transaction.md).

# Reading account transaction

<mark style="color:green;">`GET`</mark> `/api/public/v1/accounts/:account_id/transactions/:transaction_id/details`

Returns the type-specific details of a single account transaction. The `data.type` and the attributes returned depend on the underlying transaction: a channel deposit comes back as `channelTransactions` with the amounts, fees and screening result documented on [Reading channel deposit](https://docs.txn.io/channels/reading-channel-deposit.md), a crypto deposit as `coinDeposits` with the on-chain hash, risk score, network and address documented on [Reading crypto deposit](https://docs.txn.io/transactions/reading-crypto-deposit.md). Related entities such as the account, the network and address, or the API key that created the transaction are returned in `included[]`.

**Headers**

| Name          | Value                      |
| ------------- | -------------------------- |
| Content-Type  | `application/vnd.api+json` |
| Authorization | `Bearer <api_key>`         |

**Path Parameters**

| Name            | Type   | Description     |
| --------------- | ------ | --------------- |
| account\_id     | string | Account ID.     |
| transaction\_id | string | Transaction ID. |

**cURL**

```bash
curl "https://api.sandbox.txn.io/api/public/v1/accounts/13a85b45-8543-41c7-b963-394d4ea128ae/transactions/adb2275f-94e3-4035-9518-ab7dc6a87d92/details" \
     -H 'Content-Type: application/vnd.api+json' \
     -H 'Authorization: Bearer <api_key>'
```

**Response**

{% tabs %}
{% tab title="HTTP 200" %}

```json
{
  "data": {
    "id": "adb2275f-94e3-4035-9518-ab7dc6a87d92",
    "type": "channelTransactions",
    "attributes": {
      "createdAt": "2026-10-29T10:37:38.756Z",
      "updatedAt": "2026-10-29T10:38:01.028Z",
      "hash": "4ccb1de35c0d2ac3f4fe38beaa77777e9a14e2f9122a959722c41fddd2b92722",
      "address": "TVzFgphS8tHEikFvZSrfkQiGRamAxvCh3X",
      "networkCode": "ttrx",
      "networkName": "Tron",
      "amount": "14.46",
      "amountCurrency": "EUR",
      "payAmount": "50.000000",
      "payCurrency": "TRX",
      "localAmount": "14.61",
      "localCurrency": "EUR",
      "amountToLocalCurrencyRate": "1.0",
      "exchangeRate": "0.2922777",
      "payToLocalCurrencyRate": "0.2922777",
      "networkFee": "1.100000",
      "networkFeeCurrency": "TRX",
      "networkFeePayAmount": "1.100000",
      "networkFeeLocalAmount": "0.32",
      "riskScore": null,
      "clusterCategory": "Exchange",
      "clusterName": "Test ENV",
      "fee": "0.15",
      "consolidationFee": "0.00",
      "feeCurrency": "EUR",
      "status": "completed",
      "channelId": "d3840d33-ea91-4927-831d-15508a5585ae",
      "reference": "smoke-ch-1b03e430-0246-4668-8e62-d2f7cba4376e",
      "simplifiedState": "completed",
      "sourceAddresses": [
        "TVkgb653SJdqxA8jyWcD49PAJonZzCBcMk"
      ]
    },
    "relationships": {
      "account": {
        "data": {
          "type": "accounts",
          "id": "13a85b45-8543-41c7-b963-394d4ea128ae"
        }
      },
      "author": {
        "data": {
          "type": "apiKeys",
          "id": "9c4b8ebd-ae0b-4812-a97b-92d8359fd1e0"
        }
      }
    }
  },
  "included": [
    {
      "id": "13a85b45-8543-41c7-b963-394d4ea128ae",
      "type": "accounts",
      "attributes": {
        "master": true,
        "currencyCode": "EUR",
        "label": "master",
        "bankReference": "BDR6421088115176062",
        "balance": "39161.07",
        "totalBalance": null,
        "bankWithdrawalAvailable": true,
        "bankDepositAvailable": true,
        "transferAvailable": true,
        "currencyType": "fiat"
      },
      "relationships": {
        "company": {
          "meta": {
            "included": false
          }
        },
        "networks": {
          "meta": {
            "included": false
          }
        },
        "txnBankCredentials": {
          "meta": {
            "included": false
          }
        }
      }
    },
    {
      "id": "9c4b8ebd-ae0b-4812-a97b-92d8359fd1e0",
      "type": "apiKeys",
      "attributes": {
        "name": "Integration key",
        "createdAt": "2025-07-04T08:07:13.549Z"
      }
    }
  ],
  "meta": {},
  "jsonapi": {
    "version": "1.0"
  }
}
```

{% endtab %}
{% endtabs %}

**Response Body**

The example above shows a `channelTransactions` object, the details of a channel deposit. The attributes returned vary by transaction type.

<table><thead><tr><th width="228">Name</th><th width="109">Type</th><th>Description</th></tr></thead><tbody><tr><td>data.id</td><td>string</td><td>Transaction ID. Same as the <code>:transaction_id</code> in the path.</td></tr><tr><td>data.type</td><td>string</td><td>Type of the details object. It follows the transaction's <code>transactionType</code> (see <a href="https://docs.txn.io/transactions/listing-transactions.md#transaction-types">Transaction types</a>): <code>channelTransactions</code> for a <code>ChannelTransaction</code>, <code>coinDeposits</code> for a <code>CoinTransaction</code>, <code>invoiceTransactions</code>, <code>exchangeTransactions</code>, <code>accountTransactions</code>, <code>bankDepositTransactions</code>, <code>bankWithdrawalTransactions</code>, <code>payouts</code> or <code>manualTransactions</code> for the other types.</td></tr><tr><td>data.attributes</td><td>object</td><td>The attributes of that type. A <code>channelTransactions</code> object carries the fields documented on <a href="https://docs.txn.io/channels/reading-channel-deposit.md">Reading channel deposit</a>; a <code>coinDeposits</code> object the <code>included[]</code> fields documented on <a href="https://docs.txn.io/transactions/reading-crypto-deposit.md">Reading crypto deposit</a>; an <code>invoiceTransactions</code> object the <code>included[]</code> fields documented on <a href="https://docs.txn.io/invoices/reading-invoice.md">Reading invoice</a>; an <code>exchangeTransactions</code> object the <code>included[]</code> fields documented on <a href="https://docs.txn.io/exchange/reading-quote.md">Reading quote</a>; an <code>accountTransactions</code> object the <code>included[]</code> fields documented on <a href="https://docs.txn.io/accounts/creating-account-transfer.md">Creating account transfer</a>; bank deposits and withdrawals the fields documented in <a href="https://docs.txn.io/fiat-settlements/reading-bank-deposit.md">Fiat settlements</a>; a <code>payouts</code> object the fields documented on <a href="https://docs.txn.io/payouts/reading-payout.md">Reading payout</a>. A <code>manualTransactions</code> object, a balance adjustment made by Txn, has <code>amount</code>, <code>currencyCode</code>, <code>reason</code>, <code>reference</code> and <code>simplifiedState</code>.</td></tr><tr><td>data.relationships</td><td>object</td><td>Related entities. Which relationships are present, and which of them are expanded into <code>included[]</code>, depends on <code>data.type</code>; see the table below. <code>author</code> is present on every type except <code>accountTransactions</code>: <code>data.type</code> is <code>apiKeys</code> and the entity is returned in <code>included[]</code> when the transaction was created through the API, <code>data</code> is <code>null</code> otherwise.</td></tr><tr><td>included[].type(accounts)</td><td>object</td><td>The account the transaction belongs to (<code>data.relationships.account</code>). Not returned for <code>coinDeposits</code>, which carry the account ID as <code>accountId</code> instead.</td></tr><tr><td>included[].type(accounts).attributes.master</td><td>boolean</td><td><code>true</code> for the master account, <code>false</code> for a subaccount.</td></tr><tr><td>included[].type(accounts).attributes.currencyCode</td><td>string</td><td>Account currency code.</td></tr><tr><td>included[].type(accounts).attributes.label</td><td>string</td><td>Account label. Master accounts use <code>master</code>.</td></tr><tr><td>included[].type(accounts).attributes.bankReference</td><td>string</td><td>Unique bank deposit reference of the account.</td></tr><tr><td>included[].type(accounts).attributes.balance</td><td>string</td><td>Account balance at the time of the request.</td></tr><tr><td>included[].type(accounts).attributes.totalBalance</td><td>string</td><td>Always <code>null</code> when the account is returned in <code>included[]</code>. Read the account to get it.</td></tr><tr><td>included[].type(accounts).attributes.bankWithdrawalAvailable</td><td>boolean</td><td>If <code>true</code>, bank withdrawals can be initiated from the account.</td></tr><tr><td>included[].type(accounts).attributes.bankDepositAvailable</td><td>boolean</td><td>If <code>true</code>, the account can receive bank deposits.</td></tr><tr><td>included[].type(accounts).attributes.transferAvailable</td><td>boolean</td><td>If <code>true</code>, the account can send and receive internal transfers.</td></tr><tr><td>included[].type(accounts).attributes.currencyType</td><td>string</td><td><code>fiat</code> or <code>crypto</code>.</td></tr><tr><td>included[].type(accounts).relationships</td><td>object</td><td><code>company</code>, <code>networks</code> and <code>txnBankCredentials</code>: not expanded (<code>meta.included</code> is <code>false</code>).</td></tr><tr><td>included[].type(apiKeys)</td><td>object</td><td>The API key that created the transaction (<code>data.relationships.author</code>). Present only when the transaction was created through the API.</td></tr><tr><td>included[].type(apiKeys).attributes.name</td><td>string</td><td>Name of the API key, as set when it was created.</td></tr><tr><td>included[].type(apiKeys).attributes.createdAt</td><td>string</td><td>When the API key was created.</td></tr><tr><td>included[].type(network)</td><td>object</td><td>The network of a <code>coinDeposits</code> object (<code>data.relationships.network</code>).</td></tr><tr><td>included[].type(network).attributes.currencyCode</td><td>string</td><td>Network currency code.</td></tr><tr><td>included[].type(network).attributes.name</td><td>string</td><td>Human-readable network name, e.g. <code>Tron (TRC20)</code>.</td></tr><tr><td>included[].type(network).attributes.code</td><td>string</td><td>Network code, e.g. <code>ttrx:usdt</code>. See <a href="https://docs.txn.io/api-basics/supported-currencies.md">Supported currencies</a>.</td></tr><tr><td>included[].type(addresses)</td><td>object</td><td>The receiving address of a <code>coinDeposits</code> object (<code>data.relationships.address</code>).</td></tr><tr><td>included[].type(addresses).attributes.value</td><td>string</td><td>The address the funds were sent to.</td></tr><tr><td>included[].type(addresses).attributes.label</td><td>string</td><td>Address label, as set when the address was created. Invoice addresses use the network name.</td></tr><tr><td>included[].type(addresses).attributes.createdAt</td><td>string</td><td>When the address was created.</td></tr><tr><td>included[].type(addresses).relationships</td><td>object</td><td><code>account</code> and <code>network</code>: not expanded (<code>meta.included</code> is <code>false</code>).</td></tr><tr><td>included[].type(accountTransfers)</td><td>object</td><td>The transfer an <code>accountTransactions</code> object is one leg of (<code>data.relationships.accountTransfer</code>). Its <code>id</code> is the transfer ID returned by <a href="https://docs.txn.io/accounts/creating-account-transfer.md">Creating account transfer</a>.</td></tr><tr><td>included[].type(accountTransfers).attributes.reference</td><td>string</td><td>The reference supplied when the transfer was created.</td></tr><tr><td>included[].type(accountTransfers).relationships</td><td>object</td><td><code>accountTransactions</code>: not expanded (<code>meta.included</code> is <code>false</code>).</td></tr><tr><td>included[].type(invoices)</td><td>object</td><td>The invoice an <code>invoiceTransactions</code> object settles (<code>data.relationships.invoice</code>). Same attributes as <a href="https://docs.txn.io/invoices/reading-invoice.md">Reading invoice</a>; none of its own relationships are expanded here.</td></tr></tbody></table>

**Relationships by transaction type**

| data.type                    | Expanded (entity in `included[]`) | Not expanded (`meta.included` is `false`) |
| ---------------------------- | --------------------------------- | ----------------------------------------- |
| `channelTransactions`        | `account`, `author`               |                                           |
| `coinDeposits`               | `network`, `address`, `author`    |                                           |
| `invoiceTransactions`        | `account`, `invoice`, `author`    | `txn`, `exchangeQuote`                    |
| `exchangeTransactions`       | `account`, `author`               |                                           |
| `accountTransactions`        | `account`, `accountTransfer`      |                                           |
| `bankDepositTransactions`    | `account`, `author`               |                                           |
| `bankWithdrawalTransactions` | `account`, `author`               | `bankAccount`                             |
| `payouts`                    | `author`                          | `accountCharged`                          |
| `manualTransactions`         | `account`, `author`               |                                           |


---

# 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/accounts/reading-account-transaction.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.
