Skip to main content
Version: 1.7.3

Get Pay Groups

Get Pay Groups

Use this endpoint to list all pay groups configured for the employer. Results can be filtered by employee or pay frequency. Copy the id values from the response — these are the pay_group_id values needed by GET /payroll/pay-groups/{pay_group_id}.

GET payroll/pay-groups 

Header Parameters

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

Query Parameters

FieldTypeDescription
entity_idsstringRequired. The organization ID. Must be exactly one UUID.
individual_idstringOptional Filter to pay groups that include this employee (UUID).
pay_frequenciesstring[]Optional Filter by pay frequency. Supported values: annually, semi_annually, quarterly, monthly, semi_monthly, bi_weekly, weekly, daily, other.

Response Body

FieldTypeDescription
statusstringSUCCESS or FAILURE.
status_codenumberHTTP status code (e.g. 200).
messagestringHuman-readable status message.
responseobject[]List of pay groups.
   idstringThe pay group UUID (pay_group_id).
   namestringName of the pay group.
   pay_frequenciesstring[]Pay frequencies for this group (e.g. ["bi_weekly"]).

Request

GET payroll/pay-groups?entity_ids=519a84f4-...&pay_frequencies=bi_weekly
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 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"
]
}
]
}