GET
/
customers
/
transactions
/
by_txid
/
{transaction_id}
curl --request GET \
  --url https://api-staging.stablestack.xyz/api/customers/transactions/by_txid/{transaction_id} \
  --header 'x-api-key: <x-api-key>'
{
  "status": "success",
  "data": {
    "id": "790ddbf6-b145-4d43-bd13-93b05cc202a2",
    "sender_wallet_id": "6684cc88-7434-4a0e-bc2c-abee383368b7",
    "receiver_wallet_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "transaction_id": "X2APAWCOE6",
    "asset_code": "usdt",
    "amount": "1.00000000",
    "reference_id": "4564cc88-7434-4a0e-bc2c-abee383368b7",
    "status": "COMPLETED",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "crypto_transaction_id": "<string>",
    "network": "<string>",
    "transaction_type": "INTERNAL TRANSFER",
    "transaction_mode": "DEBIT",
    "exchange_rate": "<string>",
    "withdrawal_recipient_name": "<string>",
    "fee": "<string>",
    "balance": "0.00000000",
    "reason": "<string>",
    "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "recipient_currency": "<string>",
    "recipient_country": "<string>",
    "bank_name": "<string>",
    "bank_code": "<string>",
    "address": "<string>",
    "bank_account": "<string>"
  }
}

Retrieves detailed information about a specific transaction using its unique transaction ID.

Key Features:

  • Returns complete transaction details including sender/receiver information
  • Provides status and timestamp information
  • Includes all relevant financial details (amount, fees, exchange rate)
  • Shows transaction type and mode
  • Returns bank details for payout transactions

Path Parameters:

  • transaction_id: The unique transaction ID to retrieve (string, required). e.g 790ddbf6-b145-4d43-bd13-93b05cc202a2

Headers

x-api-key
string
required

Path Parameters

transaction_id
string
required

Response

200
application/json

Transaction retrieved successfully

The response is of type object.