Skip to main content
Version: 1.7.3

Get Pay Group Details

Get Pay Group Details

Use this endpoint to retrieve full details for a single pay group, including the list of employees assigned to it. Provide the pay_group_id from GET /payroll/pay-groups in the path.

GET payroll/pay-groups/{pay_group_id} 

Header Parameters

FieldTypeDescription
AuthorizationstringRequired. Bearer token obtained from the Auth endpoint. Format: Bearer <access_token>.
X-TaxBandits-VersionstringAPI version string. Use 1.0.0.

Path Parameters

FieldTypeDescription
pay_group_idstringUUID from GET /payroll/pay-groups. Required.

Query Parameters

FieldTypeDescription
entity_idsstringRequired. The organization ID. Must be exactly one UUID.

Response Body

FieldTypeDescription
statusstringSUCCESS or FAILURE.
status_codenumberHTTP status code (e.g. 200).
messagestringHuman-readable status message.
responseobjectThe pay group details.
   idstringThe pay group UUID (pay_group_id).
   namestringName of the pay group.
   pay_frequenciesstring[]Pay frequencies for this group (e.g. ["bi_weekly"]).
   individual_idsstring[]Employee UUIDs (individual_id) assigned to this pay group.

Request

GET payroll/pay-groups/a1b2c3d4-1111-2222-3333-444455556666?entity_ids=519a84f4-...
Header: X-TaxBandits-Version: 1.0.0

Response Json

SampleDescriptionAction
200
Success Response - This is a sample response for successful API requests.
400
Bad Request Response - You'll get the below response when pay_group_id or entity_ids is missing or invalid.
{
"status": "SUCCESS",
"status_code": 200,
"message": "Request processed successfully",
"response": {
"id": "a1b2c3d4-1111-2222-3333-444455556666",
"name": "Bi-Weekly Group",
"pay_frequencies": [
"bi_weekly"
],
"individual_ids": [
"7a3f1c2d-11bb-4e6a-9c0d-f83a57e12346",
"9b2e4d7f-22cc-5f7b-0d1e-994b68f23457"
]
}
}