API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Payroll
Addsupplementalpayperiod
POST
/
payroll#addSupplementalPayPeriod
Copy
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"
}
}'
Copy
{
"summary": "Success",
"value": {
"payPeriod": {
"payPeriodId": "91384C53-089C-42E9-8CB0-59978AF46DEA",
"status": "New",
"message": "Supplemental PayPeriod for Prism Ltd has been saved successfully."
}
}
}
Body
application/json
Example:
["addSupplementalPayPeriod"]
Available options:
Missing
, Dismissal
, Off-Cycle
Available options:
W2
, 1099 -NEC
Maximum length:
10
Maximum length:
10
Maximum length:
10
Copy
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"
}
}'
Copy
{
"summary": "Success",
"value": {
"payPeriod": {
"payPeriodId": "91384C53-089C-42E9-8CB0-59978AF46DEA",
"status": "New",
"message": "Supplemental PayPeriod for Prism Ltd has been saved successfully."
}
}
}