POST
/
payroll#initiatePayroll
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#initiatePayroll' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "initiatePayroll",
  "companyId": "8D728FCE-2993-42E0-8797-832C930506E1",
  "payPeriodId": "F4C96CCA-24D4-4DF4-B624-1544989F7D21"
}'
{
  "summary": "Success",
  "value": {
    "payPeriod": {
      "payPeriodId": "3b51b98b-2915-4854-b87c-f7952ef086ec",
      "status": "New",
      "message": "The PayPeriod has been initiated successfully."
    }
  }
}

Body

application/json
method
string
required
companyId
string
required
payPeriodId
string
required

Response

200
application/json
payPeriod
object
required