---
title: "Mark Transaction"
method: POST
path: "/api/investments/transactions/{transaction_id}/mark"
tags: ["Investments — contributions and valuations"]
---

# Mark Transaction

`POST /api/investments/transactions/{transaction_id}/mark`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/investments/transactions/{transaction_id}/mark`
- Auth: HTTP bearer

Idempotent on the transaction: a second mark is a 409 (the app reads
it as "already marked"), never a second row or a second account.

## Path parameters

- `transaction_id` string, uuid, required

## Request body

- MarkBody
  - `account_id` string, uuid, nullable
  - `new_account` NewAccount
    - `provider` string, required
    - `wrapper_type` string, required
    - `display_name` string, nullable
    - `is_pension` boolean, nullable

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
