Reading transaction

Read transaction

GET /api/public/v1/accounts/:account_id/transactions/:transaction_id

This endpoint returns data for a single transaction.

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <api_key>

Path Parameters

NameTypeDescription

account_id

string

Account ID.

transaction_id

string

Transaction ID.

Response

{
  "data": {
    "id": "4b365fba-0168-42d7-b60e-d8f4fae75d82",
    "type": "exchange_transactions",
    "attributes": {
      "createdAt": "2024-04-19T09:26:56.321Z",
      "amountCharged": "1062.12",
      "chargedCurrencyCode": "TRY",
      "amountReceived": "0.00050000",
      "receivedCurrencyCode": "BTC",
      "exchangeFee": "10.52",
      "exchangeFeeCurrencyCode": "TRY",
      "exchangeRate": "2103200.0"
    }
  },
  "meta": {},
  "jsonapi": {
    "version": "1.0"
  }
}

Response Body

NameTypeDescription

data.id

string

Transaction ID.

data.type

string

Transaction type.

data.attributes

object

A set of transaction attributes.

Last updated