Update Payment Item
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Payment items can only be updated when the parent contractor payment status is pending.
Parameters
companyID
Type: string
Required: Yes
Description: ID of companypaymentItemID
Type: string
Required: Yes
Description: ID of payment itemcontractorPaymentID
Type: string
Description: ID of contractor payment that this payment item will be added towork_info
Type: objectearning_type
Type: string
Enum:- hourly
- per_unit
- flat_fee
- expense_reimbursement
- bonus
Note: earning_type cannot be changed from rate-based to fixed amount or vice versa.
quantity
Type: float
Description: Only required ifearning_typeishourlyorper_unitrate
Type: float
Description: Only required ifearning_typeishourlyorper_unitbill_rate
Type: float
Description: Only applicable ifearning_typeishourlyorper_unitgross_amount
Type: float
Description: Only required ifearning_typeisflat_fee,expense_reimbursement, orbonusbill_amount
Type: string
Description: Only applicable ifearning_typeisflat_fee,expense_reimbursement, orbonus
Example Request
curl --request PATCH \
--url https://api.zeal.com/payment-items \
--header 'accept: application/json' \
--header 'content-type: application/json'
Example Response
HTTP Status Code: 200
Message: Updated 4 months ago