v1

latestOpenAPI 3.1.12026-07-24260246894.7 KB
Pay Items

Partial update pay item

Endpoint for partially updating an existing pay item.

patch/payslips/{payslip_id}/pay-items/{id}/

Path parameters

payslip_idstring required
idstring required

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

accountstring

The account associated with this pay item.

amountnumber double

The unit amount for the pay item.

cost_centerstring nullable

The cost center associated with this pay item.

created_tsstring date-time

The timestamp in UTC when the pay item was created

descriptionstring

The line item description for the pay item.

idstring

The unique identifier of the pay item.

legacy_idstring

[Deprecated] The legacy identifier of the pay item.

modified_tsstring date-time

The timestamp in UTC when the pay item was last modified

Response

accountstring required

The account associated with this pay item.

amountnumber double required

The unit amount for the pay item.

cost_centerstring nullable

The cost center associated with this pay item.

created_tsstring date-time required

The timestamp in UTC when the pay item was created

descriptionstring required

The line item description for the pay item.

idstring required

The unique identifier of the pay item.

legacy_idstring required

[Deprecated] The legacy identifier of the pay item.

modified_tsstring date-time required

The timestamp in UTC when the pay item was last modified