Pension

Every pension response uses the same envelope as the other Flow Payroll services: message.text and message.token, content.data and content.metadata, and validationIssues on an error. On the paginated lists, read the cursor from content.metadata.paginationToken. The rows stay in content.data.items.

The fields pension sent before this envelope are deprecated and stop being returned on 30 December 2026. Until then each one is an exact copy of its replacement, so an integration that reads them keeps working unchanged:

  • errors repeats validationIssues (reasonText is reason, reasonId is reasonToken, reasonParameters is reasonTokenArguments).
  • The top-level metadata repeats content.metadata.
  • message.textId and message.textParameters repeat message.token and message.tokenArguments.
  • On the paginated lists, data.paginationToken repeats content.metadata.paginationToken. Pass either back as the paginationToken query parameter.

The schema names change with the envelope (PensionSchemeV2ApiResponse becomes PensionSchemeV2ResponseBody, and so on). The old names stay in the spec as deprecated aliases, so a client generated from the previous spec still compiles when regenerated.