Skip to main content
POST
Create a pension group

Body

application/json
pensionSchemaId
string | null
required
name
string | null
required
basis
enum<string> | null
required
Available options:
Pensionable,
QualifyingEarnings
employeeFactor
number<float>
required
employerFactor
number<float>
required
isDefault
boolean
pensionType
enum<string> | null
Available options:
ReliefAtSource,
SalarySacrifice,
NetPayArrangement
isSalarySacrifice
boolean
deprecated

Deprecated: send pensionType instead. This is only consulted when pensionType is omitted, and cannot express NetPayArrangement.

nationalInsuranceSavingsFactor
number<float>
contributionType
enum<string> | null
Available options:
Percentage,
FixedAmount
employeeFixedAmount
number<double> | null
employerFixedAmount
number<double> | null
externalReferenceId
string | null
acknowledgeBelowAutoEnrolmentMinimum
boolean

Confirms the group is deliberately below the automatic enrolment minimum (8% total / 3% employer) or uses fixed amounts, and will not be used for automatic enrolment. Without it such a group is rejected.

Response

OK

The response envelope every FlowPayroll API answers with: a message, the content, and any validationIssues. errors and the top-level metadata are deprecated copies of validationIssues and content.metadata, and will be removed.

message
object
required

What happened, as English text and a stable token to translate from. textId and textParameters are deprecated copies of token and tokenArguments.

content
object
validationIssues
object[] | null
errors
object[] | null
deprecated
read-only

Deprecated: the same issues as validationIssues (reasonText is reason, reasonId is reasonToken, reasonParameters is reasonTokenArguments). Read validationIssues; this will be removed.

metadata
object
deprecated

Deprecated: the same values as content.metadata. Read that; this will be removed.