curl --request POST \
--url https://api.sandbox.flowpayroll.ai/v1/statutory-pay/payments/import/{employeeId} \
--header 'Content-Type: application/json' \
--header 'X-Auth-Token: <api-key>' \
--data '
{
"statutoryType": "<string>",
"startDate": "<string>",
"averageWeeklyEarnings": 123,
"endDate": "<string>",
"paidUntilDate": "<string>",
"paidWeeks": 123,
"qualifyingEventDate": "<string>",
"requestedStartDate": "<string>",
"isReceivingStatutoryMaternityPay": true,
"previousSicknessPeriods": [
{
"startDate": "<string>",
"endDate": "<string>",
"wereFirstThreeDaysPaid": true
}
],
"workingDays": {
"standardWorkingDays": {
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"sunday": true
},
"shiftPattern": {
"rotationStartDate": "<string>",
"shifts": [
{
"name": "<string>",
"workingDays": {
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"sunday": true
},
"durationInDays": 123,
"weekNumber": 123
}
],
"patternType": "<string>",
"patternWeeks": 123
},
"workingPattern": "<string>"
},
"isPrimaryParent": true,
"previousPrimaryPayWeeks": 123,
"otherParentShppWeeks": 123,
"neonatalCareStartDate": "<string>",
"neonatalCareEndDate": "<string>",
"higherRateWeeks": 123,
"higherRateAmount": 123,
"standardRateWeeks": 123,
"standardRateAmount": 123
}
'