# Retrieve Transaction Retrieves details of a single transaction under the given account Endpoint: GET /v1/accounts/deposits/{id}/transactions/{id} Version: 1.1.2 Security: OAuth2Flow ## Path parameters: - `id` (string, required) Transaction ID ## Header parameters: - `Authorization` (string) OAuth bearer token (see authentication flows) - `x-l2f-request-id` (string) Optional Unique ID per request, useful for fault resolution/diagnosis and audit. ## Response 200 fields (application/json): - `data` (object, required) - `data.id` (string, required) Unique Identifier for the transaction - `data.value` (number, required) Value of the transaction in the underlying account currency - `data.transaction_date` (string, required) Date time the transaction was performed - `data.transaction_posted_date` (string) Date time the transaction was posted - `data.transaction_status` (string, required) Status of transaction * AUTHORIZED - Treat as a temporary hold. This transaction impacts the account available balance but does not impact the current balance. Can and should be cancelled and replaced by a pending/posted pair. * PENDING - Transaction waiting final confirmation. This transaction impacts the account available balance but does not impact the current balance. Cannot be cancelled as the underlying transaction is in flight. * POSTED - Transaction is final. Both the available balance and current balance are impacted. Cannot be reversed. * CANCELLED - Transaction is no longer valid. Reverse any impacts to available balance and current balance. Enum: "AUTHORIZED", "PENDING", "POSTED", "CANCELLED" - `data.transaction_type` (string, required) Transaction type * TRANSFER_IN - External deposit of crypto funds into an account. * TRANSFER_OUT - Withdrawal of crypto funds from an account to an external location . * FIAT_TRANSFER_IN - External deposit of FIAT funds into an account. * FIAT_TRANSFER_OUT - Withdrawal of FIAT funds from an account to an external location . * FIAT_TRANSFER_IN_RETURN - Clawback of a FIAT deposit (e.g. due to bankiing error). * FIAT_TRANSFER_OUT_RETURN - Return of a FIAT withdrawal (e.g. due to the destination account being closed) * DEBIT_CORRECTION - Debit account adjustment. * CREDIT_CORRECTION - Credit account adjustment. * TRADE - Currency exchange transaction (applies to both the debit on the source account or credit on the destination account). * FEE - Fee deduction. * INTERNAL_TRANSFER - Book (internal) movement of funds between account. Enum: "TRANSFER_IN", "TRANSFER_OUT", "FEE", "DEBIT_CORRECTION", "CREDIT_CORRECTION", "TRADE", "INTERNAL_TRANSFER" - `data.category_type` (string) If this transaction related to a core platform feature * DEPOSIT - When this transaction was a result of a deposit. * EXCHANGE - When this transaction was a result of an [exchange](#tag/Exchanges). * TRANSFER - When this transaction was a result of a [transfer](#tag/Transfers). * WITHDRAWAL - When this transaction was a result of a [withdrawal](#tag/Withdrawals). Enum: "ADJUSTMENT", "DEPOSIT", "EXCHANGE", "TRANSFER", "WITHDRAWAL" - `data.category_id` (string) Where the category_type is present, this identifier allows you to lookup the category details using the standard APIs. For example, where a category_type is TRANSFER and the category_id is abc-123, you can lookup the original transfer that this transaction relates to using GET /transfers/abc-123 - `data.description` (string) Description - `data.originator` (object) Where the type of transaction is TRANSFER_IN, the available details of the originator of the transaction - `data.originator.originator_type` (string, required) Type of transaction originator Enum: "FIAT_US", "FIAT_US_LINKED", "FIAT_CA", "FIAT_CA_LINKED", "CRYPTO" - `data.originator.rail_reference` (string) Rail specific reference if one exists (e.g. blockchain hash, fedwire ID etc) - `data.originator.rail_originator_memo` (string) Any reference provided by the originator, typically only used on FIAT rails (e.g. transaction Memo etc). - `data.rail_information` (object) Where the type of transaction is TRANSFER_IN, the available details of the originator of the transaction - `data.rail_information.rail` (string, required) The rail on which this transaction arrived. - `data.rail_information.reference` (string) Rail-specific reference if one exists (e.g., blockchain hash, Fedwire ID, etc.) - `data.rail_information.memo` (string) Any reference provided by the originator, typically used on FIAT rails (e.g., transaction memo). ## Response 400 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description ## Response 401 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description ## Response 404 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description ## Response 500 fields (application/json): - `errors` (array) Error List - `errors.code` (string) Layer2 Standard Error Code - `errors.description` (string) Error Description