/v2/pension relative to the gateway base URLs on the API reference introduction — for example, https://api.sandbox.flowpayroll.ai/v2/pension in sandbox.
Key concepts
- Pension provider — the pension company itself. A provider has a name, a URL-friendly slug, a flag indicating whether schemes with it require a payment source, and
exportSupported, which says whether a completed pay run produces an export file for its schemes. TheManualprovider is the one that does not: choose it for a scheme you file with your provider yourself. Providers are set up in the product (go to Settings and open the Pension tab); the API exposes them read-only. - Pension scheme — your organisation’s arrangement with a provider. A scheme records its payment source, duty start date, last re-enrolment date, and an optional external reference. Scheme endpoints use the
/pension-schemapath. - Pension group — a set of contribution rules within a scheme: the pension type (relief at source, salary sacrifice, or net pay arrangement), the contribution basis, employee and employer factors, a National Insurance savings factor, and an optional external reference. One group can be marked as the organisation’s default.
- Employee pension association — the link between an employee and a pension group, with an enrolment date and an option to send enrolment letters.
- Additional voluntary contribution: an extra employee contribution on top of the scheme contribution, for one pay run only. Held per employee, tax year, and period.
- Contribution override: replaces the group’s contribution settings for one pay run only, for example an unpaid-leave month. Any additional voluntary contribution still applies on top. Held per employee, tax year, and period.
- Membership end: the record of a membership ending: why it ended, when, and what each side is owed back. It survives the association being removed, which is what keeps a refund retrievable afterwards.
- Auto-enrolment assessment — the AE result a pay run produces for each employee: the assessment outcome, worker age, earnings, and effective assessment date.
- Postponement — a deferral of auto-enrolment, defined as a start-date definition and an eligibility-date definition (a value plus a frequency). Defaults are set at organisation level and can be overridden per employee.
- Pension calculation — an employee’s contribution amounts for a specific period, retrievable per month or per provider and exportable as a CSV or provider-format file.
- Itemised contributions: how contributions reach a payslip: the pension service pushes one payroll line per contribution, so the payslip shows a pension row per contribution, and additional voluntary contributions, per-period overrides and opt-out refunds through payroll all become possible.
- Provider submission: what was sent to a scheme’s connected pension provider for one pay run: the enrolments, the contribution schedule and the payment approval, each with its status, the provider’s reference and the reason if it did not land. A scheme becomes sendable by being linked to a connection in the Integrations API; NEST is the first provider.
API structure
Pension providers
Providers are read-only through the API: list them withGET /pension-provider, retrieve one with GET /pension-provider/{id}, or look one up by its slug with GET /pension-provider/slug/{slug}. Create and manage providers in the product — go to Settings and open the Pension tab.
Pension schemes
Create, update, retrieve, and delete schemes at/pension-schema and /pension-schema/{id}. GET /pension-schema/organisation returns every scheme in your organisation, each with its provider and groups embedded. Creating a scheme requires a pensionProviderId — find it with GET /pension-provider.
Pension groups
Manage contribution groups at/pension-group and /pension-group/{id}. Before creating a group, call GET /pension-group/allowed-bases to see the contribution bases the service accepts.
Set externalReferenceId on a group to record the identifier your provider uses for it — a worker group or category code, for example. It is optional, and it is returned on every group, including the groups embedded in GET /pension-schema/organisation, so you can map our groups onto yours without a second lookup.
A group’s
externalReferenceId is stored and returned for your own reconciliation. It is the scheme-level externalReferenceId that provider export files use as the employer reference.Employee enrolment
POST /employee-pension associates an employee with a pension group, and GET /employee-pension/{employeeId} reads the association. GET /employee-pension/batch fetches several employees at once via repeated employeeId query parameters. POST /employee-pension/{employeeId}/enrolment-letter triggers an enrolment letter for an employee, and POST /employee-pension/letters/{letterType} sends one statutory letter to each of a list of employees as a job you follow with GET /employee-pension/letters/jobs/{jobId}. GET /employee-pension/{employeeId}/letters lists every statutory letter one employee is owed or has been given, members and non-members alike.
When you add someone yourself, send enrolmentBasis to say what brought them in. It decides the letter they are owed and whether they may opt out, and the association returns it as enrolmentRoute:
There is no current assessment when no pay run has assessed the employee, while their automatic enrolment is postponed, or while an exemption is recorded for them. Then
Notice cannot tell an opt-in from a joining request, so you say which with OptIn or Join. Where there is a current assessment it decides, and OptIn or Join is refused if it says otherwise.
These are refused with a 400 that says what to send instead:
Dutyfor anyone the last assessment did not find to be an eligible jobholder, while their automatic enrolment is postponed, or once 12 months have passed since they left at their own request (the duty is optional for the 12 months beginning with the day they left, and returns at your next re-enrolment date).Noticewhen there is no current assessment, andNotice,OptInorJoinfor someone assessed as under 16 or aged 75 or over.Notice,OptInorJoinfor an employee whose recorded exemption leaves no right to opt in or to join: under notice of termination, a winding-up lump sum in the last 12 months, a director without a contract of employment, or an office holder. An exemption for tax protection, for leaving a scheme in the last 12 months or as an LLP member changes only the duty, so they may still opt in or join.Contractfor an employee assessed as an eligible jobholder whose membership starts after that assessment’s date: they were not a member on their automatic enrolment date, so they are owed automatic enrolment and its right to opt out (Pensions Act 2008, section 3(3)). SendDuty.PreviousAutomaticEnrolmentwhen a pay run has assessed them on or before the enrolment date.
Duty, in the same group and with their own contribution settings: the law starts an eligible jobholder’s membership on their automatic enrolment date unless they were already a member that day (Pensions Act 2008, section 3(3)). Sent with Duty and no enrolmentDate, a membership starts on that date; any other membership sent with no date starts on the first day of the next pay period.
Sent for an employee who is already a member, enrolmentBasis corrects how they joined. Leave it out and an existing membership keeps its route, while a new one is worked out from the latest assessment while it still describes them: Duty for an eligible jobholder, OptIn for a non-eligible jobholder, Join for an entitled worker and Contractual for anyone else. A new one with no current assessment (never assessed, postponed or exempt) is recorded Contractual as a default, and nothing says how they joined: refund-preview answers optOutWindowBasis: Unknown, and their letter is not sent until you send enrolmentBasis, because it could not say whether they may opt out. enrolmentRoute is absent while the automatic membership is the active one.
Ending a membership
DELETE /employee-pension/{employeeId} is the single removal surface, and what you pass to it decides what is recorded:
Only a member the law gives the right can opt out: one automatically enrolled, including someone you 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. Where nothing says how they joined (added without enrolmentBasis and with no current assessment, or before enrolmentBasis existed) the opt-out is your call. GET /employee-pension/{employeeId}/refund-preview tells you which applies: mayOptOut is false only for a member known to have no right to opt out, membershipEndReason is the reason leaving would be recorded with, and optOutWindowBasis comes from the same decision (Unknown when nothing says how they joined, in which case the dates returned are not an answer). optOutWindowBasis names the refund window the scheme applies.
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.
The reason is a record of what happened, not a switch: any ending stops further automatic assessment until the employer’s next cyclical re-enrolment date, and a worker whose membership ended within 12 months of that date is left out of that cycle by default. Whether an opt-out falls inside the statutory opt-out period is the employer’s assessment, not something the service enforces.
Call GET /employee-pension/{employeeId}/refund-preview first. It is side-effect-free and returns exactly what a refund would pay back, per settled period, so an operator can see the figure before confirming.
Endings stay readable long after the association is gone: GET /employee-pension/{employeeId}/membership-ends for one employee, and GET /organisation/pension-membership-ends for the organisation’s refunds report over a date range.
A refund covers the member’s contributions only. Employer contributions are repaid by the scheme to the employer directly, so they never appear on a payslip. The membership-end records carry both figures, which is what makes the organisation report reconcilable against what the provider actually returned.
Additional voluntary contributions and per-period overrides
Both are addressed per employee, tax year, and pay period, both are idempotent (a repeatedPUT replaces the value), and both apply to open pay runs only. The period’s payslip is re-processed automatically, so the change shows up without you triggering anything.
- Additional voluntary contributions at
/employee-pension/{employeeId}/additional-voluntary-contributions/{taxYear}/{period}(GET,PUT,DELETE), withGET /employee-pension/{employeeId}/additional-voluntary-contributionslisting them in pay-period order. An additional voluntary contribution sits on top of the employee’s normal contribution. On a relief-at-source scheme the payslip deduction is 80% of the gross amount you set, because the provider claims the basic-rate relief. - Contribution overrides at
/employee-pension/{employeeId}/contribution-overrides/{taxYear}/{period}(GET,PUT,DELETE), withGET /employee-pension/{employeeId}/contribution-overrideslisting them. An override replaces the group settings for that one period, and any additional voluntary contribution still applies on top. The auto-enrolment minimum binds per pay reference period, so an override below it is refused unless you sendacknowledgeBelowAutoEnrolmentMinimum.
Auto-enrolment
GET /auto-enrolment/assessments/payrun/{payrollConfigId}/{year}/{frequency}/{period} returns the assessments a pay run produced, and GET /auto-enrolment/complete/payrun/{payrollConfigId}/{year}/{frequency}/{period} lists employees whose enrolment is complete for that pay run. GET /auto-enrolment/not-complete and GET /auto-enrolment/not-auto-enrolments list employees with outstanding or no auto-enrolment, optionally including employee details. POST /auto-enrolment/assessments/preview runs a stateless assessment preview from the request body alone — supply a date of birth, earnings with their frequency, and the pay reference period dates, and it returns the worker category (EligibleJobholder, NonEligibleJobholder, EntitledWorker, or NotEligible) with its consequences, without reading or storing any employee data.
Statutory letter duties
You owe a worker a letter at six points (The Pensions Regulator, detailed guidance 3a, 5, 7 and 10). Two endpoints report on them, for every letter at once. They are exact complements: every letter owed appears on one list or the other, never both and never neither. An empty outstanding list therefore means everyone has had every letter owed to them.GET /auto-enrolment/enrolment-information/outstanding lists the letters still owed, worst first: failed sends, then overdue, then still due. GET /auto-enrolment/enrolment-information/sent lists the letters already given, most recently given first, with sentDate and sentBy. Each row’s letterType says which letter it is:
enrolmentDate is the date the six weeks count from: the enrolment or re-enrolment date, the day the postponement started, the first assessment that found the worker can opt in or join, or the date an opt-in or join membership starts. sentDate is the date printed on the letter, not the day an email was dispatched; for the enrolment and re-enrolment information and the opt-in confirmation it is the day the member’s opt-out period runs from (detailed guidance 7, paragraphs 17 and 18).
Opt-in information is not owed to a worker who was given a postponement notice, which carries the same information (detailed guidance 10, paragraph 47), or who is already a member. A worker you add with POST /employee-pension is owed the letter that fits their enrolmentRoute (see employee enrolment): the enrolment letter for Duty and Contractual, with the opt-out period only for Duty; the opt-in confirmation for OptIn, with the statutory right to opt out (detailed guidance 7, paragraph 8); the join confirmation for Join, without that right (paragraph 9). A letter whose email bounced was never given, so it returns to the outstanding list as failed.
Send any outstanding row with POST /employee-pension/letters/{letterType}, using its letterType. An enrolment or re-enrolment letter to an automatically enrolled worker, and an opt-in confirmation, states where to get the opt-out form: the scheme’s optOutContactPoint, or the provider’s when the scheme has none. When neither is set the letter is not sent, and the job reports NoOptOutContact for that employee. A pension with no enrolment date is reported as NoEnrolmentDate. A membership where nothing says how the worker joined is reported as NoJoiningRoute: the letter cannot say whether they may opt out, so it is not sent until you send enrolmentBasis on their pension. In each case the reason stays on the letter’s row in the outstanding list, as lastRefusalReason and lastRefusedAt, until the letter is next sent, so it shows after a reload and when the letter was due to go by itself. A single letter sent with POST /employee-pension/{employeeId}/enrolment-letter is refused with 409 instead: message.token is pension_scheme_no_opt_out_contact, pension_membership_no_enrolment_date when the pension has no enrolment date to count the opt-out period from, or pension_membership_no_joining_route when nothing says how the worker joined, and sending again works once it is set. On PUT /pension-schema/{id}, leaving optOutContactPoint out keeps the stored value and an empty value clears it. A postponement notice for a worker with no postponement is reported NoPostponementNotice, and opt-in information for a worker who is not owed it NoOptInInformation. The pension.enrolment_letter_sent, pension.re_enrolment_letter_sent, pension.postponement_notice_sent, pension.opt_in_information_sent, pension.opt_in_confirmation_sent and pension.join_confirmation_sent webhooks, and their _failed counterparts, tell you how each send resolved.
Sending letters automatically
Each letter still owed either goes by itself when the worker’s next pay run is finalised, or waits for you to send it. Each row on the outstanding list and onGET /employee-pension/{employeeId}/letters says which with isScheduled.
automaticLetterTypesonGET /organisationis the organisation’s default for letters that become owed from now on: the letter types listed go by themselves, every other one waits. Set it withPUT /organisation/pension-default/auto-enrolment-settings; an empty list means every letter is sent by hand, and leaving it out keeps the stored value. When you send both, it wins oversendEnrolmentLetterOnAutoEnrolment, which on its own switches the enrolment and re-enrolment letters together.PUT /employee-pension/letters/{letterType}/sendingchanges letters already waiting, for up to 1000 employees at once:sendAutomatically: trueto send it with their next pay run,falseto keep it for you. The answer lists the employees changed and, inskipped, the ones left as they were with a reason:AlreadyGiven,NotEnrolled,NoPostponementNoticeorNoOptInInformation.
POST /employee-pension/letters/{letterType}; once it has been sent, by you or automatically, it is not sent again.
Someone holding both a manual and an automatic membership appears once for each. Each is its own enrolment, with its own date and its own letter.
Both endpoints are paginated. Follow content.metadata.paginationToken until it is absent rather than treating a short page as the last. The outstanding list returns nothing for an organisation that has declared it issues the information itself. The sent list still answers, because Flow can always report what it sent.
Postponement
PUT /postponement sets an employee’s postponement, GET /postponement/{employeeId} reads it, and DELETE /postponement/{employeeId} removes it. PUT /organisation/pension-default/postponement-settings sets the organisation’s defaults.
There are two lengths, and both may be set: one postpones from a worker’s first day of employment, the other from the day they become an eligible jobholder (Pensions Act 2008, section 4(2) and 4(3)). A worker is postponed once, by whichever of the two ends later when both apply at their first assessment. Each lasts at most three months from its starting day (section 4(6)): at most 3 months, 13 weeks or 92 days. A longer or negative length is refused with 400 POSTPONEMENT_TOO_LONG, 0 means no postponement, and the deferral date is never set later than three calendar months after the starting day, whatever the unit.
Organisation defaults
GET /organisation returns your organisation’s pension defaults: the default pension group, default postponement definitions, and the auto-enrolment mode. Update them with PUT /organisation/pension-default/postponement-settings and PUT /organisation/pension-default/auto-enrolment-settings.
Pension calculations and exports
Read calculations withGET /pension-calculation/by-year/{year}/by-month/{month}, or narrow to one provider with GET /pension-calculation/pension-provider/{pensionProviderId}/by-year/{year}/by-month/{month}. POST /pension-calculation records a calculation for an employee and period. For a pay period, fetch a CSV via GET /pension-calculation/csv/year/{year}/period/{period}/frequency/{frequency}/payroll-config/{payrollConfigId}, or request provider export files with POST /pension-calculation/export and list the generated files — including their file paths — through GET /pension-calculation/export/year/{year}/period/{period}/frequency/{frequency}/payroll-config/{payrollConfigId} or the equivalent /export-file-retrieval/pension-calculation/... endpoint. A scheme on the Manual provider (exportSupported: false on GET /pension-provider) never has export files: read its contributions through the calculation endpoints instead, and use the payroll_run.completed webhook to know when a period’s figures are final.
Provider submissions
A scheme linked to a provider connection can be sent directly instead of, or as well as, by export file. NEST is the only provider supported today; schemes with any other provider continue through the export files. Completing a pay run produces the export files and stops there: a submission only happens when you ask for one, and approving the payment is a second, separate call. The pay run is addressed in the path, as/provider-sync/{payrollConfigId}/{year}/{frequency}/{period}.
-
GET /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/sendablelists every scheme in the pay run and whether each can be sent right now. A scheme that cannot be sent is listed withsendable: falseand areasonTokenrather than hidden:pension_scheme_not_connectedfor one that delivers by export file,connection_not_callablefor one whose connection has to be finished or repaired. An empty list means the pay run holds no pension calculations at all. -
GET /provider-sync/operations/{operationId}finds the submission sent with an integrations operation, including the pay run it was for (payRun), so a notification or the integrations activity, which know only the operation, can open that pay run. Another organisation’s operation, or one that sent nothing, returns 404. Every submission record now carriespayRun. -
POST /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/sendsubmits the run. PassschemeIdto send one scheme andoperationTypeto send one part, which is how a part that did not land is sent again on its own; with both parts, enrolments go first, because a member the provider has never seen cannot appear on a contribution schedule. Naming aschemeIdthe pay run does not hold returns 404. A 2xx means the request was understood, not that anything was sent. Readschemesto find out what the send decided, scheme by scheme:Submitted,Skipped(not connected, or nothing outstanding),Blocked(the connection needs finishing or repairing) orFailed, each with areasonTokenand a readablereasonMessage.submissionscarries the pay run’s submission ledger as it stands, filtered to the scheme you asked for; follow it with the next endpoint. Do not read an emptysubmissionsas success — a scheme that delivers by export file sends nothing and says so inschemes. Sending the same unchanged data twice is deduplicated rather than submitted again, while a corrected run goes as a new submission, which is how the provider expects corrections to an open schedule. -
GET /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}lists the pay run’s submissions per scheme, one record peroperationType:pension.members.enrol,pension.contributions.submitandpension.payment.approve. Each carriesstatus,memberCount,totalAmount, the provider’sproviderReferenceonce issued (the schedule reference, for contributions), anderrorTokenwitherrorMessageif it did not land. -
GET /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/issues?schemeId&operationTypereturns every reason the provider refused one submission, each with the record it relates to, the provider’s own code and its own wording. A submission record carries the first page and the total; use this for the rest. -
POST /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/refresh-membersre-reads named members from their employee records and writes their details back onto the pay run, so a refusal about a person, such as a National Insurance number added after the run was locked, can be corrected without re-running payroll. Amounts, periods and payment dates are never touched. Name up to 250 members by employee id, asissuesreports them. -
POST /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/approve-paymenttells the provider to collect the submitted schedule. It is accepted only once the contribution schedule hasstatusSucceededand aproviderReference; otherwise it returns 400 with a plain-English reason. It is never called on your behalf. -
GET /provider-sync/returns?type&pageSize&paginationTokenlists what providers sent back, newest first:pension.opt-outs.received,pension.stopped-contributions.received,pension.refunds.received,pension.schedules.receivedandpension.setup.received, each with the full detail asdocument. Keep followingcontent.metadata.paginationTokenwhile it is non-null. -
GET /provider-sync/reconciliation?schemeIdcompares the scheme with its provider: members enrolled in Flow Payroll, opt-outs and stopped contributions the provider reported and how many were applied or could not be matched, the refunds the provider reported and their total (the provider’s own figure), and when the last return arrived. -
GET /provider-sync/member-changes?status&pageSize&paginationTokenis the queue of what providers reported about members, paged the same way. Nothing here has been applied: reading from a provider never changes payroll on its own, so each waits forPOST /provider-sync/member-changes/{changeId}/apply,/dismiss,/acknowledgeor/delete.GET /provider-sync/member-changes/summarygives the count for a badge.
status values are the provider connection’s own: Pending (queued or waiting for a retry), AwaitingProvider (accepted by the provider, still processing), Succeeded, Failed, NeedsAttention (stopped for a reason a retry alone will not fix) and Cancelled, plus SubmitFailed when the submission could not be built at all, for example pension_missing_payment_source or pension_unsupported_frequency. What happens between those statuses, including the retry schedule, pausing after repeated failures and the two-day result deadline, is described once on the Integrations API overview.
Applying a reported opt-out ends the member’s membership on the date the provider gives, through the same flow as
DELETE /employee-pension/{employeeId}, with reason OptOut and your refund decision in the body: { "processRefund": true } puts their contributions back on the next payslip, { "processRefund": false, "noPayrollRefundReason": "..." } records why not. The provider repays the employer, never the member, so the decision is always yours. With no body the opt-out is applied and waits on GET /organisation/opt-out-refunds?status=awaitingDecision until you decide it with PUT /employee-pension/{employeeId}/opt-out-refunds/{membershipEndDate}/decision. A reported stopped contribution ends the membership as MembershipCeased and takes no refund decision.Employee pension information
GET /pension-information/{employeeId} returns a single employee’s full pension picture in one call: their pension composition, latest auto-enrolment determination, and any postponement.
Typical workflow
- Look up your provider (
GET /pension-provider/slug/{slug}) — set it up in the product first if it does not exist — then create a scheme withPOST /pension-schema. - Check
GET /pension-group/allowed-bases, then add one or more groups withPOST /pension-group, marking one as the default. - Set your organisation’s postponement and auto-enrolment defaults via the
/organisation/pension-defaultendpoints — see the pension defaults guide. - Enrol employees with
POST /employee-pension, sending enrolment letters where required. - Run your pay run, then read its AE results with
GET /auto-enrolment/assessments/payrun/...and follow up on anyone listed byGET /auto-enrolment/not-complete. - After the period, download the contribution CSV or request an export with
POST /pension-calculation/exportand retrieve the generated files for your provider. - If the scheme is linked to a provider connection, send the run instead with
POST /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/send, follow it withGET /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}, and approve the payment withPOST /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/approve-paymentonce the schedule is accepted.
Notes and best practices
- Scheme endpoints use the path segment
pension-schema(singular), notpension-scheme— copy paths exactly as documented. - Assessments, CSVs, and exports are addressed by payroll configuration, tax year, frequency, and period, so keep those identifiers from your pay run to hand.
- Provider export files are described by records with a file path, provider slug, export group, and file type — generate them with the export
POST, then list them with either retrieval endpoint. - Postponement definitions are a value plus a frequency at both organisation and employee level; an employee-level definition set via
PUT /postponementtakes the place of the defaults for that employee. - Send
pensionTypewhen you create or update a group, and readpensionTypeandpensionGroupback —isSalarySacrifice,organisationIdon a group, and the splitautoEnrolmentPensionGroup/manualEnrolmentPensionGroupfields are deprecated and go on 7 December 2026. The four response fields stop being returned on that date, so update your parsing as well as your writes. See Deprecations. - Every response uses the shared envelope. Read
message.token,validationIssuesandcontent.metadata: the olderrorslist, the top-levelmetadata, andmessage.textId/message.textParametersare copies of them, deprecated and removed on 30 December 2026. On a paginated list, read the cursor fromcontent.metadata.paginationToken;content.data.paginationTokenis a deprecated copy. The rows stay incontent.data.items. See Deprecations. - Reading pension amounts off a payslip has one rule: take them from the payslip’s pension summary items or from
forPeriod.pension, never from both. See reading pension on a payslip. - Additional voluntary contributions and per-period overrides are keyed by tax year and period, so they are written against a specific pay run and only take effect while that run is open.
- A provider submission never starts on its own, payment approval is never implied by a send, and a change a provider reports never applies itself. Call
GET /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/sendablebefore offering a send, check theschemesoutcomes on the send itself rather than assuming a 2xx sent something, and expectNeedsAttentionsubmissions to need a person: theerrorTokensays what to fix before sending again. Where the refusal names members rather than the file,POST /provider-sync/{payrollConfigId}/{year}/{frequency}/{period}/refresh-membersre-reads them so the run does not have to be re-run. - The contribution due date is read from the provider’s own published schedules and matched on the earnings period, so sending late does not change it. A scheme can carry
contributionDueDateOffsetDaysfor a provider that has published no schedule yet; without either, a submission is refused withpension_unknown_contribution_due_daterather than sent with a guess. - The export files are still produced for a linked scheme on every pay run, so the file route remains available as a fallback.
- Removing an enrolment without an
optOutDateorreasonrecords an administrative removal. It still stops further automatic assessment until the next cyclical re-enrolment date, so pass the date or the reason when the employee actually opted out — the reason is what the record shows and what you evidence in an audit.
Authentication
Every request needs anX-Auth-Token header, and multi-organisation credentials also send X-Org-Id — see Authentication. Responses use the shared envelope described in Response format.