Skip to main content
POST
/
employee-pension
cURL
curl --request POST \
  --url https://api.sandbox.flowpayroll.ai/v2/pension/employee-pension \
  --header 'Content-Type: application/json' \
  --data '
{
  "employeeId": "<string>",
  "pensionGroupId": "<string>",
  "enrolmentDate": "2023-12-25",
  "sendLetters": true
}
'
{
  "content": {
    "data": {
      "organisationId": "<string>",
      "employeeId": "<string>",
      "pensionGroupId": "<string>",
      "enrolmentDate": "2023-12-25",
      "createdBy": "<string>",
      "createdDate": "2023-11-07T05:31:56Z",
      "updatedBy": "<string>",
      "updatedDate": "2023-11-07T05:31:56Z"
    },
    "metadata": {
      "dateFormat": "<string>",
      "dateTimeFormat": "<string>"
    }
  },
  "metadata": {
    "dateFormat": "<string>",
    "dateTimeFormat": "<string>"
  },
  "errors": [
    {
      "field": "<string>",
      "reasonText": "<string>",
      "reasonId": "<string>",
      "reasonParameters": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ]
    }
  ],
  "message": {
    "text": "<string>",
    "textId": "<string>",
    "textParameters": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.flowpayroll.ai/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
employeeId
string | null
required
pensionGroupId
string | null
required
enrolmentDate
string<date> | null
sendLetters
boolean

Response

200 - application/json

OK

content
object
metadata
object
errors
object[] | null
message
object