Skip to main content
GET
/
auto-transactions
/
{id}
Get details of a specific auto account transaction
curl --request GET \
  --url https://api.platform.dakota.xyz/auto-transactions/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
  "client_id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
  "auto_account_id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
  "destination_id": "1NFHrqBHb3cTfLVkFSGmHZqdDPi",
  "type": "onramp",
  "status": "timed_out",
  "created_at": 1234567890,
  "updated_at": 1234567890,
  "failure_reason": "<string>",
  "completed_at": 1234567890,
  "receipt": {
    "input": {
      "amount": "<string>",
      "asset": "<string>",
      "network": "<string>"
    },
    "output": {
      "amount": "<string>",
      "asset": "<string>",
      "network": "<string>"
    },
    "exchange_rate": "<string>",
    "imad": "<string>",
    "omad": "<string>",
    "subtotal": {
      "amount": "<string>",
      "asset": "<string>",
      "network": "<string>"
    },
    "converted": {
      "amount": "<string>",
      "asset": "<string>",
      "network": "<string>"
    },
    "external_fee": {
      "amount": "<string>",
      "asset": "<string>",
      "network": "<string>"
    },
    "dakota_fee": {
      "amount": "<string>",
      "asset": "<string>",
      "network": "<string>"
    },
    "client_fee": {
      "amount": "<string>",
      "asset": "<string>",
      "network": "<string>"
    },
    "gas_fee": {
      "amount": "<string>",
      "asset": "<string>",
      "network": "<string>"
    },
    "payment_reference": "Invoice payment for services"
  },
  "crypto_details": {
    "source_crypto_address": "<string>",
    "source_network_id": "ethereum-mainnet",
    "destination_crypto_address": "<string>",
    "destination_network_id": "ethereum-mainnet",
    "deposit_transaction_hash": "<string>",
    "transaction_hash": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Unique identifier of the auto account transaction KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

Response

Auto account transaction details

A transaction relating to an auto account

id
string
required

KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

client_id
string
required

KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

auto_account_id
string
required

KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

destination_id
string
required

KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

type
enum<string>
required

Type of transaction.

Available options:
onramp,
offramp,
swap
Example:

"onramp"

status
enum<string>
required

Current status of a transaction.

Available options:
timed_out,
not_started,
in_progress,
awaiting_confirmation,
pending,
processing,
completed,
invalid,
failed,
canceled,
reversed,
rejected,
broadcasted,
pending_return,
returned
created_at
integer
required

Unix timestamp when the transaction was created.

Example:

1234567890

updated_at
integer
required

Unix timestamp when the transaction was last updated.

Example:

1234567890

failure_reason
string

Reason for failure if status is 'failed'

completed_at
integer

Unix timestamp when the transaction was completed.

Example:

1234567890

receipt
object

Detailed receipt information for a transaction

crypto_details
object

Blockchain-specific details for crypto transactions