API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
User Onboarding
UpdateW4Information
PUT
/
userOnboarding#updateW4Information
curl --request PUT \
--url 'https://sandbox.rollfi.xyz/userOnboarding#updateW4Information' \
--header 'Content-Type: application/json' \
--data '{
"method": "updateW4Information",
"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": 10
}
}'
{
"summary": "Success",
"value": {
"w4Information": {
"userId": "e066e305-3816-4b06-8576-50d2502be436",
"status": "Ready",
"message": "The W4Information has been updated successfully."
}
}
}
Body
application/json
Example:
["updateW4Information"]
Available options:
Single
, Married filing jointly
, Head of household
, Married Qualifying widow(er)
, Married Filing Separately
curl --request PUT \
--url 'https://sandbox.rollfi.xyz/userOnboarding#updateW4Information' \
--header 'Content-Type: application/json' \
--data '{
"method": "updateW4Information",
"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": 10
}
}'
{
"summary": "Success",
"value": {
"w4Information": {
"userId": "e066e305-3816-4b06-8576-50d2502be436",
"status": "Ready",
"message": "The W4Information has been updated successfully."
}
}
}