Montran · Capability

Montran Virtual Accounts API — Account Structures

Montran Virtual Accounts API — Account Structures. 2 operations. Lead operation: Montran List account structures. Self-contained Naftiko capability covering one Montran business surface.

Run with Naftiko MontranAccount Structures

What You Can Do

GET
Listaccountstructures — Montran List account structures
/v1/account-structures
POST
Createaccountstructure — Montran Create an account structure
/v1/account-structures

MCP Tools

montran-list-account-structures

Montran List account structures

read-only idempotent
montran-create-account-structure

Montran Create an account structure

Capability Spec

virtual-accounts-account-structures.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Montran Virtual Accounts API — Account Structures
  description: 'Montran Virtual Accounts API — Account Structures. 2 operations. Lead operation: Montran List account structures.
    Self-contained Naftiko capability covering one Montran business surface.'
  tags:
  - Montran
  - Account Structures
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MONTRAN_API_KEY: MONTRAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: virtual-accounts-account-structures
    baseUri: https://api.montran.com/vam/v1
    description: Montran Virtual Accounts API — Account Structures business capability. Self-contained, no shared references.
    resources:
    - name: account-structures
      path: /account-structures
      operations:
      - name: listaccountstructures
        method: GET
        description: Montran List account structures
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createaccountstructure
        method: POST
        description: Montran Create an account structure
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MONTRAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: virtual-accounts-account-structures-rest
    port: 8080
    description: REST adapter for Montran Virtual Accounts API — Account Structures. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/account-structures
      name: account-structures
      description: REST surface for account-structures.
      operations:
      - method: GET
        name: listaccountstructures
        description: Montran List account structures
        call: virtual-accounts-account-structures.listaccountstructures
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createaccountstructure
        description: Montran Create an account structure
        call: virtual-accounts-account-structures.createaccountstructure
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: virtual-accounts-account-structures-mcp
    port: 9090
    transport: http
    description: MCP adapter for Montran Virtual Accounts API — Account Structures. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: montran-list-account-structures
      description: Montran List account structures
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: virtual-accounts-account-structures.listaccountstructures
      outputParameters:
      - type: object
        mapping: $.
    - name: montran-create-account-structure
      description: Montran Create an account structure
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: virtual-accounts-account-structures.createaccountstructure
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.