POST
/
payroll#addSupplementalPayrollLineItem
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/payroll#addSupplementalPayrollLineItem' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "addSupplementalPayrollLineItem",
  "payrollLineItem": {
    "payPeriodId": "00b8b220-f329-4554-bd7b-d0ef53fc0542",
    "companyId": "8D728FCE-2993-42E0-8797-832C930506E1",
    "userId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b",
    "amount": 10
  }
}'
{
  "summary": "Success",
  "value": {
    "payrollLineItem": {
      "employeeId": "30da3ca7-8b39-4a3c-8ab9-050f17fbcb3b",
      "status": "Ready",
      "message": "The PayrollLineItem for Nelson John has been saved successfully."
    }
  }
}

Body

application/json
method
string
required
Example:
["addSupplementalPayrollLineItem"]
payrollLineItem
object
required

Response

200
application/json
payrollLineItem
object
required