Justworks · Capability

Justworks Deductions API — Deductions

Justworks Deductions API — Deductions. 5 operations. Lead operation: Justworks List Deductions. Primary write surface of the Justworks Partner API.

Justworks Deductions API — Deductions is a Naftiko capability published by Justworks, one of 6 capabilities the APIs.io network indexes for this provider. It bundles 5 operations.

The capability includes 2 read-only operations and 3 state-changing operations. Lead operation: Justworks List Deduction Types. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Justworks, Deductions, and Payroll.

Run with Naftiko JustworksDeductionsPayroll

MCP Tools

justworks-list-deduction-types

Justworks List Deduction Types

read-only idempotent
justworks-list-deductions

Justworks List Deductions

read-only idempotent
justworks-create-deductions

Justworks Create Deductions

justworks-update-deductions

Justworks Update Deductions

idempotent
justworks-cancel-deductions

Justworks Cancel Deductions

idempotent

Capability Spec

deductions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Justworks Deductions API — Deductions
  description: 'Justworks Deductions API — Deductions. 5 operations. Lead operation: Justworks List Deductions. Primary write surface of the Justworks Partner API.'
  tags:
  - Justworks
  - Deductions
  - Payroll
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    JUSTWORKS_ACCESS_TOKEN: JUSTWORKS_ACCESS_TOKEN
capability:
  consumes:
  - type: http
    namespace: deductions
    baseUri: https://public-api.justworks.com
    description: Justworks Deductions API business capability.
    resources:
    - name: v1-deduction-types
      path: /v1/deduction-types
      operations:
      - name: listdeductiontypes
        method: GET
        description: Justworks List Deduction Types
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-deductions
      path: /v1/deductions
      operations:
      - name: listdeductions
        method: GET
        description: Justworks List Deductions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createdeductions
        method: POST
        description: Justworks Create Deductions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatedeductions
        method: PUT
        description: Justworks Update Deductions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-deductions-cancel
      path: /v1/deductions/cancel
      operations:
      - name: canceldeductions
        method: PATCH
        description: Justworks Cancel Deductions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      key: Authorization
      value: 'Bearer {{env.JUSTWORKS_ACCESS_TOKEN}}'
      placement: header
  exposes:
  - type: mcp
    namespace: deductions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Justworks Deductions API.
    tools:
    - name: justworks-list-deduction-types
      description: Justworks List Deduction Types
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: deductions.listdeductiontypes
      outputParameters:
      - type: object
        mapping: $.
    - name: justworks-list-deductions
      description: Justworks List Deductions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: deductions.listdeductions
      outputParameters:
      - type: object
        mapping: $.
    - name: justworks-create-deductions
      description: Justworks Create Deductions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: deductions.createdeductions
      outputParameters:
      - type: object
        mapping: $.
    - name: justworks-update-deductions
      description: Justworks Update Deductions
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: deductions.updatedeductions
      outputParameters:
      - type: object
        mapping: $.
    - name: justworks-cancel-deductions
      description: Justworks Cancel Deductions
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: deductions.canceldeductions
      outputParameters:
      - type: object
        mapping: $.