Justworks Paystubs API

Read access to per-member paystubs

Operations 2

GET /v1/payrolls/{payroll_id}/paystubs Justworks List Paystubs For Payroll #
GET /v1/paystubs/{paystub_id} Justworks Get Paystub #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/justworks-paystubs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

justworks-paystubs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Justworks Company Paystubs API
  description: 'Read company-level data from the Justworks Partner API including

    company identity, bank account on file, verified business information,

    custom field definitions, and operating jurisdictions.

    '
  version: '2026-05-25'
  contact:
    name: Justworks Partner Support
    url: https://public-api.justworks.com/v1/docs
servers:
- url: https://public-api.justworks.com
  description: Production Server
security:
- OAuth2: []
tags:
- name: Paystubs
  description: Read access to per-member paystubs
paths:
  /v1/payrolls/{payroll_id}/paystubs:
    get:
      summary: Justworks List Paystubs For Payroll
      description: List per-member paystub summaries for a payroll run.
      operationId: listPaystubsForPayroll
      tags:
      - Paystubs
      parameters:
      - $ref: '#/components/parameters/PayrollId'
      - $ref: '#/components/parameters/Cursor'
      - $ref: '#/components/parameters/Limit'
      responses:
        '200':
          description: A paginated list of paystub summaries
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/PaystubSummary'
                  next_cursor:
                    type: string
                    nullable: true
  /v1/paystubs/{paystub_id}:
    get:
      summary: Justworks Get Paystub
      description: Retrieve a single paystub including earnings, employee deductions, and employer contributions.
      operationId: getPaystub
      tags:
      - Paystubs
      parameters:
      - name: paystub_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: A paystub with detail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Paystub'
components:
  schemas:
    LineItem:
      type: object
      properties:
        name:
          type: string
        type:
          type: string
        amount:
          type: integer
        category:
          type: string
        currency:
          type: string
    PaystubSummary:
      type: object
      properties:
        member_id:
          type: string
        paystub_id:
          type: string
        gross_pay:
          type: integer
        net_pay:
          type: integer
        currency:
          type: string
        pay_date:
          type: string
          format: date
        pay_group:
          type: string
        pay_period_end:
          type: string
          format: date
        pay_period_start:
          type: string
          format: date
    Paystub:
      type: object
      properties:
        member_id:
          type: string
        paystub_id:
          type: string
        gross_pay:
          type: integer
        net_pay:
          type: integer
        currency:
          type: string
        pay_date:
          type: string
          format: date
        pay_group:
          type: string
        pay_period_end:
          type: string
          format: date
        pay_period_start:
          type: string
          format: date
        earnings:
          type: array
          items:
            $ref: '#/components/schemas/LineItem'
        employee_deductions:
          type: array
          items:
            $ref: '#/components/schemas/LineItem'
        employer_contributions:
          type: array
          items:
            $ref: '#/components/schemas/LineItem'
  parameters:
    Cursor:
      name: cursor
      in: query
      schema:
        type: string
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 100
    PayrollId:
      name: payroll_id
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://secure.justworks.com/oauth/authorize
          tokenUrl: https://public-api.justworks.com/oauth/token
          refreshUrl: https://public-api.justworks.com/oauth/token
          scopes:
            company.basic:read: Read basic company data
            company.detail:read: Read detailed company data
            company.bank_account:read: Read company bank account on file