Skip to main content
POST
Create a pension scheme

Body

application/json
pensionProviderId
string | null
required
name
string | null
required
paymentSource
string | null
lastReEnrolmentDate
string<date> | null
dutyStartDate
string<date> | null
externalReferenceId
string | null
contributionDueDateOffsetDays
integer<int32> | null

How many days after an earnings period ends the contributions are due at this provider.

The due date on a contribution schedule belongs to the provider, and it has to match what the provider holds or the submission is refused. Once the provider is connected its own published schedule is used and this is ignored; set it when there is no connection, so the file carries the agreed date rather than the date employees were paid.

employeeIdentifierField
enum<string> | null
Available options:
NationalInsuranceNumber,
PayrollId,
EmployeeCode,
EmployeeId

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.