Needs permission pension:write.
The single removal surface. optOutDate (or today) becomes the membership end date. processRefund=true refunds every settled member contribution from enrolment to that date on the next payslip, and is REFUSED when that date falls outside the statutory opt-out period unless refundOutsideOptOutPeriodReason says why. Use GET /employee-pension/{employeeId}/refund-preview first to show the operator what would be refunded. Returns the membership end reason and the refunded amounts per period.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Remove an employee's pension association.
Only a member the law gives the right can opt out: one automatically enrolled, including someone
added with enrolmentBasis: Duty, or one who opted in. A member enrolled under their contract, or an
entitled worker who asked to join, ceases membership under the scheme's rules instead (The Pensions
Regulator, detailed guidance 7). Flow Payroll holds you to that when it is known how they joined:
you said so, with enrolmentBasis set to Contract or Join, or to Notice for an entitled
worker, or you said nothing and the pay run's assessment still described them, as an entitled
worker or as neither kind of worker, on the day they were added. Then reason=OptOut is refused
with a 400 that says so, and an optOutDate or processRefund=true with no reason records
MembershipCeased. Where nothing says how they joined (added without enrolmentBasis and with no
current assessment, or before enrolmentBasis existed) the opt-out is your call.
Call GET /employee-pension/{employeeId}/refund-preview first: mayOptOut is false only for a
member known to have no right to opt out, and membershipEndReason is the reason leaving would be
recorded with. optOutWindowBasis names the refund window and comes from the same decision:
StatutoryOptOutPeriod for a member with the right, SchemeRulesCessation for one without, and
Unknown when nothing says how they joined. For Unknown the dates returned are not an answer:
send enrolmentBasis on their pension to settle it.
When the member opted out by handing you their provider's paper opt-out form, send
optOutNoticeReference (the reference printed on the form, exactly as printed: letters and numbers,
up to 20, keeping leading zeros) and optOutNoticeReceivedInTime=true. NEST accepts an opt-out from
an employer only with both. A form that reached you after the opt-out period is not an opt-out, so
optOutNoticeReceivedInTime=false is refused. Leave both out when the member opted out with the
provider online or by phone: the provider already holds that opt-out, so nothing about it is sent to
them. The reference is returned as optOutNoticeReference on the membership end.
