Copy PagePartial update pay itempatchhttps://api.wafeq.com/v1/payslips/{payslip_id}/pay-items/{id}/Endpoint for partially updating an existing pay item.Path Paramspayslip_idstringrequiredidstringrequiredQuery ParamsexpandstringComma-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.Body Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA pay item of a payslip, such as a salary component or deduction.accountstringThe account associated with this pay item.amountdoubleThe unit amount for the pay item.cost_centerstring | nullThe cost center associated with this pay item.descriptionstringThe line item description for the pay item.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestX-Wafeq-OrganizationstringThe id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.content-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse200Updated about 2 months agoRetrieve pay itemUpdate pay item