Retrieve a single transaction by ID. Returns 404 if the transaction doesn’t exist or isn’t on one of your accounts.
curl --request GET \
--url https://api.nxos.io/v1/transactions/{transactionId} \
--header 'Authorization: <authorization>'{
"object": "transaction",
"transactionId": "<string>",
"accountId": "<string>",
"status": "EXPECTED",
"description": "<string>",
"tags": [
"<string>"
],
"amount": "<string>",
"asset": "<string>",
"fee": {
"fixed": "50.00",
"bps": 0,
"bpsAmount": "0.00",
"total": "50.00",
"asset": "USD"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"type": "CRYPTO_PAYIN",
"details": {
"chainName": "<string>",
"chainTransactionId": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"blockHeight": 123,
"blockTimestamp": "<string>"
}
}Bearer token. Format: Bearer <api_key>
Transaction identifier.
The request has succeeded.
A transaction, discriminated by type. Use the type field to narrow the
details payload — each variant has a different shape. The envelope
(status, amount, asset, fee, timestamps) is uniform across variants.
Variants:
CRYPTO_PAYIN → details is TransactionCryptoPayinDetailsCRYPTO_PAYOUT → details is TransactionCryptoPayoutDetailsFIAT_PAYIN → details is TransactionFiatPayinDetailsFIAT_PAYOUT → details is TransactionFiatPayoutDetailsTRADE → details is TransactionTradeDetailsTRANSFER → details is TransactionTransferDetailsNXOSNET_TRANSFER → details is TransactionNxosnetTransferDetailsADJUSTMENT → details is TransactionAdjustmentDetailsCOMMISSION → details is TransactionCommissionDetailsObject type. Always transaction.
transaction Unique transaction identifier.
Account this transaction belongs to. Always one of your organization's accounts (the listing query enforces ownership).
Current status. See TransactionStatus for transitions.
EXPECTED, LOCKED, COMPLETED, DECLINED, REFUNDED Optional human-readable description.
Free-form tags set at create time (e.g. ["crypto_payout", "ethereum_mainnet"]).
Primary amount in major units. For most types this is the amount the
customer's account moved by. For TRADE this is null — trades have two
distinct assets in play; see details.from and details.to instead.
Asset code of the primary amount. Null for TRADE — see details.from / details.to.
Service-fee breakdown. Always populated; every component is zero when no service fee applied. Note: trade spread fees are NOT here — they live in details.spread on TRADE transactions.
Show child attributes
{
"fixed": "50.00",
"bps": 0,
"bpsAmount": "0.00",
"total": "50.00",
"asset": "USD"
}When the transaction was created (platform clock).
When the transaction was last updated.
CRYPTO_PAYIN Crypto deposit details — the on-chain receipt that funded the account.
Show child attributes
curl --request GET \
--url https://api.nxos.io/v1/transactions/{transactionId} \
--header 'Authorization: <authorization>'{
"object": "transaction",
"transactionId": "<string>",
"accountId": "<string>",
"status": "EXPECTED",
"description": "<string>",
"tags": [
"<string>"
],
"amount": "<string>",
"asset": "<string>",
"fee": {
"fixed": "50.00",
"bps": 0,
"bpsAmount": "0.00",
"total": "50.00",
"asset": "USD"
},
"createdAt": "<string>",
"updatedAt": "<string>",
"type": "CRYPTO_PAYIN",
"details": {
"chainName": "<string>",
"chainTransactionId": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"blockHeight": 123,
"blockTimestamp": "<string>"
}
}