API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
User Onboarding
AddW4Information
POST
/
userOnboarding#addW4Information
curl --request POST \
--url 'https://sandbox.rollfi.xyz/userOnboarding#addW4Information' \
--header 'Content-Type: application/json' \
--data '{
"method": "addW4Information",
"w4Information": {
"userId": "e066e305-3816-4b06-8576-50d2502be436",
"w4FilingStatus": "Head of household",
"haveMultipleJob": true,
"dependents": 3,
"dependentsAbove18": 2,
"otherIncome": 1500,
"otherDeduction": 150,
"extraWithholding": 10,
"hasMiltarySpouseExemption": false,
"stateAdditionalDeduction": 12,
"isNonResident": false,
"azDeductionPercent": 0
}
}'
{
"summary": "Success",
"value": {
"w4Information": {
"userId": "e066e305-3816-4b06-8576-50d2502be436",
"status": "Ready",
"message": "The W4Information for jacob king has been saved successfully."
}
}
}
Body
application/json
Example:
["addW4Information"]
Available options:
Single
, Married filing jointly
, Head of household
, Married Qualifying widow(er)
, Married Filing Separately
curl --request POST \
--url 'https://sandbox.rollfi.xyz/userOnboarding#addW4Information' \
--header 'Content-Type: application/json' \
--data '{
"method": "addW4Information",
"w4Information": {
"userId": "e066e305-3816-4b06-8576-50d2502be436",
"w4FilingStatus": "Head of household",
"haveMultipleJob": true,
"dependents": 3,
"dependentsAbove18": 2,
"otherIncome": 1500,
"otherDeduction": 150,
"extraWithholding": 10,
"hasMiltarySpouseExemption": false,
"stateAdditionalDeduction": 12,
"isNonResident": false,
"azDeductionPercent": 0
}
}'
{
"summary": "Success",
"value": {
"w4Information": {
"userId": "e066e305-3816-4b06-8576-50d2502be436",
"status": "Ready",
"message": "The W4Information for jacob king has been saved successfully."
}
}
}