Deel · Capability

EOR Endpoints — subpackage_eorBenefits

EOR Endpoints — subpackage_eorBenefits. 1 operations. Lead operation: Retrieve Benefits for EOR Contract. Self-contained Naftiko capability covering one Deel business surface.

Run with Naftiko Deelsubpackage_eorBenefits

What You Can Do

GET
Geteorbenefitsbycontractid — Retrieve Benefits for EOR Contract
/v1/eor/{contract-id}/benefits

MCP Tools

retrieve-benefits-eor-contract

Retrieve Benefits for EOR Contract

read-only idempotent

Capability Spec

eor-endpoints-subpackage-eorbenefits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: EOR Endpoints — subpackage_eorBenefits
  description: 'EOR Endpoints — subpackage_eorBenefits. 1 operations. Lead operation: Retrieve Benefits for EOR Contract.
    Self-contained Naftiko capability covering one Deel business surface.'
  tags:
  - Deel
  - subpackage_eorBenefits
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEEL_API_KEY: DEEL_API_KEY
capability:
  consumes:
  - type: http
    namespace: eor-endpoints-subpackage-eorbenefits
    baseUri: https://api.letsdeel.com/rest/v2
    description: EOR Endpoints — subpackage_eorBenefits business capability. Self-contained, no shared references.
    resources:
    - name: eor-contract_id-benefits
      path: /eor/{contract_id}/benefits
      operations:
      - name: geteorbenefitsbycontractid
        method: GET
        description: Retrieve Benefits for EOR Contract
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contract_id
          in: path
          type: string
          description: Deel contract ID.
          required: true
        - name: Authorization
          in: header
          type: string
          description: '## Authentication'
          required: true
    authentication:
      type: bearer
      token: '{{env.DEEL_API_KEY}}'
  exposes:
  - type: rest
    namespace: eor-endpoints-subpackage-eorbenefits-rest
    port: 8080
    description: REST adapter for EOR Endpoints — subpackage_eorBenefits. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/eor/{contract-id}/benefits
      name: eor-contract-id-benefits
      description: REST surface for eor-contract_id-benefits.
      operations:
      - method: GET
        name: geteorbenefitsbycontractid
        description: Retrieve Benefits for EOR Contract
        call: eor-endpoints-subpackage-eorbenefits.geteorbenefitsbycontractid
        with:
          contract_id: rest.contract_id
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: eor-endpoints-subpackage-eorbenefits-mcp
    port: 9090
    transport: http
    description: MCP adapter for EOR Endpoints — subpackage_eorBenefits. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: retrieve-benefits-eor-contract
      description: Retrieve Benefits for EOR Contract
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: eor-endpoints-subpackage-eorbenefits.geteorbenefitsbycontractid
      with:
        contract_id: tools.contract_id
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.