Codat · Capability

Bank Feeds — Transactions

Bank Feeds — Transactions. 4 operations. Lead operation: Get create bank transactions model. Self-contained Naftiko capability covering one Codat business surface.

Run with Naftiko CodatTransactions

What You Can Do

GET
Getcreatebanktransactionsmodel — Get create bank transactions model
/v1/companies/{companyid}/connections/{connectionid}/options/bankaccounts/{accountid}/banktransactions
POST
Createbanktransactions — Create bank transactions
/v1/companies/{companyid}/connections/{connectionid}/push/bankaccounts/{accountid}/banktransactions
GET
Listcreateoperations — List create operations
/v1/companies/{companyid}/push
GET
Getcreateoperation — Get create operation
/v1/companies/{companyid}/push/{pushoperationkey}

MCP Tools

get-create-bank-transactions-model

Get create bank transactions model

read-only idempotent
create-bank-transactions

Create bank transactions

list-create-operations

List create operations

read-only idempotent
get-create-operation

Get create operation

read-only idempotent

Capability Spec

bank-feeds-transactions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bank Feeds — Transactions
  description: 'Bank Feeds — Transactions. 4 operations. Lead operation: Get create bank transactions model. Self-contained
    Naftiko capability covering one Codat business surface.'
  tags:
  - Codat
  - Transactions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CODAT_API_KEY: CODAT_API_KEY
capability:
  consumes:
  - type: http
    namespace: bank-feeds-transactions
    baseUri: https://api.codat.io
    description: Bank Feeds — Transactions business capability. Self-contained, no shared references.
    resources:
    - name: companies-companyId-connections-connectionId-options-bankAccounts-accountId-bank
      path: /companies/{companyId}/connections/{connectionId}/options/bankAccounts/{accountId}/bankTransactions
      operations:
      - name: getcreatebanktransactionsmodel
        method: GET
        description: Get create bank transactions model
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: companies-companyId-connections-connectionId-push-bankAccounts-accountId-bankTra
      path: /companies/{companyId}/connections/{connectionId}/push/bankAccounts/{accountId}/bankTransactions
      operations:
      - name: createbanktransactions
        method: POST
        description: Create bank transactions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: allowSyncOnPushComplete
          in: query
          type: boolean
          description: Allow a sync upon push completion.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: companies-companyId-push
      path: /companies/{companyId}/push
      operations:
      - name: listcreateoperations
        method: GET
        description: List create operations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: companies-companyId-push-pushOperationKey
      path: /companies/{companyId}/push/{pushOperationKey}
      operations:
      - name: getcreateoperation
        method: GET
        description: Get create operation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.CODAT_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: bank-feeds-transactions-rest
    port: 8080
    description: REST adapter for Bank Feeds — Transactions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/companies/{companyid}/connections/{connectionid}/options/bankaccounts/{accountid}/banktransactions
      name: companies-companyid-connections-connectionid-options-bankaccounts-accountid-bank
      description: REST surface for companies-companyId-connections-connectionId-options-bankAccounts-accountId-bank.
      operations:
      - method: GET
        name: getcreatebanktransactionsmodel
        description: Get create bank transactions model
        call: bank-feeds-transactions.getcreatebanktransactionsmodel
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/companies/{companyid}/connections/{connectionid}/push/bankaccounts/{accountid}/banktransactions
      name: companies-companyid-connections-connectionid-push-bankaccounts-accountid-banktra
      description: REST surface for companies-companyId-connections-connectionId-push-bankAccounts-accountId-bankTra.
      operations:
      - method: POST
        name: createbanktransactions
        description: Create bank transactions
        call: bank-feeds-transactions.createbanktransactions
        with:
          allowSyncOnPushComplete: rest.allowSyncOnPushComplete
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/companies/{companyid}/push
      name: companies-companyid-push
      description: REST surface for companies-companyId-push.
      operations:
      - method: GET
        name: listcreateoperations
        description: List create operations
        call: bank-feeds-transactions.listcreateoperations
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/companies/{companyid}/push/{pushoperationkey}
      name: companies-companyid-push-pushoperationkey
      description: REST surface for companies-companyId-push-pushOperationKey.
      operations:
      - method: GET
        name: getcreateoperation
        description: Get create operation
        call: bank-feeds-transactions.getcreateoperation
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bank-feeds-transactions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Bank Feeds — Transactions. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-create-bank-transactions-model
      description: Get create bank transactions model
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bank-feeds-transactions.getcreatebanktransactionsmodel
      outputParameters:
      - type: object
        mapping: $.
    - name: create-bank-transactions
      description: Create bank transactions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bank-feeds-transactions.createbanktransactions
      with:
        allowSyncOnPushComplete: tools.allowSyncOnPushComplete
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: list-create-operations
      description: List create operations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bank-feeds-transactions.listcreateoperations
      outputParameters:
      - type: object
        mapping: $.
    - name: get-create-operation
      description: Get create operation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bank-feeds-transactions.getcreateoperation
      outputParameters:
      - type: object
        mapping: $.