POST
/
payroll#addPaySchedule
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#addPaySchedule' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "addPaySchedule",
  "paySchedule": {
    "companyId": "3199E230-A3D8-4205-AD04-DEB7D9B7B9C2",
    "payBeginDate": "2023-12-09",
    "standardWorkingHours": 8,
    "workerType": "1099-NEC",
    "compensationFrequency": "BiWeekly",
    "option": 1
  }
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "paySchedule": {
        "payScheduleId": "6BCD7D75-0E02-4C62-B50C-74267FB2E462",
        "status": "New",
        "message": "PayPeriod for Prism  has been added successfully"
      }
    }
  }
}

Body

application/json
method
string
required
paySchedule
object
required

Response

200 - application/json
paySchedule
object
required