API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Payroll
importRegularPayrollLData
POST
/
payroll#importRegularPayrollLData
curl --request POST \
--url 'https://sandbox.rollfi.xyz/payroll#importRegularPayrollLData' \
--header 'Content-Type: application/json' \
--data '{
"method": "importRegularPayrollLData",
"companyId": "582C407F-4398-4F0A-AF67-4363D7CD7795",
"payPeriodId": "0ECF3C90-C589-40B4-83B6-B7AFCCF5D2E0",
"payrollData": [
{
"userId": "377213DD-AF45-4FB1-ABEE-5F11BDE2C437",
"basicPay": {
"payHours": 32
},
"unPaidLeave": {
"noOfHours": 4
},
"overTime": [],
"additionalCompensation": [
{
"description": "Bonus",
"amount": 60
},
{
"description": "Van Pool & Transit Passes",
"amount": 60
}
],
"deductions": [
{
"description": "Qualified Parking Sup",
"amount": 120
}
],
"reimbursements": [
{
"reimbursementType": "GYM",
"amount": 120
}
]
}
]
}'
{
"importRegularPayrollLData": {
"status": "Ready",
"message": "Imported Payroll Data Successfully"
}
}
Body
application/json
Response
200
application/json
The response is of type object
.
curl --request POST \
--url 'https://sandbox.rollfi.xyz/payroll#importRegularPayrollLData' \
--header 'Content-Type: application/json' \
--data '{
"method": "importRegularPayrollLData",
"companyId": "582C407F-4398-4F0A-AF67-4363D7CD7795",
"payPeriodId": "0ECF3C90-C589-40B4-83B6-B7AFCCF5D2E0",
"payrollData": [
{
"userId": "377213DD-AF45-4FB1-ABEE-5F11BDE2C437",
"basicPay": {
"payHours": 32
},
"unPaidLeave": {
"noOfHours": 4
},
"overTime": [],
"additionalCompensation": [
{
"description": "Bonus",
"amount": 60
},
{
"description": "Van Pool & Transit Passes",
"amount": 60
}
],
"deductions": [
{
"description": "Qualified Parking Sup",
"amount": 120
}
],
"reimbursements": [
{
"reimbursementType": "GYM",
"amount": 120
}
]
}
]
}'
{
"importRegularPayrollLData": {
"status": "Ready",
"message": "Imported Payroll Data Successfully"
}
}
Assistant
Responses are generated using AI and may contain mistakes.