Traiana · Capability

Traiana Harmony NetLink API — Settlement

Traiana Harmony NetLink API — Settlement. 2 operations. Lead operation: List Settlement Instructions. Self-contained Naftiko capability covering one Traiana business surface.

Run with Naftiko TraianaSettlement

What You Can Do

GET
Listsettlements — List Settlement Instructions
/v1/settlements
GET
Getsettlement — Get Settlement Details
/v1/settlements/{settlementid}

MCP Tools

list-settlement-instructions

List Settlement Instructions

read-only idempotent
get-settlement-details

Get Settlement Details

read-only idempotent

Capability Spec

harmony-netlink-settlement.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Traiana Harmony NetLink API — Settlement
  description: 'Traiana Harmony NetLink API — Settlement. 2 operations. Lead operation: List Settlement Instructions. Self-contained
    Naftiko capability covering one Traiana business surface.'
  tags:
  - Traiana
  - Settlement
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TRAIANA_API_KEY: TRAIANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: harmony-netlink-settlement
    baseUri: https://api.traiana.com/netlink/v1
    description: Traiana Harmony NetLink API — Settlement business capability. Self-contained, no shared references.
    resources:
    - name: settlements
      path: /settlements
      operations:
      - name: listsettlements
        method: GET
        description: List Settlement Instructions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
        - name: counterpartyId
          in: query
          type: string
        - name: settlementDate
          in: query
          type: string
    - name: settlements-settlementId
      path: /settlements/{settlementId}
      operations:
      - name: getsettlement
        method: GET
        description: Get Settlement Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: settlementId
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.TRAIANA_API_KEY}}'
  exposes:
  - type: rest
    namespace: harmony-netlink-settlement-rest
    port: 8080
    description: REST adapter for Traiana Harmony NetLink API — Settlement. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/settlements
      name: settlements
      description: REST surface for settlements.
      operations:
      - method: GET
        name: listsettlements
        description: List Settlement Instructions
        call: harmony-netlink-settlement.listsettlements
        with:
          status: rest.status
          counterpartyId: rest.counterpartyId
          settlementDate: rest.settlementDate
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/settlements/{settlementid}
      name: settlements-settlementid
      description: REST surface for settlements-settlementId.
      operations:
      - method: GET
        name: getsettlement
        description: Get Settlement Details
        call: harmony-netlink-settlement.getsettlement
        with:
          settlementId: rest.settlementId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: harmony-netlink-settlement-mcp
    port: 9090
    transport: http
    description: MCP adapter for Traiana Harmony NetLink API — Settlement. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-settlement-instructions
      description: List Settlement Instructions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: harmony-netlink-settlement.listsettlements
      with:
        status: tools.status
        counterpartyId: tools.counterpartyId
        settlementDate: tools.settlementDate
      outputParameters:
      - type: object
        mapping: $.
    - name: get-settlement-details
      description: Get Settlement Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: harmony-netlink-settlement.getsettlement
      with:
        settlementId: tools.settlementId
      outputParameters:
      - type: object
        mapping: $.