---
title: "Get transaction by ID"
method: GET
path: "/account/{accountId}/transaction/{transactionId}"
tags: ["Accounts"]
---

# Get transaction by ID

`GET /account/{accountId}/transaction/{transactionId}`

## Request

- Base URL: `https://api.mercury.com/api/v1`
- URL: `https://api.mercury.com/api/v1/account/{accountId}/transaction/{transactionId}`
- Auth: one of:
  - HTTP bearer
  - HTTP basic

## Path parameters

- `accountId` string, uuid, required: The Mercury account where invoice payments will be deposited. Use the /api/v1/accounts endpoint to list your accounts and find the corresponding id. Only checking and savings accounts are supported.
- `transactionId` string, uuid, required: ID for this transaction

## Response `200`

## Other responses

- `404`: `accountId` or `transactionId` not found

## Changes

- **2026-10-16** `ab652aa5aa8e`: 4 breaking, 2 warning, 8 info
  - removed the required property `categoryData/allOf[#/components/schemas/CategoryData]/visibleForCardSpend` from the response with the `200` status
  - removed the required property `categoryData/allOf[#/components/schemas/CategoryData]/visibleForOther` from the response with the `200` status
  - removed the required property `categoryData/allOf[#/components/schemas/CategoryData]/visibleForReimbursements` from the response with the `200` status
  - removed the required property `glAllocations` from the response with the `200` status
  - …10 more
- **2026-07-22** `0bdf4a496e03`: 1 warning
  - added the new `interestPayment` enum value to the `kind/allOf[#/components/schemas/TransactionKind]/` response property for the response status `200`
- **2026-06-10** `621b18bfbb91`: 2 warning
  - added the new `MerchantRefundToOriginalCharge` enum value to the `relatedTransactions/items/relationKind/allOf[#/components/schemas/TransactionRelationKind]/` response property for the response status `200`
  - added the new `OriginalChargeToMerchantRefund` enum value to the `relatedTransactions/items/relationKind/allOf[#/components/schemas/TransactionRelationKind]/` response property for the response status `200`
- …earlier changes not shown

[Operation history](https://skmtc.dev/mercurytechnologies/apis/mercury-api/changes/account/:accountId/transaction/:transactionId/get.md)

---

[API](https://skmtc.dev/mercurytechnologies/apis/mercury-api.md) - [All operations](https://skmtc.dev/mercurytechnologies/apis/mercury-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mercurytechnologies/apis/mercury-api/revisions/ab652aa5aa8e?raw)
