Workday Payroll · JSON Structure

Payroll Create Pay Run Request Structure

CreatePayRunRequest schema from Workday Payroll API

Type: object Properties: 4 Required: 2
CompensationEnterpriseHuman ResourcesPayrollSaaSTax

CreatePayRunRequest is a JSON Structure definition published by Workday Payroll, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

payGroupId payPeriod runCategory paymentDate

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-create-pay-run-request-structure.json",
  "name": "CreatePayRunRequest",
  "description": "CreatePayRunRequest schema from Workday Payroll API",
  "type": "object",
  "properties": {
    "payGroupId": {
      "type": "string",
      "description": "Identifier of the pay group for this run",
      "example": "pg_weekly_usd"
    },
    "payPeriod": {
      "$ref": "#/$defs/PayPeriod"
    },
    "runCategory": {
      "type": "string",
      "enum": [
        "Regular",
        "OffCycle",
        "OnDemand"
      ],
      "default": "Regular",
      "description": "Category of the pay run",
      "example": "Regular"
    },
    "paymentDate": {
      "type": "date",
      "description": "Desired payment date",
      "example": "2026-04-30"
    }
  },
  "required": [
    "payGroupId",
    "payPeriod"
  ],
  "definitions": {
    "PayPeriod": {
      "name": "PayPeriod",
      "type": "object",
      "properties": {
        "startDate": {
          "type": "date",
          "description": "Start date of the pay period",
          "example": "2026-04-30"
        },
        "endDate": {
          "type": "date",
          "description": "End date of the pay period",
          "example": "2026-04-30"
        }
      }
    }
  }
}