# Reading account transaction

## Read transaction

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

This endpoint returns data for a single transaction.

**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. |

**Response**

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

```json
{
  "data": {
    "id": "28e51afe-a9f9-43f1-9204-cc90a7deb4f2",
    "type": "coinDeposits",
    "attributes": {
      "txHash": "28b056c50e4725205a72fa975fdf6b1fb4ccdd7636995396cb6469fe858e2732",
      "currencyCode": "BTC",
      "createdAt": "2024-06-18T13:37:50.777Z",
      "amount": "0.00010000",
      "riskScore": "10.0"
    },
    "relationships": {
      "network": {
        "data": {
          "type": "network",
          "id": "a1d019ea-26f8-457b-931e-efb06a14ce59"
        }
      },
      "address": {
        "data": {
          "type": "addresses",
          "id": "cf57fd3d-a3de-42b2-bf1b-44fb2280940e"
        }
      }
    }
  },
  "included": [
    {
      "id": "a1d019ea-26f8-457b-931e-efb06a14ce59",
      "type": "network",
      "attributes": {
        "currencyCode": "BTC",
        "name": "BTC Testnet"
      }
    },
    {
      "id": "cf57fd3d-a3de-42b2-bf1b-44fb2280940e",
      "type": "addresses",
      "attributes": {
        "label": "Jun 18 2nd",
        "value": "2N8uzZM46V3u5LQRixzTwJ5wguh53Vthb4a",
        "createdAt": "2024-06-18T12:04:49.325Z"
      },
      "relationships": {
        "account": {
          "meta": {
            "included": false
          }
        },
        "network": {
          "meta": {
            "included": false
          }
        }
      }
    }
  ],
  "meta": {},
  "jsonapi": {
    "version": "1.0"
  }
}
```

{% endtab %}
{% endtabs %}

**Response Body**

<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.</td></tr><tr><td>data.type</td><td>string</td><td>Transaction type. Can be either <code>exchangeTransactions</code>, <code>coinDeposits</code> or <code>manualTransactions</code>.</td></tr><tr><td>data.attributes</td><td>object</td><td>A set of transaction attributes.</td></tr></tbody></table>
