Skip to main content
GET
/
earnings
/
{earning}
Retrieve an earning
curl --request GET \
  --url https://sandbox.nmbr.co/services/payroll/earnings/{earning} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<id>",
  "object": "earning",
  "data": {
    "work_assignment": {
      "id": "<id>",
      "object": "work_assignment",
      "links": {
        "self": "/work_assignments/<id>"
      }
    },
    "earning_type": {
      "id": "<id>",
      "object": "earning_type",
      "data": {
        "type": "parental_top_up_insurable",
        "label": "Parental Top-Up (Insurable)",
        "supported_payroll_types": {
          "regular": true,
          "historical": true,
          "off_cycle": true
        }
      },
      "links": {
        "self": "/earning_types/parental_top_up_insurable"
      }
    },
    "title": null,
    "title_translations": null,
    "title_translated": null,
    "amount": 5000,
    "frequency": "per_payroll",
    "date_basis": null,
    "pay_period_cadence": null,
    "effective_from": "2026-01-01",
    "effective_to": null,
    "business_preset": null,
    "expense_accounting_code": null,
    "liability_accounting_code": null,
    "external_ref": null,
    "created_at": "2026-01-01T00:00:00.000000Z",
    "updated_at": "2026-01-01T00:00:00.000000Z"
  },
  "links": {
    "self": "/earnings/<id>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

earning
string
required

Query Parameters

expand
enum<string>[]
Available options:
business_preset,
expense_accounting_code,
liability_accounting_code,
tag_assignment,
work_assignment

Response

200 - application/json

OK

id
string
read-only

The unique identifier of the object in Nmbr.

object
string
read-only

The type of the object in Nmbr ("earning").

data
Default · object