M3ter · Capability

m3ter API — TransactionType

m3ter API — TransactionType. 5 operations. Lead operation: List TransactionTypes. Self-contained Naftiko capability covering one M3ter business surface.

Run with Naftiko M3terTransactionType

What You Can Do

GET
Listtransactiontypes — List TransactionTypes
/v1/organizations/{orgid}/picklists/transactiontypes
POST
Createtransactiontype — Create TransactionType
/v1/organizations/{orgid}/picklists/transactiontypes
GET
Gettransactiontype — Retrieve TransactionType
/v1/organizations/{orgid}/picklists/transactiontypes/{id}
PUT
Updatetransactiontype — Update TransactionType
/v1/organizations/{orgid}/picklists/transactiontypes/{id}
DELETE
Deletetransactiontype — Delete TransactionType
/v1/organizations/{orgid}/picklists/transactiontypes/{id}

MCP Tools

list-transactiontypes

List TransactionTypes

read-only idempotent
create-transactiontype

Create TransactionType

retrieve-transactiontype

Retrieve TransactionType

read-only idempotent
update-transactiontype

Update TransactionType

idempotent
delete-transactiontype

Delete TransactionType

idempotent

Capability Spec

m3ter-transactiontype.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: m3ter API — TransactionType
  description: 'm3ter API — TransactionType. 5 operations. Lead operation: List TransactionTypes. Self-contained Naftiko capability
    covering one M3ter business surface.'
  tags:
  - M3ter
  - TransactionType
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    M3TER_API_KEY: M3TER_API_KEY
capability:
  consumes:
  - type: http
    namespace: m3ter-transactiontype
    baseUri: https://api.m3ter.com
    description: m3ter API — TransactionType business capability. Self-contained, no shared references.
    resources:
    - name: organizations-orgId-picklists-transactiontypes
      path: /organizations/{orgId}/picklists/transactiontypes
      operations:
      - name: listtransactiontypes
        method: GET
        description: List TransactionTypes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The unique identifier (UUID) of your Organization. The Organization represents your company as a direct
            customer of our service.
          required: true
        - name: pageSize
          in: query
          type: integer
          description: Specifies the maximum number of TransactionTypes to retrieve per page.
        - name: nextToken
          in: query
          type: string
          description: The `nextToken` for multi-page retrievals. It is used to fetch the next page of TransactionTypes in
            a paginated list.
        - name: ids
          in: query
          type: array
          description: A list of TransactionType unique identifiers (UUIDs) to retrieve.
        - name: codes
          in: query
          type: array
          description: A list of TransactionType short codes to retrieve.
        - name: archived
          in: query
          type: boolean
          description: 'Filter with this Boolean flag whether to include TransactionTypes that are archived. '
      - name: createtransactiontype
        method: POST
        description: Create TransactionType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The unique identifier (UUID) of your Organization. The Organization represents your company as a direct
            customer of our service.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organizations-orgId-picklists-transactiontypes-id
      path: /organizations/{orgId}/picklists/transactiontypes/{id}
      operations:
      - name: gettransactiontype
        method: GET
        description: Retrieve TransactionType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The unique identifier (UUID) of your Organization. The Organization represents your company as a direct
            customer of our service.
          required: true
        - name: id
          in: path
          type: string
          description: The unique identifier (UUID) of the TransactionType to retrieve.
          required: true
      - name: updatetransactiontype
        method: PUT
        description: Update TransactionType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The unique identifier (UUID) of your Organization. The Organization represents your company as a direct
            customer of our service.
          required: true
        - name: id
          in: path
          type: string
          description: The unique identifer (UUID) of the TransactionType to update.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletetransactiontype
        method: DELETE
        description: Delete TransactionType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: orgId
          in: path
          type: string
          description: The unique identifier (UUID) of your Organization. The Organization represents your company as a direct
            customer of our service.
          required: true
        - name: id
          in: path
          type: string
          description: The unique identifier (UUID) of the TransactionType to delete.
          required: true
    authentication:
      type: bearer
      token: '{{env.M3TER_API_KEY}}'
  exposes:
  - type: rest
    namespace: m3ter-transactiontype-rest
    port: 8080
    description: REST adapter for m3ter API — TransactionType. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/organizations/{orgid}/picklists/transactiontypes
      name: organizations-orgid-picklists-transactiontypes
      description: REST surface for organizations-orgId-picklists-transactiontypes.
      operations:
      - method: GET
        name: listtransactiontypes
        description: List TransactionTypes
        call: m3ter-transactiontype.listtransactiontypes
        with:
          orgId: rest.orgId
          pageSize: rest.pageSize
          nextToken: rest.nextToken
          ids: rest.ids
          codes: rest.codes
          archived: rest.archived
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createtransactiontype
        description: Create TransactionType
        call: m3ter-transactiontype.createtransactiontype
        with:
          orgId: rest.orgId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{orgid}/picklists/transactiontypes/{id}
      name: organizations-orgid-picklists-transactiontypes-id
      description: REST surface for organizations-orgId-picklists-transactiontypes-id.
      operations:
      - method: GET
        name: gettransactiontype
        description: Retrieve TransactionType
        call: m3ter-transactiontype.gettransactiontype
        with:
          orgId: rest.orgId
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatetransactiontype
        description: Update TransactionType
        call: m3ter-transactiontype.updatetransactiontype
        with:
          orgId: rest.orgId
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetransactiontype
        description: Delete TransactionType
        call: m3ter-transactiontype.deletetransactiontype
        with:
          orgId: rest.orgId
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: m3ter-transactiontype-mcp
    port: 9090
    transport: http
    description: MCP adapter for m3ter API — TransactionType. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-transactiontypes
      description: List TransactionTypes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: m3ter-transactiontype.listtransactiontypes
      with:
        orgId: tools.orgId
        pageSize: tools.pageSize
        nextToken: tools.nextToken
        ids: tools.ids
        codes: tools.codes
        archived: tools.archived
      outputParameters:
      - type: object
        mapping: $.
    - name: create-transactiontype
      description: Create TransactionType
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: m3ter-transactiontype.createtransactiontype
      with:
        orgId: tools.orgId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-transactiontype
      description: Retrieve TransactionType
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: m3ter-transactiontype.gettransactiontype
      with:
        orgId: tools.orgId
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-transactiontype
      description: Update TransactionType
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: m3ter-transactiontype.updatetransactiontype
      with:
        orgId: tools.orgId
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-transactiontype
      description: Delete TransactionType
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: m3ter-transactiontype.deletetransactiontype
      with:
        orgId: tools.orgId
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.