post
https://api.sandbox.flowpayroll.ai/v2/pension/employee-pension//enrolment-letter
Trigger the enrolment letter for an employee's pension record.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Trigger the enrolment letter for an employee's pension record.
The letter is refused with 409 Conflict when something has to be put right before it can go. The
message.token says what, and sending again works once it is fixed:
message.token | What to do |
|---|---|
enrolment_letter_already_sending | Nothing. A letter is already on its way; wait for its webhook. |
pension_scheme_no_opt_out_contact | The letter must say where to get the form to opt out, and neither the scheme nor its provider says. Set optOutContactPoint with PUT /pension-schema/{id}, then send again. |
pension_membership_no_enrolment_date | The pension has no enrolment date, which the letter states and the opt-out period counts from. Add it, then send again. |
pension_membership_no_joining_route | Nothing says how the worker joined: they were added without enrolmentBasis and with no current assessment, or before enrolmentBasis existed. The letter has to state the right to opt out for a worker who has it and must not for one who does not, so it is not sent on a guess. Send enrolmentBasis with POST /employee-pension, then send again. |
To send letters to many employees at once, and to see each one's outcome, use
Send pension letters.
200OK
