FDX REST API
/tax-forms/{taxFormId} PUT
| Attribute | Value |
|---|---|
| Summary | Update tax form |
| Description | Update tax document. Allows you to upload and replace binaries or json document |
| Operation Id | updateTaxForm |
Request Parameters
| Parameter | Required? | Location | Type | Description |
|---|---|---|---|---|
| taxFormId | required | path | Identifier | The unique ID for this tax form or tax statement |
| Authorization | required | header | string | The [Authorization HTTP request header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization) provides credentials to allow access to a protected resources |
| x-fapi-interaction-id | required | header | FapiInteractionId | Unique identifier for this interaction |
| FDX-API-Actor-Type | optional | header | ActorType | Identifies whether the customer is present (USER) or it is a BATCH operation |
| FDX-API-Data-Provider-Id | optional | header | Identifier | ID for the financial institution responding to the request |
Request Body
| Media Type | Content | Description |
|---|---|---|
| application/json | TaxStatement | |
| application/pdf | string | The document image to upload as pdf |
| image/gif | string | The document image to upload as gif |
| image/jpeg | string | The document image to upload as jpeg |
| image/tiff | string | The document image to upload as tiff |
| image/png | string | The document image to upload as png |
Response
| Response Code | Response Type | Description |
|---|---|---|
| 200 | Ok | |
| 206 | application/json of TaxStatement | Partial Content success updating customer tax document, some errors are being returned |
| 415 | application/json of Error | Server does not support the content type uploaded |