Tillo · Capability

Tillo Gift Card API — Brands

Tillo Gift Card API — Brands. 2 operations. Lead operation: List Brands. Self-contained Naftiko capability covering one Tillo business surface.

Run with Naftiko TilloBrands

What You Can Do

GET
Listbrands — List Brands
/v1/brands
GET
Getbrand — Get Brand
/v1/brands/{brand-identifier}

MCP Tools

list-brands

List Brands

read-only idempotent
get-brand

Get Brand

read-only idempotent

Capability Spec

gift-card-brands.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tillo Gift Card API — Brands
  description: 'Tillo Gift Card API — Brands. 2 operations. Lead operation: List Brands. Self-contained Naftiko capability
    covering one Tillo business surface.'
  tags:
  - Tillo
  - Brands
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TILLO_API_KEY: TILLO_API_KEY
capability:
  consumes:
  - type: http
    namespace: gift-card-brands
    baseUri: https://app.tillo.io/api/v2
    description: Tillo Gift Card API — Brands business capability. Self-contained, no shared references.
    resources:
    - name: brands
      path: /brands
      operations:
      - name: listbrands
        method: GET
        description: List Brands
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: country
          in: query
          type: string
          description: Filter by ISO 3166-1 alpha-2 country code (e.g., GB, US)
        - name: currency
          in: query
          type: string
          description: Filter by ISO 4217 currency code (e.g., GBP, USD)
        - name: async_only
          in: query
          type: boolean
          description: Filter to async-only brands
        - name: category
          in: query
          type: string
          description: Filter by brand category
    - name: brands-brand_identifier
      path: /brands/{brand_identifier}
      operations:
      - name: getbrand
        method: GET
        description: Get Brand
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: brand_identifier
          in: path
          type: string
          description: Unique brand slug/identifier
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.TILLO_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: gift-card-brands-rest
    port: 8080
    description: REST adapter for Tillo Gift Card API — Brands. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/brands
      name: brands
      description: REST surface for brands.
      operations:
      - method: GET
        name: listbrands
        description: List Brands
        call: gift-card-brands.listbrands
        with:
          country: rest.country
          currency: rest.currency
          async_only: rest.async_only
          category: rest.category
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/brands/{brand-identifier}
      name: brands-brand-identifier
      description: REST surface for brands-brand_identifier.
      operations:
      - method: GET
        name: getbrand
        description: Get Brand
        call: gift-card-brands.getbrand
        with:
          brand_identifier: rest.brand_identifier
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gift-card-brands-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tillo Gift Card API — Brands. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-brands
      description: List Brands
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gift-card-brands.listbrands
      with:
        country: tools.country
        currency: tools.currency
        async_only: tools.async_only
        category: tools.category
      outputParameters:
      - type: object
        mapping: $.
    - name: get-brand
      description: Get Brand
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gift-card-brands.getbrand
      with:
        brand_identifier: tools.brand_identifier
      outputParameters:
      - type: object
        mapping: $.