Teller · Capability

Teller API — Transactions

Teller API — Transactions. 2 operations. Lead operation: List Transactions. Self-contained Naftiko capability covering one Teller business surface.

Run with Naftiko TellerTransactions

What You Can Do

GET
Listtransactions — List Transactions
/v1/accounts/{account-id}/transactions
GET
Gettransaction — Get Transaction
/v1/accounts/{account-id}/transactions/{transaction-id}

MCP Tools

list-transactions

List Transactions

read-only idempotent
get-transaction

Get Transaction

read-only idempotent

Capability Spec

teller-transactions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Teller API — Transactions
  description: 'Teller API — Transactions. 2 operations. Lead operation: List Transactions. Self-contained Naftiko capability
    covering one Teller business surface.'
  tags:
  - Teller
  - Transactions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TELLER_API_KEY: TELLER_API_KEY
capability:
  consumes:
  - type: http
    namespace: teller-transactions
    baseUri: https://api.teller.io
    description: Teller API — Transactions business capability. Self-contained, no shared references.
    resources:
    - name: accounts-account_id-transactions
      path: /accounts/{account_id}/transactions
      operations:
      - name: listtransactions
        method: GET
        description: List Transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          description: The account identifier.
          required: true
        - name: count
          in: query
          type: integer
          description: Maximum number of transactions to return.
        - name: from_id
          in: query
          type: string
          description: Paginate backward from this transaction ID.
        - name: start_date
          in: query
          type: string
          description: Filter transactions on or after this ISO 8601 date.
        - name: end_date
          in: query
          type: string
          description: Filter transactions on or before this ISO 8601 date.
    - name: accounts-account_id-transactions-transaction_id
      path: /accounts/{account_id}/transactions/{transaction_id}
      operations:
      - name: gettransaction
        method: GET
        description: Get Transaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          description: The account identifier.
          required: true
        - name: transaction_id
          in: path
          type: string
          description: The transaction identifier.
          required: true
    authentication:
      type: bearer
      token: '{{env.TELLER_API_KEY}}'
  exposes:
  - type: rest
    namespace: teller-transactions-rest
    port: 8080
    description: REST adapter for Teller API — Transactions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/accounts/{account-id}/transactions
      name: accounts-account-id-transactions
      description: REST surface for accounts-account_id-transactions.
      operations:
      - method: GET
        name: listtransactions
        description: List Transactions
        call: teller-transactions.listtransactions
        with:
          account_id: rest.account_id
          count: rest.count
          from_id: rest.from_id
          start_date: rest.start_date
          end_date: rest.end_date
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/transactions/{transaction-id}
      name: accounts-account-id-transactions-transaction-id
      description: REST surface for accounts-account_id-transactions-transaction_id.
      operations:
      - method: GET
        name: gettransaction
        description: Get Transaction
        call: teller-transactions.gettransaction
        with:
          account_id: rest.account_id
          transaction_id: rest.transaction_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: teller-transactions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Teller API — Transactions. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-transactions
      description: List Transactions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: teller-transactions.listtransactions
      with:
        account_id: tools.account_id
        count: tools.count
        from_id: tools.from_id
        start_date: tools.start_date
        end_date: tools.end_date
      outputParameters:
      - type: object
        mapping: $.
    - name: get-transaction
      description: Get Transaction
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: teller-transactions.gettransaction
      with:
        account_id: tools.account_id
        transaction_id: tools.transaction_id
      outputParameters:
      - type: object
        mapping: $.