curl --request GET \
--url https://api.plane.com/v1/compensations/{id} \
--header 'Authorization: Bearer <token>'{
"id": "wec_cNqYX2J3s9bI2Aa",
"worker": "wr_5yMmVvd6Cz7Ptx",
"type": "regular",
"reason": null,
"amount": "150000.00",
"currency": "USD",
"unit": "year",
"frequency": "twice_monthly",
"stock": null,
"other": null,
"starts": "2024-01-01",
"ends": null,
"created": "2024-01-01T00:00:00Z"
}
Retrieve the details of an existing compensation change.
curl --request GET \
--url https://api.plane.com/v1/compensations/{id} \
--header 'Authorization: Bearer <token>'{
"id": "wec_cNqYX2J3s9bI2Aa",
"worker": "wr_5yMmVvd6Cz7Ptx",
"type": "regular",
"reason": null,
"amount": "150000.00",
"currency": "USD",
"unit": "year",
"frequency": "twice_monthly",
"stock": null,
"other": null,
"starts": "2024-01-01",
"ends": null,
"created": "2024-01-01T00:00:00Z"
}
{
"id": "wec_cNqYX2J3s9bI2Aa",
"worker": "wr_5yMmVvd6Cz7Ptx",
"type": "regular",
"reason": null,
"amount": "150000.00",
"currency": "USD",
"unit": "year",
"frequency": "twice_monthly",
"stock": null,
"other": null,
"starts": "2024-01-01",
"ends": null,
"created": "2024-01-01T00:00:00Z"
}
Was this page helpful?