---
title: "Get Transaction"
method: GET
path: "/accounts/{account_id}/transactions/{transaction_id}"
tags: ["Money + Positions"]
---

# Get Transaction

`GET /accounts/{account_id}/transactions/{transaction_id}`

## Path parameters

- `account_id` string, required
- `transaction_id` string, required

## Headers

- `LMG-Data-Privacy-Access-Principal` string, required
- `LMG-Data-Privacy-Access-Justification` string, required

## Response `200`

Successful Response

- Transaction
  - `id` string, required — A string representing the unique identifier of this transaction.
  - `status` 'canceled' | 'created' | 'settled', required — A category representing a transaction status: <ul> <li><code>canceled</code>: The transaction was canceled. <li><code>created</code>: The transaction was created and is not settled yet. <li><code>settled</code>: The transaction is settled. </ul>
  - `type` 'deposit' | 'income_distribution' | 'securities_transfer' | 'sweep' | 'tax' | 'trade' | 'withdrawal', required — A category representing a transaction type: <ul> <li><code>deposit</code>: Cash Deposit <li><code>income_distribution</code>: Income Distribution <li><code>securities_transfer</code>: Securities Transfer <li><code>sweep</code>: Balance Sweep <li><code>tax</code>: Tax Payment <!--or Credit--> <li><code>trade</code>: Trade <li><code>withdrawal</code>: Cash Withdrawal </ul>
  - `source` string, required — An opaque identifier referencing the source of the transaction.
  - `components` TransactionComponent[], required
    - union — A component of a transaction. It indicates changes to the positions or funds affected by a transaction.
      - CashComponent — An object representing the cash component of a transaction.
        - `type` 'cash' | 'securities', required — A category representing a component type: <ul> <li><code>cash</code>: Cash component; this component modifies the customer's cash balance. <li><code>securities</code>: Securities component; this component modified a customer's position. </ul>
        - `direction` 'debit' | 'credit', required — A category representing a component direction: <ul> <li><code>credit</code>: Assets for the customer. The amount/quanity will be added to the balance/position. <li><code>debit</code>: Liabilities for the customer. The amount/quantity will be subtracted from the balance/position. </ul>
        - `currency` string, required — An ISO 4217 three-letter currency code. Its value represents the currency for the amount listed. The only currently available currency is `"EUR"`.
        - `amount` number, required — The amount of cash being moved in this transaction component.
      - SecuritiesComponent — An object representing an instrument-related component of a transaction.
        - `type` 'cash' | 'securities', required — A category representing a component type: <ul> <li><code>cash</code>: Cash component; this component modifies the customer's cash balance. <li><code>securities</code>: Securities component; this component modified a customer's position. </ul>
        - `direction` 'debit' | 'credit', required — A category representing a component direction: <ul> <li><code>credit</code>: Assets for the customer. The amount/quanity will be added to the balance/position. <li><code>debit</code>: Liabilities for the customer. The amount/quantity will be subtracted from the balance/position. </ul>
        - `instrument` string, required — An ISIN (International Securities Identification Number) according to ISO 6166. This value uniquely identifies the instrument of this component.
        - `quantity` number, required — The number of shares affected by this component.
  - `history` StatusChangeTransactionStatus[], required — A history of the status changes for a transaction.
    - `status` 'canceled' | 'created' | 'settled', required — A category representing a transaction status: <ul> <li><code>canceled</code>: The transaction was canceled. <li><code>created</code>: The transaction was created and is not settled yet. <li><code>settled</code>: The transaction is settled. </ul>
    - `timestamp` string, date-time, required — The timestamp of the event. It represents the point in time at which the transaction was updated.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Entity
- `5XX` — Server Error

---

[API](https://skmtc.net/lemon/apis/lemon-markets-brokerage-api.md) · [All operations](https://skmtc.net/lemon/apis/lemon-markets-brokerage-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lemon/lemon-markets-brokerage-api/revisions/3c8cfd3a96c9/schema)
