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

# Retrieve a transaction

> Looks the transaction up by provider id within the given account. Requires `account`.



## OpenAPI

````yaml /openapi/v2.json get /transactions/{id}
openapi: 3.1.0
info:
  title: Redbark API
  version: 2026-10-01.wattle
  description: >-
    Everything a user can do in the dashboard, by API key. Send
    `Redbark-Version` on every request; see the conventions guide for ids,
    lists, errors and idempotency.
servers:
  - url: https://api.redbark.com/v2
security:
  - Bearer: []
    RedbarkVersion: []
tags:
  - name: Account
    description: The authenticated account, its plan and the key in use.
  - name: API keys
    description: Create, scope, rotate and revoke API keys.
  - name: Connections
    description: Linked banks and brokerages, and their lifecycle.
  - name: Consents
    description: Open Banking consents behind each connection.
  - name: Accounts
    description: Bank and brokerage accounts, live balances and details.
  - name: Transactions
    description: Transactions read live from the provider.
  - name: Holdings
    description: Brokerage positions.
  - name: Trades
    description: Brokerage trade history.
  - name: Categories
    description: The category taxonomy and provider categories.
  - name: Syncs
    description: Syncs from accounts to destinations.
  - name: Sync runs
    description: Individual sync executions.
  - name: Rules
    description: Rulesets and rules that transform transactions during a sync.
  - name: Destinations
    description: 'Where synced data lands: Sheets, Airtable, Notion, YNAB, webhooks.'
  - name: Link sessions
    description: Hosted flows that connect a bank or brokerage.
  - name: Destination links
    description: Hosted flows that authorise a destination.
  - name: Institutions
    description: Banks available to link.
  - name: Event destinations
    description: Endpoints that receive signed events.
  - name: Events
    description: What happened, and redelivery.
paths:
  /transactions/{id}:
    get:
      tags:
        - Transactions
      summary: Retrieve a transaction
      description: >-
        Looks the transaction up by provider id within the given account.
        Requires `account`.
      operationId: get_transaction
      parameters:
        - schema:
            type: string
            description: The id of the object.
            example: txn_fk_…
          required: true
          description: The id of the object.
          name: id
          in: path
        - schema:
            type: string
            description: Required. The acct_ id to read.
          required: true
          description: Required. The acct_ id to read.
          name: account
          in: query
        - schema:
            type: string
            description: YYYY-MM-DD or RFC 3339; inclusive
          required: false
          description: YYYY-MM-DD or RFC 3339; inclusive
          name: from
          in: query
        - schema:
            type: string
            description: YYYY-MM-DD or RFC 3339; inclusive
          required: false
          description: YYYY-MM-DD or RFC 3339; inclusive
          name: to
          in: query
      responses:
        '200':
          description: The transaction
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transaction'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Key lacks a scope, plan lacks the feature, or IP not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '424':
          description: Provider or destination failed definitively
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; see Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error; quote request_id to support
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Provider unavailable; retry after Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Transaction:
      type: object
      properties:
        id:
          type: string
          example: txn_fk_8f1c2a3b-...
        object:
          type: string
          enum:
            - transaction
        account:
          type: string
        status:
          type: string
        date:
          type: string
          description: Local date YYYY-MM-DD
        datetime:
          type:
            - string
            - 'null'
        post_date:
          type:
            - string
            - 'null'
        post_datetime:
          type:
            - string
            - 'null'
        value_date:
          type:
            - string
            - 'null'
        value_datetime:
          type:
            - string
            - 'null'
        description:
          type: string
        amount:
          $ref: '#/components/schemas/Money'
        direction:
          type: string
        provider_category:
          type:
            - string
            - 'null'
        category:
          type:
            - string
            - 'null'
          description: The user category (cat_) this transaction resolves to
        merchant_name:
          type:
            - string
            - 'null'
        merchant_category_code:
          type:
            - string
            - 'null'
        livemode:
          type: boolean
      required:
        - id
        - object
        - account
        - status
        - date
        - datetime
        - post_date
        - post_datetime
        - value_date
        - value_datetime
        - description
        - amount
        - direction
        - provider_category
        - category
        - merchant_name
        - merchant_category_code
        - livemode
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request_error
                - authentication_error
                - permission_error
                - rate_limit_error
                - idempotency_error
                - upstream_error
                - api_error
            code:
              type: string
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            doc_url:
              type: string
            request_id:
              type: string
          required:
            - type
            - code
            - message
            - param
            - doc_url
            - request_id
      required:
        - error
    Money:
      type:
        - object
        - 'null'
      properties:
        amount:
          type: integer
        currency:
          type: string
          minLength: 3
          maxLength: 3
      required:
        - amount
        - currency
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Authorization: Bearer rbk_live_...'
    RedbarkVersion:
      type: apiKey
      in: header
      name: Redbark-Version
      description: >-
        The API release your integration is built against, e.g.
        2026-10-01.wattle. Required on every request.

````