eBay · Capability

eBay Notification API — Destination

eBay Notification API — Destination. 5 operations. Lead operation: Destination. Self-contained Naftiko capability covering one Ebay business surface.

Run with Naftiko EbayDestination

What You Can Do

GET
Getdestinations — This method allows applications to retrieve a paginated collection of destination resources and related details. The details include the destination names, statuses, and configurations, including the endpoints and verification tokens.
/v1/destination
POST
Createdestination — This method allows applications to create a destination. A destination is an endpoint that receives HTTP push notifications.

A single destination for all topics is valid, as is individual destinations for each topic.

To update
/v1/destination
GET
Getdestination — This method allows applications to fetch the details for a destination. The details include the destination name, status, and configuration, including the endpoint and verification token.
/v1/destination/{destination-id}
PUT
Updatedestination — This method allows applications to update a destination.

Note: The destination should be created and ready to respond with the expected challengeResponse for the endpoint to be registered success
/v1/destination/{destination-id}
DELETE
Deletedestination — This method provides applications a way to delete a destination.

The same destination ID can be used by many destinations.

Trying to delete an active destination results in an error. You can disable a subscription, and when th
/v1/destination/{destination-id}

MCP Tools

this-method-allows-applications-retrieve

This method allows applications to retrieve a paginated collection of destination resources and related details. The details include the destination names, statuses, and configurations, including the endpoints and verification tokens.

read-only idempotent
this-method-allows-applications-create

This method allows applications to create a destination. A destination is an endpoint that receives HTTP push notifications.

A single destination for all topics is valid, as is individual destinations for each topic.

To update

this-method-allows-applications-fetch

This method allows applications to fetch the details for a destination. The details include the destination name, status, and configuration, including the endpoint and verification token.

read-only idempotent
this-method-allows-applications-update

This method allows applications to update a destination.

Note: The destination should be created and ready to respond with the expected challengeResponse for the endpoint to be registered success

idempotent
this-method-provides-applications-way

This method provides applications a way to delete a destination.

The same destination ID can be used by many destinations.

Trying to delete an active destination results in an error. You can disable a subscription, and when th

idempotent

Capability Spec

notification-destination.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: eBay Notification API — Destination
  description: 'eBay Notification API — Destination. 5 operations. Lead operation: Destination. Self-contained Naftiko capability
    covering one Ebay business surface.'
  tags:
  - Ebay
  - Destination
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    EBAY_API_KEY: EBAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: notification-destination
    baseUri: https://api.ebay.com{basePath}
    description: eBay Notification API — Destination business capability. Self-contained, no shared references.
    resources:
    - name: destination
      path: /destination
      operations:
      - name: getdestinations
        method: GET
        description: This method allows applications to retrieve a paginated collection of destination resources and related
          details. The details include the destination names, statuses, and configurations, including the endpoints and verification
          tokens.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: continuation_token
          in: query
          type: string
          description: This string value can be used to return the next page in the result set. The string to use here is
            returned in the <b>next</b> field of the current page of resu
        - name: limit
          in: query
          type: string
          description: The maximum number of destinations to return per page from the result set.<br><br><b>Min:</b> 10<br><br><b>Max:</b>
            100<br><br><b>Default:</b> 20
      - name: createdestination
        method: POST
        description: This method allows applications to create a destination. A destination is an endpoint that receives HTTP
          push notifications.<br><br>A single destination for all topics is valid, as is individual destinations for each
          topic.<br><br>To update
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
          description: 'This header indicates the format of the request body provided by the client. Its value should be set
            to <b>application/json</b>. <br><br> For more information, '
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: destination-destination_id
      path: /destination/{destination_id}
      operations:
      - name: getdestination
        method: GET
        description: This method allows applications to fetch the details for a destination. The details include the destination
          name, status, and configuration, including the endpoint and verification token.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: destination_id
          in: path
          type: string
          description: The unique identifier of the destination to retrieve. Use <b>getDestinations</b> to retrieve destination
            IDs.
          required: true
      - name: updatedestination
        method: PUT
        description: This method allows applications to update a destination.<br><br><span class="tablenote"><b>Note:</b>
          The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint
          to be registered success
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
          description: 'This header indicates the format of the request body provided by the client. Its value should be set
            to <b>application/json</b>. <br><br> For more information, '
          required: true
        - name: destination_id
          in: path
          type: string
          description: The unique identifier for the destination.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletedestination
        method: DELETE
        description: This method provides applications a way to delete a destination.<br><br>The same destination ID can be
          used by many destinations.<br><br>Trying to delete an active destination results in an error. You can disable a
          subscription, and when th
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: destination_id
          in: path
          type: string
          description: The unique identifier of the destination to delete. Only disabled or marked down destinations can be
            deleted, and enabled destinations cannot be deleted. Use <b
          required: true
    authentication:
      type: bearer
      token: '{{env.EBAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: notification-destination-rest
    port: 8080
    description: REST adapter for eBay Notification API — Destination. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/destination
      name: destination
      description: REST surface for destination.
      operations:
      - method: GET
        name: getdestinations
        description: This method allows applications to retrieve a paginated collection of destination resources and related
          details. The details include the destination names, statuses, and configurations, including the endpoints and verification
          tokens.
        call: notification-destination.getdestinations
        with:
          continuation_token: rest.continuation_token
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdestination
        description: This method allows applications to create a destination. A destination is an endpoint that receives HTTP
          push notifications.<br><br>A single destination for all topics is valid, as is individual destinations for each
          topic.<br><br>To update
        call: notification-destination.createdestination
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/destination/{destination-id}
      name: destination-destination-id
      description: REST surface for destination-destination_id.
      operations:
      - method: GET
        name: getdestination
        description: This method allows applications to fetch the details for a destination. The details include the destination
          name, status, and configuration, including the endpoint and verification token.
        call: notification-destination.getdestination
        with:
          destination_id: rest.destination_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatedestination
        description: This method allows applications to update a destination.<br><br><span class="tablenote"><b>Note:</b>
          The destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint
          to be registered success
        call: notification-destination.updatedestination
        with:
          Content-Type: rest.Content-Type
          destination_id: rest.destination_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedestination
        description: This method provides applications a way to delete a destination.<br><br>The same destination ID can be
          used by many destinations.<br><br>Trying to delete an active destination results in an error. You can disable a
          subscription, and when th
        call: notification-destination.deletedestination
        with:
          destination_id: rest.destination_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: notification-destination-mcp
    port: 9090
    transport: http
    description: MCP adapter for eBay Notification API — Destination. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: this-method-allows-applications-retrieve
      description: This method allows applications to retrieve a paginated collection of destination resources and related
        details. The details include the destination names, statuses, and configurations, including the endpoints and verification
        tokens.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: notification-destination.getdestinations
      with:
        continuation_token: tools.continuation_token
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: this-method-allows-applications-create
      description: This method allows applications to create a destination. A destination is an endpoint that receives HTTP
        push notifications.<br><br>A single destination for all topics is valid, as is individual destinations for each topic.<br><br>To
        update
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: notification-destination.createdestination
      with:
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: this-method-allows-applications-fetch
      description: This method allows applications to fetch the details for a destination. The details include the destination
        name, status, and configuration, including the endpoint and verification token.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: notification-destination.getdestination
      with:
        destination_id: tools.destination_id
      outputParameters:
      - type: object
        mapping: $.
    - name: this-method-allows-applications-update
      description: This method allows applications to update a destination.<br><br><span class="tablenote"><b>Note:</b> The
        destination should be created and ready to respond with the expected <b>challengeResponse</b> for the endpoint to
        be registered success
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: notification-destination.updatedestination
      with:
        Content-Type: tools.Content-Type
        destination_id: tools.destination_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: this-method-provides-applications-way
      description: This method provides applications a way to delete a destination.<br><br>The same destination ID can be
        used by many destinations.<br><br>Trying to delete an active destination results in an error. You can disable a subscription,
        and when th
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: notification-destination.deletedestination
      with:
        destination_id: tools.destination_id
      outputParameters:
      - type: object
        mapping: $.