> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rollfi.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Pay Schedule Webhooks Overview

## Pay Schedule Webhooks

* **Overview:** This webhook reflects changes to a company's pay schedule activation state. It is emitted when a pay schedule is created or when its active state changes.

***

## Pay Schedule IsActive Webhook

### Events

* `payschedule.paysheduleisactive.insert` - emitted when a pay schedule record is first created.
* `payschedule.paysheduleisactive.update` - emitted when the pay schedule active state changes.

### Statuses

The `status` field indicates whether the pay schedule is currently active.

| Value      | Description                                                          |
| ---------- | -------------------------------------------------------------------- |
| `active`   | The pay schedule is active and currently in effect.                  |
| `inactive` | The pay schedule is inactive (for example, deactivated or replaced). |

> **Note:** The update webhook is emitted when pay schedule activation changes.

### Example Payload

```json theme={null}
{
  "trigger": {
    "eventId": "2f197136-4aa0-4c50-9aaf-4f66d943bb80",
    "eventType": "payschedule.paysheduleisactive.insert",
    "eventTimeStamp": "07/08/2026 21:50:02"
  },
  "payload": [
    {
      "paySchedule": [
        {
          "payScheduleId": "E6BCE1EB-0300-4E48-916A-435D35CED082",
          "payBeginDate": "2026-07-01",
          "payDate": "2026-08-03",
          "deadlineToRunPayroll": "2026-07-30",
          "standardWorkingHours": 8.0,
          "workerType": {
            "workerType": "1099-NEC"
          },
          "compensationFrequency": {
            "compensationFrequency": "BiWeekly"
          },
          "paymentMode": {
            "paymentMode": "Self-Initiated"
          },
          "status": "active"
        }
      ]
    }
  ]
}
```
