API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Payroll
ImportPayrollDetails
POST
/
payroll#importPayrollDetails
curl --request POST \
--url 'https://sandbox.rollfi.xyz/payroll#importPayrollDetails' \
--header 'Content-Type: application/json' \
--data '{
"method": "importPayrollData",
"companyId": "344C45C5-A355-4D72-A7F7-531F3F235CBC",
"payPeriodId": "EE4C5F6B-F7A7-47D7-B9E7-30A0C27AA1B3",
"PayrollImportData": [
{
"userId": "6154CE13-D53D-4700-8B43-1D8FB5402ED3",
"firstName": "Calvin",
"lastName": "Stuart",
"payRate": 60,
"payHours": 40,
"amount": 2400
},
{
"userId": "53EC6338-266C-400C-9B59-43A9BCFDAF09",
"firstName": "Devon",
"lastName": "Williams",
"payRate": 20,
"payHours": 40,
"amount": 800
},
{
"userId": "B6640AFE-DEC9-47A3-AD15-F79F012F44B0",
"firstName": "Jaxen",
"lastName": "Barker",
"payRate": 60,
"payHours": 40,
"amount": 2400
},
{
"userId": "8B7FEEE8-7E4C-4A99-A35C-3CCE6D5DF735",
"firstName": "Kaiser Gilbert",
"lastName": "Gilbert",
"payRate": 60,
"payHours": 40,
"amount": 2400
},
{
"userId": "46104DAA-DD4F-4342-868A-D41FA188ED8F",
"firstName": "Karsyn",
"lastName": "Cole",
"payRate": 60,
"payHours": 40,
"amount": 2400
}
]
}'
{
"summary": "Success",
"value": {
"payrollDocument": {
"payrollDocumentId": "BB14339E2-7AA6-4431-9BE7-73FCFBB4EC82",
"status": "Pending",
"message": "Imported Payroll Data Successfully, Tax Calculation is in Progress "
}
}
}
Body
application/json
Available options:
Cash
, Group Term Life Over $50000
, Bonus
, Stock Options
, Educational Asst (Job Related)
, Educational Asst (Non-job Related)
, Adoption Assistance
, Qualified Moving Expenses Reimbursements
, Van Pool & Transit Passes
, Qualified Parking
, Reported Tips
, HSA(125)
, HSA
, Invalid 409A Deferral
, 409A Distribution
, ER STD 125 plan
, ER LTD 125 plan
, Agent STD 125 plan
, Agent LTD 125 plan
, 3rd Party STD 125 plan
, 3rd Party LTD 125 plan
, Golden Parachute
, Domestic Partner Benefit Non-Dependent
, Domestic Partner Benefit Dependent
, Adult Child Health Coverage
, Meals for the convenience of ER
, Military Differential Pay
, Same sex marriage spousal health care
, Severance Pay
, Severance Pay Required by law or contract
, Deceased Worker Pay
, Clergy Housing Allowance
, Expanded Family and Medical Leave
, Emergency Paid Sick Leave
, S Corp 2% Shareholder Insurance Premiums
, Phone Reimbursement
, Well-Being Stipend
Available options:
Qualified Parking Sup
, Vanpool and Transit Passes Sup
, CN at Source Sup
, 457CU Increased Limit Sup
, 403B CU 15 year Sup
, 403B CU2 Over 50 Sup
, 457 Deferral Sup
, CN RPP
, Short Term Disability (STD) Insurance
, Life Insurance - Spouse
, Accident Insurance
, Vision Insurance (Employee Contribution)
, 125DC Sup
, 457 Deferral Reg
, 408P CU2 Over 50 Sup
, CN at Source
, 403B Deferral Sup
, 401K Deferral Sup
, 403B CU2 Over 50 Reg
, Qualified Parking Reg
, 125Adoption Assistance Sup
, 125FSA Reg
, Insurance Benefits Sup
, CN RRSP Sup
, 408K CU2 Over 50 Sup
, 125Adoption Assistance Reg
, Traditional IRA Employee Contribution
, Life Insurance
, 403B Deferral Reg
, 125DC Reg
, 125HSA CU Reg
, 125HSA Reg
, CN RPP Sup
, 408K Deferral Reg
, Roth 401K Reg
, Vanpool and Transit Passes Reg
, CN Union Dues
, Insurance Benefits Reg
, 125HSA Sup
, 409A Deferral Reg
, CN RRSP Reg
, Other Supplemental Insurance
, 401K Deferral Reg
, Dental Insurance (Employee Contribution)
, Critical Illness Insurance
, Roth 401K Sup
, 408P CU2 Over 50 Reg
, 408P Deferral Sup
, Hospital Indemnity Insurance
, 457 CU2 Over 50 Reg
, 408K Deferral Sup
, Roth 401K Employee Contribution
, 125HSA CU Sup
, 408P Deferral Reg
, Medical Insurance (Employee Contribution)
, CN Union Dues Sup
, 457 CU2 Over 50 Sup
, 408K CU2 Over 50
, 401K CU2 Over 50 Reg
, 457CU Increased Limit Reg
, Long Term Disability (LTD) Insurance
, Life Insurance - Child
, 403B CU 15 year Reg
, 125FSA Sup
, 401K CU2 Over 50 Sup
, 409A Deferral Sup
curl --request POST \
--url 'https://sandbox.rollfi.xyz/payroll#importPayrollDetails' \
--header 'Content-Type: application/json' \
--data '{
"method": "importPayrollData",
"companyId": "344C45C5-A355-4D72-A7F7-531F3F235CBC",
"payPeriodId": "EE4C5F6B-F7A7-47D7-B9E7-30A0C27AA1B3",
"PayrollImportData": [
{
"userId": "6154CE13-D53D-4700-8B43-1D8FB5402ED3",
"firstName": "Calvin",
"lastName": "Stuart",
"payRate": 60,
"payHours": 40,
"amount": 2400
},
{
"userId": "53EC6338-266C-400C-9B59-43A9BCFDAF09",
"firstName": "Devon",
"lastName": "Williams",
"payRate": 20,
"payHours": 40,
"amount": 800
},
{
"userId": "B6640AFE-DEC9-47A3-AD15-F79F012F44B0",
"firstName": "Jaxen",
"lastName": "Barker",
"payRate": 60,
"payHours": 40,
"amount": 2400
},
{
"userId": "8B7FEEE8-7E4C-4A99-A35C-3CCE6D5DF735",
"firstName": "Kaiser Gilbert",
"lastName": "Gilbert",
"payRate": 60,
"payHours": 40,
"amount": 2400
},
{
"userId": "46104DAA-DD4F-4342-868A-D41FA188ED8F",
"firstName": "Karsyn",
"lastName": "Cole",
"payRate": 60,
"payHours": 40,
"amount": 2400
}
]
}'
{
"summary": "Success",
"value": {
"payrollDocument": {
"payrollDocumentId": "BB14339E2-7AA6-4431-9BE7-73FCFBB4EC82",
"status": "Pending",
"message": "Imported Payroll Data Successfully, Tax Calculation is in Progress "
}
}
}