Configure payroll webhooks
documentedReceive event notifications for payroll-related changes (e.g., payslips, employee changes).
POST /webhooks/payrollPayrollno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$webhook_host}}/webhooks/payroll" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"webhookEvent": {"id": "{{$webhook_id}}", "event": "PayslipCreated", "timestamp": "{{$timestamp}}", "payload": {"payslipId": "{{$payslip_id}}", "employeeRef": {"value": "{{$employee_id}}"}, "payPeriod": "{{$pay_period}}", "amount": {{$amount}}}}}'