---
title: "Get a transaction"
method: GET
path: "/bankaccounts/{bankAccountId}/transactions/{id}"
tags: ["Bank Accounts"]
---

# Get a transaction

`GET /bankaccounts/{bankAccountId}/transactions/{id}`

## Request

- Base URL: `https://api.smokeball.com`
- URL: `https://api.smokeball.com/bankaccounts/{bankAccountId}/transactions/{id}`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

Retrieves a specified bank account transaction.

## Path parameters

- `id` string, required
- `bankAccountId` string, required

## Response `200`

When request is successful. Returns a 'Transaction' object.

- Transaction
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable
  - `self` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `id` string, nullable: Unique identifier of the transaction.
  - `payorName` string, nullable: The name of the associated contact.
  - `matter` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `payor` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `bankAccount` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `type` string, nullable: The type of the transaction. Possible values: Deposit, DepositReversal, InvoicePayment, InvoicePaymentReversal, VendorPayment, VendorPaymentReversal Transfer, BankFees, BankFeesReversal, Interest, InterestReversal.
  - `amount` number, double: The amount of the transaction in dollars. Limited to 2 decimal places (cents).
  - `enteredDate` string, date-time: Date the transaction was entered.
  - `effectiveDate` string, date-time: Date the transaction took effect.
  - `reference` string, nullable: Reference for the transaction.
  - `reason` string, nullable: Reason for the transaction.
  - `description` string, nullable: Description of the transaction.
  - `note` string, nullable: Note for the transaction (for internal use).
  - `reversed` boolean: True if this transaction has been reversed.
  - `reversedToTransaction` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `reversedFromTransaction` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable

## Other responses

- `400`: When an unsupported request is made.
- `403`: When transaction with specified id is not associated with authenticated client.
- `404`: When transaction with specified id does not exist.

---

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