Txn.pro - API Documentation
Sandbox LoginChangelogStatus Page
  • Getting setup
    • Environments
    • Creating a Sandbox account
    • Back office user roles
    • Creating your API keys
    • Postman collection
  • API Basics
    • API specification
    • API status
    • Supported currencies
    • Date and time format
    • Authenticating the API
    • Webhooks
      • Verifying webhooks
      • Source IP addresses
      • Retrying schedule
    • Rate limits
  • Hosted pages
  • Accounts
    • Accounts concept
    • Listing accounts
    • Reading account
    • Listing account addresses
    • Creating account address
    • Listing account transactions
    • Reading account transaction
  • Exchange
    • Exchange concept
    • Reading exchange rates
    • Exchange webhooks
    • Creating quote
    • Confirming quote
    • Listing quotes
    • Reading quote
  • Invoices
    • Invoices concept
    • Invoice status flow
    • Invoices in cashier
    • Invoice limitations
    • Listing invoice currency pairs
    • Invoice webhooks
    • Creating invoice
    • Reading invoice
    • Listing invoices
    • Invoice refunds
  • Payouts
    • Payouts concept
    • Payout status flow
    • Payout limitations
    • Listing payout currency pairs
    • Validating addresses
    • Payout webhooks
    • Creating payout
    • Reading payout
    • Listing payouts
  • Mass Payouts
  • PAYMENT LINKS
    • Payment links concept
    • Creating payment link
    • Expiring payment link
    • Reading payment link
    • Listing payment links
  • CHANNELS
    • Channels concept
    • Channels deposit flow
    • Listing channel currency pairs
    • Channel webhooks
    • Creating channel
    • Reading channel
    • Updating channel
    • Listing channels
    • Listing channel deposits
    • Reading channel deposit
  • (BETA) Fiat Settlements
    • Important information
    • Bank withdrawal webhooks
    • Bank deposit webhooks
    • Listing bank accounts
    • Reading bank account
    • Previewing bank withdrawal
    • Creating bank withdrawal
    • Listing bank withdrawals
    • Reading bank withdrawal
    • Listing bank deposits
    • Reading bank deposit
Powered by GitBook
On this page
  1. Accounts

Reading account transaction

Read transaction

GET /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

{
  "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"
  }
}

Response Body

Name
Type
Description

data.id

string

Transaction ID.

data.type

string

Transaction type. Can be either exchangeTransactions, coinDeposits or manualTransactions.

data.attributes

object

A set of transaction attributes.

PreviousListing account transactionsNextExchange concept

Last updated 11 months ago