Reloadly · Capability

Reloadly Gift Cards API — Products

Reloadly Gift Cards API — Products. 2 operations. Lead operation: List Products. Self-contained Naftiko capability covering one Reloadly business surface.

Run with Naftiko ReloadlyProducts

What You Can Do

GET
Listproducts — List Products
/v1/products
GET
Getproduct — Get Product
/v1/products/{productid}

MCP Tools

list-products

List Products

read-only idempotent
get-product

Get Product

read-only idempotent

Capability Spec

gift-cards-products.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Reloadly Gift Cards API — Products
  description: 'Reloadly Gift Cards API — Products. 2 operations. Lead operation: List Products. Self-contained Naftiko capability
    covering one Reloadly business surface.'
  tags:
  - Reloadly
  - Products
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    RELOADLY_API_KEY: RELOADLY_API_KEY
capability:
  consumes:
  - type: http
    namespace: gift-cards-products
    baseUri: https://giftcards.reloadly.com
    description: Reloadly Gift Cards API — Products business capability. Self-contained, no shared references.
    resources:
    - name: products
      path: /products
      operations:
      - name: listproducts
        method: GET
        description: List Products
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: countryCode
          in: query
          type: string
          description: Filter by ISO 3166-1 alpha-2 country code
        - name: currencyCode
          in: query
          type: string
          description: Filter by ISO 4217 currency code
        - name: includeRange
          in: query
          type: boolean
          description: Include range-denomination products
        - name: includeFixed
          in: query
          type: boolean
          description: Include fixed-denomination products
    - name: products-productId
      path: /products/{productId}
      operations:
      - name: getproduct
        method: GET
        description: Get Product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: productId
          in: path
          type: integer
          description: Unique identifier of the gift card product
          required: true
    authentication:
      type: bearer
      token: '{{env.RELOADLY_API_KEY}}'
  exposes:
  - type: rest
    namespace: gift-cards-products-rest
    port: 8080
    description: REST adapter for Reloadly Gift Cards API — Products. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/products
      name: products
      description: REST surface for products.
      operations:
      - method: GET
        name: listproducts
        description: List Products
        call: gift-cards-products.listproducts
        with:
          countryCode: rest.countryCode
          currencyCode: rest.currencyCode
          includeRange: rest.includeRange
          includeFixed: rest.includeFixed
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/products/{productid}
      name: products-productid
      description: REST surface for products-productId.
      operations:
      - method: GET
        name: getproduct
        description: Get Product
        call: gift-cards-products.getproduct
        with:
          productId: rest.productId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gift-cards-products-mcp
    port: 9090
    transport: http
    description: MCP adapter for Reloadly Gift Cards API — Products. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-products
      description: List Products
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gift-cards-products.listproducts
      with:
        countryCode: tools.countryCode
        currencyCode: tools.currencyCode
        includeRange: tools.includeRange
        includeFixed: tools.includeFixed
      outputParameters:
      - type: object
        mapping: $.
    - name: get-product
      description: Get Product
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gift-cards-products.getproduct
      with:
        productId: tools.productId
      outputParameters:
      - type: object
        mapping: $.