Pay Items

Retrieve pay item

Changed on

Endpoint for retrieving a single pay item.

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

Request

  • Base URL
    https://api.wafeq.com/v1
  • URL
    https://api.wafeq.com/v1/payslips/{payslip_id}/pay-items/{id}/
  • Auth
    API key in header Authorization

Path parameters

payslip_idstring required
idstring required

Query parameters

expandstring

Comma-separated related objects to return in full instead of as IDs. Accepted values: account, account.parent, cost_center. Nested relations are joined with a dot.

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

Changes