> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uplink.build/llms.txt
> Use this file to discover all available pages before exploring further.

# uplink:Transaction

> A movement of money on a financial account — a purchase, deposit, fee, or transfer.

**`uplink:Transaction/v1`** — a movement of money on a [`FinancialAccount`](https://docs.uplink.build/vocabulary/FinancialAccount): a purchase, deposit, fee, refund, or transfer. Modelled on Plaid's Transaction so it generalizes across institutions.

`amount` is **numeric**. Positive amounts are money leaving the account (purchases, withdrawals, fees); negative amounts are money coming in (deposits, refunds, card payments).

## Fields

| Field | Type | Required | Description |
| - | - | - | - |
| `id` | string | ✓ | Provider-stable transaction identifier. |
| `accountId` | string | ✓ | The FinancialAccount.id this transaction belongs to. |
| `amount` | number | ✓ | Amount in the transaction's currency. Positive: money out of the account. Negative: money in. |
| `isoCurrencyCode` | string | ✓ | ISO 4217 currency code (e.g. 'USD'). |
| `date` | date | ✓ | Posted date, or for a pending transaction the date it occurred. YYYY-MM-DD. |
| `authorizedDate` | date | | Date the institution authorized it, usually when the purchase happened. Prefer it for display when present. YYYY-MM-DD. |
| `pending` | boolean | ✓ | True while the transaction has not settled; its amount and description may still change. |
| `pendingTransactionId` | string | | On a posted transaction, the id of the pending transaction it replaced, when the institution links them. |
| `description` | string | ✓ | The institution's description of the transaction, as shown on the statement. |
| `merchantName` | string | | Clean merchant name when the institution provides one (e.g. 'Starbucks'). |
| `category` | object | | The institution's category for the transaction. See below. |
| `transactionCode` | string | | The institution's kind of transaction, free-form (e.g. 'ach debit', 'atm', 'check', 'fee', 'transfer', 'interest'). |
| `paymentChannel` | enum: `online` \| `in store` \| `other` | | How the transaction was made, when known. |
| `checkNumber` | string | | Check number for a check transaction. |
| `runningBalance` | number | | Account balance after this transaction, when the institution shows it. |
| `location` | object | | Where a card transaction happened, when the institution says. See below. |
| `merchantCategoryCode` | string | | Four-digit ISO 18245 merchant category code for a card transaction, when given. |
| `cardMask` | string | | Last digits of the card used, when the account has several cards (e.g. an authorized user's). |

### `category`

| Field | Type | Required | Description |
| - | - | - | - |
| `primary` | string | ✓ | Broad category as the institution labels it (e.g. 'Food & Drink'). |
| `detailed` | string | | Finer category when given (e.g. 'Restaurants'). |

### `location`

| Field | Type | Required | Description |
| - | - | - | - |
| `address` | string | | Street address. |
| `city` | string | | City. |
| `region` | string | | State or region. |
| `postalCode` | string | | Postal code. |
| `country` | string | | ISO 3166-1 alpha-2 country code. |

## Example

```json theme={null}
{
  "id": "100000000000001",
  "accountId": "1111111111",
  "amount": 45.2,
  "isoCurrencyCode": "USD",
  "date": "2026-11-08",
  "authorizedDate": "2026-11-08",
  "pending": true,
  "description": "WHOLEFDS SEA 10234",
  "merchantName": "Whole Foods",
  "category": {
    "primary": "Groceries",
    "detailed": "Grocery Stores, Supermarkets"
  },
  "transactionCode": "sale",
  "location": {
    "city": "SEATTLE",
    "region": "WA",
    "country": "US"
  },
  "merchantCategoryCode": "5411",
  "cardMask": "4321"
}
```

## Emitted by

* `@atomic/chase` — `transactions` on `fetchTransactions`

## Related

* [`uplink:FinancialAccount`](https://docs.uplink.build/vocabulary/FinancialAccount) — the account `accountId` points to


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.