API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Payroll
addSupplementalPayPeriod
Add Supplemental Pay Endpoint
Utilize this endpoint when you need to add supplemental pay for an employee within the company.
POST
/
payroll#addSupplementalPayPeriod
curl --request POST \
--url 'https://sandbox.rollfi.xyz/payroll#addSupplementalPayPeriod' \
--header 'Content-Type: application/json' \
--data '{
"method": "addSupplementalPayPeriod",
"payPeriod": {
"companyId": "3c62037a-2bac-4910-839d-5c803f0d4f0a",
"payPeriodType": "Missing",
"workerType": "W2",
"payBeginDate": "2023-11-12",
"payEndDate": "2023-12-10",
"payDate": "2023-12-10"
}
}'
{
"payPeriod": {
"payPeriodId": "91384C53-089C-42E9-8CB0-59978AF46DEA",
"status": "New",
"message": "Supplemental PayPeriod for Prism Ltd has been saved successfully."
}
}
Body
application/json
Response
200
application/json
The response is of type object
.
curl --request POST \
--url 'https://sandbox.rollfi.xyz/payroll#addSupplementalPayPeriod' \
--header 'Content-Type: application/json' \
--data '{
"method": "addSupplementalPayPeriod",
"payPeriod": {
"companyId": "3c62037a-2bac-4910-839d-5c803f0d4f0a",
"payPeriodType": "Missing",
"workerType": "W2",
"payBeginDate": "2023-11-12",
"payEndDate": "2023-12-10",
"payDate": "2023-12-10"
}
}'
{
"payPeriod": {
"payPeriodId": "91384C53-089C-42E9-8CB0-59978AF46DEA",
"status": "New",
"message": "Supplemental PayPeriod for Prism Ltd has been saved successfully."
}
}
Assistant
Responses are generated using AI and may contain mistakes.