Skip to main content
PUT
Update a specific pay element by ID

Authorizations

X-Auth-Token
string
header
required

Access token obtained from OAuth2 client credentials flow

X-Org-Id
string
header
required

Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).

Headers

Request-Id
string

Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.

Path Parameters

payElementId
string
required

The ID of the pay element to update

Body

application/json

The body of a pay element update: its settings. The pay element is the one the path names.

description
string
required

The description of the pay element

Example:

"Basic Salary"

taxType
enum<string>
required

The tax type for the pay element

Available options:
Taxable,
NonTaxable
Example:

"Taxable"

niType
enum<string>
required

The National Insurance type for the pay element

Available options:
Niable,
NonNiable,
EmployerOnly
Example:

"Niable"

payType
enum<string>
required

The pay type for the pay element

Available options:
Payable,
Deductible,
Informational
Example:

"Payable"

isPensionable
boolean

Whether the pay element is pensionable

Example:

true

isClass1ANiable
boolean

Whether the pay element is Class 1A National Insurance liable

Example:

false

accrueHoliday
boolean

Whether the pay element accrues holiday

Example:

true

subjectToNmwCheck
boolean

Whether the pay element is subject to National Minimum Wage checks

Example:

true

defaultUnitName
enum<string>

The default unit name for the pay element

Available options:
Hour,
Day,
Week,
Month,
Year,
Fixed,
Informational,
Percentage
Example:

"Hour"

defaultPayRate
number<decimal> | null

The default pay rate for the pay element

Example:

15.5

defaultUnitValue
number<decimal> | null

The default unit value for the pay element

Example:

1

defaultChargeRate
number<decimal> | null

The default charge rate for the pay element

Example:

20

Response

The pay element was updated

message
object
required

A readable message about the outcome and a stable token a client can branch on.

content
object

The data the request returns with its metadata; left out on a response that carries no data, such as most errors.

validationIssues
object[] | null

Each field the request was refused for and why; left out when the request was not refused for its fields.