eBay · Capability

eBay Account API — Subscription

eBay Account API — Subscription. 1 operations. Lead operation: Subscription. Self-contained Naftiko capability covering one Ebay business surface.

Run with Naftiko EbaySubscription

What You Can Do

GET
Getsubscription — This method retrieves a list of subscriptions associated with the seller account.
/v1/subscription

MCP Tools

this-method-retrieves-list-subscriptions

This method retrieves a list of subscriptions associated with the seller account.

read-only idempotent

Capability Spec

account-subscription.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: eBay Account API — Subscription
  description: 'eBay Account API — Subscription. 1 operations. Lead operation: Subscription. Self-contained Naftiko capability
    covering one Ebay business surface.'
  tags:
  - Ebay
  - Subscription
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EBAY_API_KEY: EBAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: account-subscription
    baseUri: https://api.ebay.com{basePath}
    description: eBay Account API — Subscription business capability. Self-contained, no shared references.
    resources:
    - name: subscription
      path: /subscription
      operations:
      - name: getsubscription
        method: GET
        description: This method retrieves a list of subscriptions associated with the seller account.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: string
          description: This field is for future use.
        - name: continuation_token
          in: query
          type: string
          description: This field is for future use.
    authentication:
      type: bearer
      token: '{{env.EBAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: account-subscription-rest
    port: 8080
    description: REST adapter for eBay Account API — Subscription. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/subscription
      name: subscription
      description: REST surface for subscription.
      operations:
      - method: GET
        name: getsubscription
        description: This method retrieves a list of subscriptions associated with the seller account.
        call: account-subscription.getsubscription
        with:
          limit: rest.limit
          continuation_token: rest.continuation_token
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: account-subscription-mcp
    port: 9090
    transport: http
    description: MCP adapter for eBay Account API — Subscription. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: this-method-retrieves-list-subscriptions
      description: This method retrieves a list of subscriptions associated with the seller account.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: account-subscription.getsubscription
      with:
        limit: tools.limit
        continuation_token: tools.continuation_token
      outputParameters:
      - type: object
        mapping: $.