post
https://payrollservice-d5ffb79ba43a9141.onporter.run/api/v1/payroll/register/employee-pension/
/register/employee-pension/
Register an employee pension details. This endpoint allows you to specify the employee's pension provider, contribution amounts, and other relevant details.
Input Schema
{
pension: {
provider: String,
providerPin: String,
usePercentage: Boolean,
employeePensionPin: String,,
employerVoluntaryContribution: Number,
employeeVoluntaryContribution: Number,
},
employeeId: String,
}
Response Schema
{
status: Boolean,
message: String,
data: {
provider: String,
providerPin: String,
usePercentage: Boolean,
employeePensionPin: String,
employerPensionContribution: Number,
employeePensionContribution: Number,
employerVoluntaryContribution: Number,
employeeVoluntaryContribution: Number,
}
}
Note: Ensure that the employee's pension details are correctly included in the "pension" object, and the "employeeId" corresponds to the unique identifier for each employee.