Skip to main content
POST
Calculate payroll (G2N) with auto-generated earnings

Authorizations

x-api-key
string
header
required

Body

application/json
employees
object[]
required

Array of employees with time entries and compensation

Minimum array length: 1
payrollConfig
object
required
Example:
fillDefaultSchedule
boolean
default:true

When true, auto-fills default time entries (standard work hours) for work days missing from employee timeEntries

Response

Successful payroll calculation with derived earnings

results
object[]
required

Array of payroll results, one per employee