cURL
curl --request PUT \ --url 'https://sandbox.rollfi.xyz/userOnboarding#updateW4Information' \ --header 'Authorization: Basic <encoded-value>' \ --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 } }'
{ "w4Information": { "userId": "e066e305-3816-4b06-8576-50d2502be436", "status": "Ready", "message": "The W4Information has been updated successfully." } }
Use the below endpoint to update the W4 Information
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The response is of type object.
object