v1
latestOpenAPI 3.1.02026-07-2414339465.7 KBCopy of Copy of Copy of
patch/payment-items
Request body
companyIDstring required
ID of company
paymentItemIDstring required
ID of payment item
contractorPaymentIDstring
ID of contractor payment that this payment item will be added to
earning_type'hourly' | 'per_unit' | 'flat_fee' | 'expense_reimbursement' | 'bonus'
Note: earning_type cannot be changed from rate-based to fixed amount or vice versa.
quantitynumber float
Only required if earning_type is hourly or per_unit
ratenumber float
Only required if earning_type is hourly or per_unit
bill_ratenumber float
Only applicable if earning_type is hourly or per_unit
gross_amountnumber float
Only required if earning_type is flat_fee, expense_reimbursement, or bonus
bill_amountstring
Only applicable if earning_type is flat_fee, expense_reimbursement, or bonus
Response
successboolean
dataobject
Contains Payment Item object
testModeboolean