- Overview: These webhooks represent changes in an employee’s verification and lifecycle state within the platform, from identity verification through payroll readiness and employment changes.
// 🔹 Employee KYC Status Webhook /// Events
employee.kycstatus.insert— emitted when an employee record is first created. The payload returns the initial kycStatus ofkyc not initiated, confirming the employee was saved successfully.employee.kycstatus.update— emitted whenever an employee’s KYC verification status changes after creation.
| Status | Description |
|---|---|
kyc not initiated | The employee has been created and KYC has not yet been initiated. This status is returned by the insert webhook |
pending | KYC is currently being processed by the verification provider. |
passed | KYC verification has passed. This status is required before an employee’s status in the Rollfi system can progress to Active. |
failed | KYC verification has failed and requires follow-up. |
// 🔹 Employee Status Webhook /// Events
employee.employeestatus.insert— emitted when an employee record is first created. The payload returns userStatus ofAdd Wage, confirming the employee was saved successfully.employee.employeestatus.update— emitted whenever an employee’s status in the Rollfi system changes after creation.
userStatus field reflects the employee’s current status in the Rollfi system.
| Status | Description |
|---|---|
Add Wage | The employee has been created but does not yet have wage information. No platform invite has been sent. |
Invite Sent | The employee has been invited to join the platform and complete the remaining information required to activate payroll. |
Active | Employee KYC information, wages, and bank account details (if applicable) have been added, and the employee is ready for payroll. |
Deactivate | The employee has been deactivated for a period of time and can be reactivated using the activateUser API. |
Terminated | The employee has been terminated and can no longer be reactivated. |
