Skip to main content
POST
/
payroll#addPaySchedule
addPaySchedule
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#addPaySchedule' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "<string>",
  "paySchedule": {
    "companyId": "<string>",
    "workerType": "<string>",
    "standardWorkingHours": 123,
    "compensationFrequency": "<string>",
    "payBeginDate": "<string>",
    "payDate": "<string>",
    "paymentMode": "<string>"
  }
}
'
{
  "paySchedule": {
    "payScheduleId": "<string>",
    "status": "<string>",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
paySchedule
object
required

Response

paySchedule
object
required