Skip to main content
POST
Create Payment Item
Creates a new Payment Item and adds it to a contractor payment. Payment items can only be added to a contractor payment with the status pending.

Authorizations

Authorization
string
header
required

Body

application/json
companyID
string
required

ID of company

contractorID
string
required

ID of contractor

contractorPaymentID
string
required

ID of contractor payment that this payment item will be added to

work_info
object
earning_type
enum<string>
Available options:
hourly,
per_unit,
flat_fee,
expense_reimbursement,
bonus
quantity
number<float>

Only required if earning_type is hourly or per_unit

rate
number<float>

Only applicable if earning_type is hourly or per_unit

bill_rate
number<float>

Only applicable if earning_type is hourly or per_unit

gross_amount
number<float>

Only applicable if earning_type is flat_fee, expense_reimbursement, or bonus

bill_amount
number<float>

Only applicable if earning_type is flat_fee, expense_reimbursement, or bonus

Response

200 - application/json
success
boolean
data
object

Contains Payment Item object

testMode
boolean