# Get transaction by ID

API to fetch a transaction (payment from a payer to beneficiary)

Endpoint: GET /v0/collections/transactions/{transaction_id}
Version: 0.0.1
Security: Bearer

## Path parameters:

  - `transaction_id` (string, required)
    Unique identifier of the transaction to retrieve
    Example: "487ba009-56cf-4ad9-8b5c-045e27893e00"

## Response 200 fields (application/json):

  - `id` (string, required)
    Unique identifier for the transaction
    Example: "487ba009-56cf-4ad9-8b5c-045e27893e00"

  - `parent_id` (string, required)
    Identifier of the parent entity (collection link or channel) for this transaction
    Example: "e8d43598-107d-4694-9fb2-934e7484c3d4"

  - `settlement_id` (string,null)
    Identifier of the settlement associated with this transaction. Null if the transaction has not been included in a settlement yet.
    Example: "9f3e4d2c-1a5b-4c8e-9d7f-2e1a3b4c5d6e"

  - `payer` (object, required)
    Payer partner details

  - `payer.id` (string, required)
    Unique identifier for the payer partner
    Example: "0c5479ff-3772-4123-b2b7-e679e71eb570"

  - `payer.name` (string, required)
    Full name of the payer partner
    Example: "Nigerian Imports Ltd."

  - `payer.email` (string, required)
    Email address of the payer partner
    Example: "nigerian@imports.com"

  - `beneficiary` (object, required)
    Beneficiary partner details

  - `beneficiary.id` (string, required)
    Unique identifier of the beneficiary partner
    Example: "01467076-8bb0-41c1-ad54-5751dd4a9e80"

  - `beneficiary.name` (string, required)
    Full name of the beneficiary partner
    Example: "Hong Kong Exports Ltd."

  - `beneficiary.email` (string, required)
    Email address of the beneficiary partner
    Example: "hongkong@exports.com"

  - `payment_amount` (object, required)
    Crypto payment amount and asset

  - `payment_amount.value` (string, required)
    Payment amount as a string to preserve precision
    Example: "50.00000000"

  - `payment_amount.asset` (string, required)
    Crypto asset symbol of the payment
    Example: "USDT"

  - `fiat_equivalent` (object, required)
    Fiat equivalent amounts for payment, fee, and net

  - `fiat_equivalent.gross_amount` (object, required)

  - `fiat_equivalent.gross_amount.value` (string, required)
    Gross amount in fiat
    Example: "50.00"

  - `fiat_equivalent.gross_amount.currency` (string, required)
    Fiat currency code
    Example: "USD"

  - `fiat_equivalent.fee_amount` (object, required)

  - `fiat_equivalent.fee_amount.value` (string, required)
    Fee amount in fiat
    Example: "0.50"

  - `fiat_equivalent.fee_amount.currency` (string, required)
    Fiat currency code
    Example: "USD"

  - `fiat_equivalent.net_amount` (object, required)

  - `fiat_equivalent.net_amount.value` (string, required)
    Net amount in fiat
    Example: "49.50"

  - `fiat_equivalent.net_amount.currency` (string, required)
    Fiat currency code
    Example: "USD"

  - `market_rate` (object, required)
    Market rate reference for the transaction

  - `market_rate.base` (string)
    Base currency for the exchange rate
    Example: "USDT"

  - `market_rate.counter` (string)
    Counter currency for the exchange rate
    Example: "USD"

  - `market_rate.rate` (string)
    Exchange rate from base to counter currency
    Example: "1.00"

  - `exchange_rate` (object, required)
    Exchange rate applied on the transaction

  - `exchange_rate.base` (string)
    Base currency for the exchange rate
    Example: "USDT"

  - `exchange_rate.counter` (string)
    Counter currency for the exchange rate
    Example: "USD"

  - `exchange_rate.rate` (string)
    Exchange rate from base to counter currency
    Example: "0.99"

  - `source_transaction_details` (object, required)
    On-chain transaction details

  - `source_transaction_details.network` (string, required)
    Supported blockchain networks
    Enum: "ETHEREUM", "ETHEREUM_SEPOLIA_TESTNET", "SOLANA", "SOLANA_TESTNET", "XRPL", "XRPL_TESTNET"

  - `source_transaction_details.transaction_hash` (string, required)
    Blockchain transaction hash
    Example: "0x94365ftfr76iy45t6ghu876567ytr54ertyui987uyt698uyh87u"

  - `source_transaction_details.block_id` (string, required)
    Blockchain block identifier containing this transaction
    Example: "0xh7865gugi87yea94e8267987a9e91eddcd0da916b22f3cfa0c8bd91dbad85"

  - `source_transaction_details.source_address` (string, required)
    Blockchain address from which funds were sent
    Example: "0x880f622a1933ACf82bFC5e630c9ab7f18eF47809"

  - `source_transaction_details.destination_address` (string, required)
    Blockchain address to which funds were sent
    Example: "0x02937b288b588058533C48b18EdFDdd76A324D6"

  - `source_transaction_details.gas_fee` (object, required)
    Blockchain gas fee details

  - `source_transaction_details.gas_fee.value` (string)
    Gas fee value
    Example: "0.0045"

  - `source_transaction_details.gas_fee.asset` (string)
    Asset used to pay gas fee
    Example: "ETH"

  - `status` (string, required)
    Transaction status
    Enum: "COMPLETED", "FAILED_KYT", "FAILED", "HOLD_KYT", "REFUNDED_KYT", "PROCESSING"

  - `reason` (string,null)
    Reason for current status (if applicable)

  - `transaction_processed_date` (string, required)
    ISO 8601 timestamp of the transaction
    Example: "2025-06-17T12:20:00Z"

  - `date_created` (integer, required)
    Unix timestamp (milliseconds) when transaction was created
    Example: 1566203005000

  - `date_confirmed` (integer, required)
    Unix timestamp (milliseconds) when transaction was confirmed on blockchain
    Example: 1566203005000

## Response 400 fields (application/json):

  - `code` (string, required)
    Error code identifying the type of error

  - `reason` (string, required)
    Human-readable error message


