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

# Get Transaction

> GET /v1/transactions/{transactionId}

Get a single canonical transaction for customer API clients.



## OpenAPI

````yaml /openapi.json get /v1/transactions/{transactionId}
openapi: 3.1.0
info:
  title: Waycore Bank Connections API
  description: >-
    Developer-first API for direct bank connections, accounts, and transactions.


    Design goals:

    - Flat records with minimal nesting.

    - Clear, bank-centric naming.

    - One canonical endpoint per resource.

    - Sparse fieldsets via `fields=`.

    - Historical browsing via `GET /transactions`.

    - Incremental ETL via `GET /transactions/sync`.

    - Discover supported institutions via `GET /institutions`.

    - Model downstream client businesses via `/entities` and explicit `entityId`
    ownership.


    Authentication:

    - Opaque API keys passed as `Authorization: Bearer <key>`.

    - Key format: `way_<environment>_<key_id>_<secret>`.

    - Keys are organization-bound, environment-bound (`live` or `test`),
    scope-carrying, and expiring.

    - Managed via the Waycore Console.
  version: 0.5.0
servers:
  - url: https://api.waycore.com
security: []
paths:
  /v1/transactions/{transactionId}:
    get:
      tags:
        - transactions
      summary: Get Transaction
      description: |-
        GET /v1/transactions/{transactionId}

        Get a single canonical transaction for customer API clients.
      operationId: get_transaction_v1_transactions__transactionId__get
      parameters:
        - name: transactionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Transactionid
        - name: fields
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Fields
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transaction'
                type: object
                additionalProperties: true
                title: Response Get Transaction V1 Transactions  Transactionid  Get
        '400':
          description: >-
            Bad Request. `type` may be `invalid_request` for malformed query
            parameters or validation failures, or `invalid_fields` when `fields`
            contains unknown names.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
          description: Not Found
        '429':
          description: >-
            Too Many Requests. Retry after the number of seconds in
            `Retry-After` when present, then retry the same request.
          headers:
            Retry-After:
              description: >-
                Number of seconds to wait before retrying, when rate limiting
                provides a specific backoff.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorResponse'
          description: Internal Server Error
      security:
        - apiKeyBearer:
            - transactions:read
components:
  schemas:
    Transaction:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        connectionId:
          type: string
          format: uuid
          title: Connectionid
        accountId:
          type: string
          format: uuid
          title: Accountid
        status:
          $ref: '#/components/schemas/TransactionStatus'
          description: >-
            Transaction lifecycle status. Current implementation emits only
            `pending` and `posted`; other values are reserved for future use.
        postedDate:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Posteddate
        updatedAt:
          type: string
          format: date-time
          title: Updatedat
          description: >-
            When the serialized public transaction representation last changed.
            It advances when a change would alter a field currently exposed by
            this API. Internal-only changes and changes to data not currently
            surfaced here do not change `updatedAt`.
        amount:
          type: string
          title: Amount
        currency:
          title: Currency
          type: string
        entryType:
          $ref: '#/components/schemas/EntryType'
        description:
          type: string
          title: Description
        rawDescription:
          anyOf:
            - type: string
            - type: 'null'
          title: Rawdescription
        customerReference:
          anyOf:
            - type: string
            - type: 'null'
          title: Customerreference
        bankReference:
          anyOf:
            - type: string
            - type: 'null'
          title: Bankreference
        rail:
          $ref: '#/components/schemas/PaymentRail'
        baiCode:
          anyOf:
            - type: string
            - type: 'null'
          title: Baicode
        category:
          anyOf:
            - type: string
            - type: 'null'
          title: Category
        subcategory:
          anyOf:
            - type: string
            - type: 'null'
          title: Subcategory
        mcc:
          anyOf:
            - type: string
            - type: 'null'
          title: Mcc
        merchantName:
          anyOf:
            - type: string
            - type: 'null'
          title: Merchantname
        counterpartyName:
          anyOf:
            - type: string
            - type: 'null'
          title: Counterpartyname
        counterpartyAccountMasked:
          anyOf:
            - type: string
            - type: 'null'
          title: Counterpartyaccountmasked
      type: object
      required:
        - id
        - connectionId
        - accountId
        - status
        - postedDate
        - updatedAt
        - amount
        - currency
        - entryType
        - description
        - rail
      title: Transaction
    PublicErrorResponse:
      properties:
        type:
          title: Type
          type: string
        message:
          type: string
          title: Message
        requestId:
          anyOf:
            - type: string
            - type: 'null'
          title: Requestid
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
      type: object
      required:
        - type
        - message
      title: PublicErrorResponse
    TransactionStatus:
      type: string
      enum:
        - pending
        - posted
        - reversed
        - cancelled
        - unknown
      title: TransactionStatus
    EntryType:
      type: string
      enum:
        - credit
        - debit
      title: EntryType
    PaymentRail:
      type: string
      enum:
        - internalTransfer
        - card
        - ach
        - pix
        - caEft
        - auNpp
        - auBecsDirectEntry
        - auRtgs
        - sepaCredit
        - sepaDebit
        - bacsDirectDebit
        - wire
        - swift
        - fasterPayments
        - check
        - cash
        - crypto
        - other
        - unknown
      title: PaymentRail
  securitySchemes:
    apiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: way_<environment>_<key_id>_<secret>
      description: >-
        Opaque API key passed as `Authorization: Bearer <key>`. Keys are
        organization-bound, environment-bound (`live` or `test`),
        scope-carrying, and expiring. Create and manage keys via the console.

````