Reading account

Read account

GET /api/public/v1/accounts/:id

This endpoint returns data for a single account.

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <api_key>

Path Parameters

NameTypeDescription

id

string

Account ID.

Response

{
  "data": {
    "id": "746e3b21-595e-4540-8436-4658cb508d11",
    "type": "accounts",
    "attributes": {
      "balanceCurrency": "TRY",
      "balance": "18981.20",
      "currencyType": "fiat"
  },
  "meta": {},
  "jsonapi": {
    "version": "1.0"
  }
}

Response Body

NameTypeDescription

data.id

string

Account ID.

data.type

string

Entity type returned. Always accounts.

data.attributes

object

A set of account attributes.

data.attributes.currencyCode

string

Account currency code. Refer to the list of supported currencies.

data.attributes.balance

string

Account total balance.

data.attributes.currencyType

string

Account currency type. Can be either fiat or crypto.

Last updated