Delete
Delete
Use this endpoint to delete a W-9 form record and its associated data. This is useful for removing test records, deleting incorrectly created records, or supporting your data retention process.
Deletion is permanent and cannot be undone.
Key points
- Only W-9 form records that have not been used in a filed 1099 or 1042-S return can be deleted.
- If the W-9 form was linked to multiple payers, the associated payer links will also be removed.
DELETE FormW9/Delete Request Params
| Field | Type | Description |
|---|---|---|
| SubmissionId | Guid | A unique identifier of the submission. |
| PayeeRef | String | A Unique identifier of the recipient. (Either PayeeRef or Email is required) Size Range: 1-50 |
| String | Email address of the recipient. Size Range: 1-50 |
Response Body
| Field | Type | Description |
|---|---|---|
| FormW9Records | Object[] | Details of the W-9s requested to be deleted. |
| SubmissionId | Guid | A Unique identifier of the submission |
| PayeeRef | String | A Unique identifier of the recipient |
| String | Email Address of the recipient. | |
| W9Status | String | Status of the W-9 |
| StatusTs | String | Timestamp of the W-9 Status |
| Errors | Object[] | Detailed error information. |
| Id | string | Error ID number. This ID is assigned by TaxBandits and it is unique for each error. |
| Name | string | Name of the errored node. |
| Message | string | Shows the error message |
Request Params
- Sample 1
- Sample 2
- Sample 3
- Sample 4
Delete a recipient with SubmissionId
FormW9/Delete?SubmissionId=019c8aec-41fe-4b80-883a-441665dc004a
Delete a recipient with PayeeRef
FormW9/Delete?PayeeRef=Pe123451234
Delete a recipient with Email
FormW9/Delete?Email=steve@abcinc.com
Delete a recipient with SubmissionId [Invalid]
FormW9/Delete?SubmissionId=019c8aec-41fe-4b80-883a-441665dc0033&Email=steve@abcinc.com
Response JSON
- 200
- 400
- 404
Success Response - This is a sample response for successful API requests.
{
"FormW9Records": [
{
"SubmissionId": "019c8aec-41fe-4b80-883a-441665dc004a",
"PayeeRef": "Pe123451234",
"Email": "mark@sample.com",
"W9Status": "DELETED",
"StatusTs": "2025-02-22 04:24:09 -05:00"
}
],
"Errors": null
}
Bad Request Response - You'll get the below response when your API requests contain any validation errors.
{
"FormW9Records": null,
"Errors": [
{
"Id": "F08-100022",
"Name": "Email",
"Message": "Invalid Email address."
}
]
}
{
"FormW9Records": null,
"Errors": [
{
"Id": "F00-100198",
"Name": "NotFound",
"Message": "No records found"
}
]
}