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

#### URL Expired

The URL for this request expired after 30 days.

Payment items represent individual line items within a contractor payment. Payment items can only be added to a contractor payment with a status of `pending`.

### Parameters

- **companyID**  
  *Type:* string  
  *Required:* Yes  
  *Description:* ID of company

- **contractorID**  
  *Type:* string  
  *Required:* Yes  
  *Description:* ID of contractor

- **contractorPaymentID**  
  *Type:* string  
  *Required:* Yes  
  *Description:* ID of contractor payment that this payment item will be added to

- **work_info**  
  *Type:* object  
  *Description:* Work information object

- **earning_type**  
      *Type:* string  
      *Enum:* hourly, per_unit, flat_fee, expense_reimbursement, bonus  
      *Allowed values:* `hourly`, `per_unit`, `flat_fee`, `expense_reimbursement`, `bonus`

- **quantity**  
      *Type:* float  
      *Description:* Only required if `earning_type` is `hourly` or `per_unit`

- **rate**  
      *Type:* float  
      *Description:* Only applicable if `earning_type` is `hourly` or `per_unit`

- **bill_rate**  
      *Type:* float  
      *Description:* Only applicable if `earning_type` is `hourly` or `per_unit`

- **gross_amount**  
      *Type:* float  
      *Description:* Only applicable if `earning_type` is `flat_fee`, `expense_reimbursement`, or `bonus`

- **bill_amount**  
      *Type:* float  
      *Description:* Only applicable if `earning_type` is `flat_fee`, `expense_reimbursement`, or `bonus`

### Example Request

```
curl --request POST \
     --url https://api.zeal.com/payment-items \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

### Response

```
200 - New Example
```

**Updated:** 4 months ago
