Skip to main content

Reference

Employees

Employee directory with activation, deactivation, and PII encryption.

The employees module manages the people on your payroll. PII (email, phone, BVN, NIN, bank account number) is encrypted at rest and decrypted when returned by the API.

List employees

GET/v1/employees

Returns employees, optionally filtered by status.

Query parameters

FieldTypeRequiredNotes
businessIdstringyes
statusstringnoactive, inactive, terminated.
limitintegernoDefault 50, max 100.

Get a single employee

GET/v1/employees/{id}

Create an employee

POST/v1/employees

Adds an employee to the directory. Does not run payroll.

Body

FieldTypeRequiredNotes
firstName, lastNamestringyes
emailstringyesEncrypted at rest.
phonestringnoEncrypted at rest.
employeeNumberstringnoAuto-generated if omitted.
dateOfBirthISO 8601no
hireDateISO 8601noDefaults to today.
departmentstringno
positionstringno
grossSalarynumberyesMonthly gross in naira.
bankAccountNumberstringnoEncrypted. For salary disbursement.
bankNamestringno
bvnstringnoEncrypted.
ninstringnoEncrypted.
pensionPFA, pensionRSAstringno
nhfNumberstringno
taxIdstringnoTIN.

Update an employee

PUT/v1/employees/{id}

Edits employee fields. Changes apply to the next payroll run.

Deactivate / activate

POST/v1/employees/{id}/deactivate

Marks an employee inactive. They're excluded from future payroll runs, but historical payslips remain.

POST/v1/employees/{id}/activate

Re-activates an inactive employee.

Body (for deactivate)

FieldTypeRequiredNotes
reasonstringnoShown in the audit trail.
effectiveDateISO 8601noDefaults to today.

Related endpoints

Reference index

Back to all modules