Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Reading crypto deposit

GET /api/public/v1/transactions/coin_deposits/:id

Returns a single crypto deposit transaction by ID. The account transaction is returned in data, with its on-chain details, network, and receiving address in included[].

Txn also sends each deposit as a webhook. The webhook payload has a different shape, see Crypto deposit webhooks.

Headers

Name
Value

Content-Type

application/vnd.api+json

Authorization

Bearer <api_key>

Path Parameters

Name
Type
Description

id

string

Transaction ID.

cURL

curl "https://api.sandbox.txn.io/api/public/v1/transactions/coin_deposits/b576b449-6a9e-4751-b627-9edb1e91eb76" \
     -H 'Content-Type: application/vnd.api+json' \
     -H 'Authorization: Bearer <api_key>'

Response

{
  "data": {
    "id": "b576b449-6a9e-4751-b627-9edb1e91eb76",
    "type": "transactions",
    "attributes": {
      "createdAt": "2026-10-29T13:31:32.942Z",
      "simplifiedState": "completed",
      "transactionType": "CoinTransaction",
      "amount": "10.000000",
      "currency": "USDT",
      "balance": "306918.220680",
      "reference": "2810-4",
      "accountId": "e289de2b-37bd-4eff-b832-f754c31a2d95"
    },
    "relationships": {
      "account": {
        "meta": {
          "included": false
        }
      },
      "transactionDetails": {
        "data": {
          "type": "coinDeposits",
          "id": "b576b449-6a9e-4751-b627-9edb1e91eb76"
        }
      },
      "author": {
        "meta": {
          "included": false
        }
      }
    }
  },
  "included": [
    {
      "id": "b576b449-6a9e-4751-b627-9edb1e91eb76",
      "type": "coinDeposits",
      "attributes": {
        "txHash": "cc32a9fb09e6225895b1df6a4eab4b904662427650cc21ab694a8884d75bbcd7",
        "currencyCode": "USDT",
        "createdAt": "2026-10-29T13:31:32.918Z",
        "state": "completed",
        "amount": "10.000000",
        "riskScore": null,
        "reference": null,
        "accountId": "e289de2b-37bd-4eff-b832-f754c31a2d95",
        "simplifiedState": "completed",
        "sourceAddresses": [
          "TTbGTMwUwA3mncLP7xqCZei1ekaNSgeAJe"
        ],
        "clusterCategory": "Exchange",
        "clusterName": "Test ENV"
      },
      "relationships": {
        "network": {
          "data": {
            "type": "network",
            "id": "8ededca3-a1cd-4b46-8c3a-14915f706ab2"
          }
        },
        "address": {
          "data": {
            "type": "addresses",
            "id": "29242407-1270-4a2f-b34e-1ace8eaf12b7"
          }
        },
        "author": {
          "meta": {
            "included": false
          }
        }
      }
    },
    {
      "id": "8ededca3-a1cd-4b46-8c3a-14915f706ab2",
      "type": "network",
      "attributes": {
        "currencyCode": "USDT",
        "name": "Tron (TRC20)",
        "code": "ttrx:usdt"
      }
    },
    {
      "id": "29242407-1270-4a2f-b34e-1ace8eaf12b7",
      "type": "addresses",
      "attributes": {
        "label": "2810-4",
        "value": "TVzgLu6RuwbV7qNY72VQFDjSg8eRC4e7yL",
        "createdAt": "2026-10-28T13:08:59.401Z"
      },
      "relationships": {
        "account": {
          "meta": {
            "included": false
          }
        },
        "network": {
          "meta": {
            "included": false
          }
        }
      }
    }
  ],
  "meta": {},
  "jsonapi": {
    "version": "1.0"
  }
}

Response Body

Name
Type
Description

data.id

string

Account transaction ID.

data.type

string

Entity type returned. Always transactions.

data.attributes

object

A set of account transaction attributes.

data.attributes.createdAt

string

Account transaction creation timestamp in UTC+0. Refer to the Date and time format page.

data.attributes.simplifiedState

string

Deposit status. One of pending, on_hold, travel_rule_waiting, completed, rejected, cancelled. See Transaction statuses.

data.attributes.transactionType

string

Account transaction type. Can only be CoinTransaction.

data.attributes.amount

string

Account transaction amount.

data.attributes.currency

string

Account transaction currency.

data.attributes.balance

string

Account balance immediately after Txn processed this transaction.

data.attributes.reference

string

Account transaction reference.

data.attributes.accountId

string

ID of the account the transaction belongs to.

data.relationships.transactionDetails

object

Link to the on-chain deposit details, returned as a coinDeposits entity in included[].

included[].id

string

Transaction ID.

included[].type

string

Entity type returned. Always coinDeposits.

included[].attributes

object

A set of crypto transaction attributes.

included[].attributes.txHash

string

Crypto transaction hash.

included[].attributes.currencyCode

string

Crypto transaction currency.

included[].attributes.createdAt

string

Crypto transaction creation timestamp in UTC+0. Refer to the Date and time format page.

included[].attributes.state

string

Internal Txn state. Ignore this field — use data.attributes.simplifiedState in your implementation.

included[].attributes.amount

string

Crypto transaction amount.

included[].attributes.accountId

string

Account ID which the crypto transaction belongs to.

included[].attributes.reference

string

Transaction reference.

included[].attributes.simplifiedState

string

Deposit status. Same value as data.attributes.simplifiedState.

included[].attributes.sourceAddresses

array

Wallet address(es) the funds were sent from. Typically a single address; may contain multiple entries when the deposit arrived via a UTXO-based network (BTC, LTC, BCH, DOGE, etc.) and the sender’s wallet combined several inputs.

included[].attributes.riskScore

string

Risk score for the deposit's source address from on-chain analytics screening, when available. null if no score was returned.

included[].attributes.clusterCategory

string

Category of the entity the source address is attributed to by on-chain analytics, e.g. Exchange. null until screening completes.

included[].attributes.clusterName

string

Name of the entity the source address is attributed to. null until screening completes.

included[].type(network).attributes.name

string

Network name. E.g. Tron (TRC20).

included[].type(network).attributes.currencyCode

string

Currency code for the network.

included[].type(network).attributes.code

string

Network code. E.g. ttrx:usdt. Refer to Supported currencies.

included[].type(addresses).attributes.label

string

Address label.

included[].type(addresses).attributes.value

string

The wallet address the deposit was received at.

included[].type(addresses).attributes.createdAt

string

Timestamp when the address was created.

Last updated