Listing accounts
List accounts
GET
/api/public/v1/accounts
This endpoint returns all currency accounts and balances you have on Txn.
Headers
Name
Value
Content-Type
application/vnd.api+json
Authorization
Bearer <api_key>
Response
{
"data": [
{
"id": "13a85b45-8543-41c7-b963-394d4ea128ae",
"type": "accounts",
"attributes": {
"currencyCode": "EUR",
"balance": "6194.43",
"currencyType": "fiat"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "16cab82c-5dcc-46ff-b49b-4e39b7478435",
"type": "accounts",
"attributes": {
"currencyCode": "CAD",
"balance": "191.58",
"currencyType": "fiat"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "194b2c3e-e88a-43a4-b07b-b00e5afb2038",
"type": "accounts",
"attributes": {
"currencyCode": "BTC",
"balance": "0.06348637",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "2109c0c4-11d2-4d84-be02-0e66161035dc",
"type": "accounts",
"attributes": {
"currencyCode": "LINK",
"balance": "7.860523",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "3baf76b1-6af8-419f-8793-a2a29408fbe0",
"type": "accounts",
"attributes": {
"currencyCode": "ETH",
"balance": "0.111630",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "67f7b974-d132-4b6f-b61c-931dc8eeb662",
"type": "accounts",
"attributes": {
"currencyCode": "LTC",
"balance": "0.73260270",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "68df052d-4af2-4fde-bf77-b0960ffe9d0d",
"type": "accounts",
"attributes": {
"currencyCode": "BCH",
"balance": "0.15063515",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "6a42b223-fd43-499d-8427-3c2a32abafb4",
"type": "accounts",
"attributes": {
"currencyCode": "XRP",
"balance": "7841.896309",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "6efcea6f-c5fb-4fb5-9836-ee3a8ed5f371",
"type": "accounts",
"attributes": {
"currencyCode": "JPY",
"balance": "85223",
"currencyType": "fiat"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "80b8dd61-35bc-49cc-9e04-f2c0f741a096",
"type": "accounts",
"attributes": {
"currencyCode": "USD",
"balance": "6963.35",
"currencyType": "fiat"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "b36487b3-3926-4cab-9b0e-e987c900c851",
"type": "accounts",
"attributes": {
"currencyCode": "POL",
"balance": "1549.494795",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "b9f95f93-c54f-4929-af24-a694af7cb4aa",
"type": "accounts",
"attributes": {
"currencyCode": "TRX",
"balance": "2300.062596",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "cc0e5800-7b84-4954-ba64-fd310252de69",
"type": "accounts",
"attributes": {
"currencyCode": "NZD",
"balance": "209.40",
"currencyType": "fiat"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "d21d0dfd-6258-4d84-8c50-dabe21fbef4d",
"type": "accounts",
"attributes": {
"currencyCode": "USDC",
"balance": "193.07",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "e289de2b-37bd-4eff-b832-f754c31a2d95",
"type": "accounts",
"attributes": {
"currencyCode": "USDT",
"balance": "4188.566205",
"currencyType": "crypto"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
},
{
"id": "f0fda1af-f762-4b8e-a120-aa393157ba38",
"type": "accounts",
"attributes": {
"currencyCode": "TRY",
"balance": "730.65",
"currencyType": "fiat"
},
"relationships": {
"company": {
"meta": {
"included": false
}
},
"networks": {
"meta": {
"included": false
}
}
}
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 17
},
"jsonapi": {
"version": "1.0"
}
}
Response Body
Name
Type
Description
data.id
string
Account ID.
data.type
string
Entity type returned. Always accounts
.
data.attributes
object
A set of account attributes.
data.attributes.balance
string
Account total balance.
data.attributes.currencyType
string
Account currency type. Can be either fiat
or crypto
.
Last updated