Get a transaction

GET/transactions/{id}

Return one of the environment's chain transactions, the same object the list answers. It is the object transaction.event names: a thin event's related_object.url is this path.

  • A transaction of another environment answers 404 resource_missing, identical to an identifier that exists nowhere.

Parameters

Path

  • idstringrequired

    The transaction's identifier.

Headers

  • X-Stridge-Environmentstring <uuid>optional

    Which environment the request acts inside, on an operation a session and an API key both call. Learn more

    Show full description

    It is required under a person's session, exactly as EnvironmentHeader describes: a session request that omits it answers 400 with environment required, and one naming an environment the caller holds no membership of answers 404.

    An API key names its own environment, so a request made with one omits this header. A key request that sends it answers 400 with environment header not accepted, whatever it names, rather than having the header ignored: a header that is silently ignored hides the integration bug that sent it.

Responses

The transaction.

  • idstringrequired

    The transaction's identifier, opaque. A deposit's is its deposit's id; an outgoing transaction's is the identifier transaction.event carries.

  • objectstringrequired

    The object's type, always transaction.

  • environment_idstring <uuid>required

    The environment whose money the transaction moved.

  • livemodebooleanrequired

    true when environment_id names a live environment and false in a sandbox. It is carried on the object itself, so a payload read on its own, a logged response or a webhook body, still says which side of the boundary it came from.

  • typestringrequiredenum deposit · payout · refill · rebalance · treasury · withdrawal

    What moved the money: deposit for money arriving, and for money leaving, payout, refill (a gas station topping up an address), rebalance, treasury or withdrawal (an outgoing transfer).

  • sidestringrequiredenum in · out

    in for a deposit, out for a transaction Stridge sent.

Show 24 more fields
  • statusstringrequiredenum pending · confirmed · failed · rejected · expired

    Where the transaction stands. pending until the chain settles it, then confirmed or failed; an outgoing transaction can also end rejected (refused before it was sent) or expired (never mined in its window).

  • network_idinteger <int32>required

    The chain, as the chain's own numeric identifier.

  • network_symbolstring | nullrequired

    The chain's slug, or null where the network catalogue no longer carries it.

  • tx_idstring | nullrequired

    The transaction's hash on its chain, or null before it is broadcast.

  • from_addressstringrequired

    The address the money left.

  • to_addressstringrequired

    The address the money reached.

  • asset_addressstringrequired

    The asset's contract on the chain, or empty where it is the chain's own coin.

  • What the transaction moved, in its asset, or null where the network catalogue no longer carries the asset, so its decimals are unknown.

    • amountstringrequired

      The amount in the asset's base units: digits only, no sign, no exponent and no leading zero ("0" for zero). At most a uint256, the widest on-chain amount.

    • amount_decimalstringrequired

      The exact human amount, amount / 10^decimals: no sign, no exponent, no leading zero before the point other than a lone 0, and no trailing zero after it ("12.5", "0.000001", "3").

    • decimalsinteger <int32>required

      The asset's decimals on its network, which amount_decimal is scaled by.

    • assetstringrequired

      The symbol of the asset the amount is in (USDC), so a fee or a total never mixes units.

  • The network fee the transaction paid, in the chain's own coin, or null where the network catalogue no longer carries the chain.

    • amountstringrequired

      The amount in the asset's base units: digits only, no sign, no exponent and no leading zero ("0" for zero). At most a uint256, the widest on-chain amount.

    • amount_decimalstringrequired

      The exact human amount, amount / 10^decimals: no sign, no exponent, no leading zero before the point other than a lone 0, and no trailing zero after it ("12.5", "0.000001", "3").

    • decimalsinteger <int32>required

      The asset's decimals on its network, which amount_decimal is scaled by.

    • assetstringrequired

      The symbol of the asset the amount is in (USDC), so a fee or a total never mixes units.

  • usd_amountstring | nullrequired

    What amount was worth in USD when it was recorded, a decimal string, or null where no price was recorded (every outgoing transaction).

  • ownerstring | nullrequired

    For a deposit, the owner of the address it arrived at, as the caller named them; null on an outgoing transaction, and on a deposit to an address no caller named: one assigned to nobody, or the environment's vault or gas station.

  • memostring | nullrequired

    The memo an outgoing transaction carried, or null.

  • block_numberstring | nullrequired

    The block a deposit was mined in, or null on an outgoing transaction.

  • from_wallet_categorystring | nullrequired

    For a deposit, what kind of address sent it, or null on an outgoing transaction. external is an address this API version does not manage: one outside Stridge, or one of the environment's own addresses of a kind this version has no surface for.

  • to_wallet_categorystring | nullrequired

    For a deposit, what kind of the environment's addresses received it (uda, vault, gas_station), or null on an outgoing transaction.

  • prepared_atstring | null <date-time>required

    When an outgoing transaction was built, or null.

  • signed_atstring | null <date-time>required

    When an outgoing transaction was signed, or null.

  • broadcasted_atstring | null <date-time>required

    When an outgoing transaction was broadcast, or null.

  • confirmed_atstring | null <date-time>required

    When the transaction was confirmed on its chain, or null.

  • rejected_atstring | null <date-time>required

    When an outgoing transaction was rejected, or null.

  • failed_atstring | null <date-time>required

    When an outgoing transaction failed, or null.

  • expired_atstring | null <date-time>required

    When an outgoing transaction expired, or null.

  • created_atstring <date-time>required

    When the transaction was recorded. RFC3339 UTC, and the list's sort key, newest first.

  • updated_atstring <date-time>required

    When the transaction last changed.

Errors

The error.code values this operation can return. Each one links to its entry in the error catalogue, which explains the cause and the fix.

Request
curl "https://api.stridge.com/v2/transactions/string" \
  -H "Authorization: Bearer $STRIDGE_SECRET_KEY"

Set your secret key as STRIDGE_SECRET_KEY (sent as Authorization: Bearer).

Response200
"id": "4f0c6c2e-8a71-4d2b-9e35-1b7c0a9f6d28",
"object": "transaction",
"environment_id": "3f2a6d7e-6b1c-4f2a-9a11-0b53f8d6b2c1",
"livemode": false,
"type": "payout",
"side": "out",
"status": "confirmed",
"network_id": 60,
"network_symbol": "ethereum",
"tx_id": "0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060",
"from_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD58",
"to_address": "0x892d35Cc6634C0532925a3b844Bc9e7595f2bD59",
"asset_address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"amount": "12500000",
"amount_decimal": "12.5",
"decimals": 6,
"asset": "USDC"
},
"usd_amount": "1250.00",
"owner": "customer_8412",
"memo": "invoice 1234",
"block_number": "18500000",
"from_wallet_category": "external",
"to_wallet_category": "uda",
"prepared_at": "string",
"signed_at": "string",
"broadcasted_at": "string",
"confirmed_at": "string",
"rejected_at": "string",
"failed_at": "string",
"expired_at": "string",
"created_at": "2026-10-30T09:12:44Z",
"updated_at": "2026-10-30T09:14:02Z"
}