| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

Deletes a contractor payment for a given contractorPaymentID. Can only delete contractor payments that are pending.

## Returns   [Skip link to Returns](https://docs.zeal.com/reference/delete-contractor-payment#returns)

Returns response status and a corresponding message validating the success of contractor payment deletion.

| attribute | type | description |
| --- | --- | --- |
| success | boolean | Response status |
| data | object | Confirmation message of successful deletion |
| errors | array | If `success` is false, errors contains a list of error objects.<br> Show child attributes <br>**message**<br>type: string<br>description: Error message<br>**status**<br>type: number<br>description: HTTP response code<br>**code**<br>type: number<br>description: Error code (see [Error codes](https://docs.zeal.com/reference/error-codes) ) |

companyID

string

required

ID of the company

contractorPaymentID

string

required

ID of the corresponding contractor payment

# ``200      200

# ``400      400

ShellNodeRubyPHPPython

```

xxxxxxxxxx

curl --request DELETE \

--url https://api.zeal.com/contractorPayment \

--header 'accept: application/json'
```

application/json

``200 - Result``400 - Result
