Skip to main content
POST
/
earnings
/
batch
/
upsert
Batch upsert earnings
curl --request POST \
  --url https://sandbox.nmbr.co/services/payroll/earnings/batch/upsert \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "id": "<id>",
    "amount": 3000,
    "effective_from": "2026-01-01"
  },
  {
    "work_assignment_id": "<id>",
    "earning_type": "salary_continuance",
    "amount": 5000,
    "frequency": "per_payroll",
    "effective_from": "2026-01-01"
  }
]
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Required array length: 1 - 100 elements

Response

202

Accepted