POST
/
userOnboarding#addW4Information
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/userOnboarding#addW4Information' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "addW4Information",
  "w4Information": {
    "userId": "D9363C3E-91D4-4B04-ACE4-41509B306844",
    "w4FilingStatus": "Head of household",
    "haveMultipleJob": true,
    "dependents": 3,
    "dependentsAbove18": 2,
    "otherIncome": 1500,
    "otherDeduction": 150,
    "extraWithholding": 10
  }
}'
{
  "w4Information": {
    "userId": "D9363C3E-91D4-4B04-ACE4-41509B306844",
    "status": "Ready",
    "message": "The W4Information for jacob king has been saved successfully."
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Response

200
application/json

The response is of type object.