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
  }
}'
{
  "1": {
    "summary": "Success",
    "value": {
      "w4Information": {
        "userId": "e066e305-3816-4b06-8576-50d2502be436",
        "status": "Ready",
        "message": "The W4Information has been updated successfully."
      }
    }
  }
}

Body

application/json
method
string
default: updateW4Informationrequired
w4Information
object
required

Response

200 - application/json
w4Information
object
required