Partner organisations only. A Payroll organisation calling this
endpoint receives 405 Method Not Allowed.
Returns a single pay period for the employer. The response shape matches list items. Returns 404 when the pay period is missing, belongs to another employer, or has no active contributions.
Responses
-
Pay period retrieved successfully.
-
Unauthorized, the request requires authentication, and the provided credentials are either missing or incorrect.
-
Employer or pay period not found. Also returned when the pay period belongs to another employer or has no active contributions.
-
Method not allowed for this client type.
GET
/employers/{employer_id}/pay_periods/{pay_period_id}
curl \
--request GET 'https://payroll-api.getpenfold.dev/v4/employers/{employer_id}/pay_periods/{pay_period_id}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "clxyz123payperiod",
"pay_period_start_date": "2026-01-01",
"pay_period_end_date": "2026-01-31",
"frequency": "Monthly",
"total_contributions_pence": 250000,
"employee_contributions_pence": 100000,
"employer_contributions_pence": 150000,
"upload_ids": [
"clxyz123upload",
"clxyz456upload"
],
"payments": [
{
"id": "clxyz123payment",
"amount_pence": 150000,
"status": "Pending",
"payment_method": "DirectDebit",
"upload_id": "clxyz123upload"
}
]
}
Response examples (401)
{
"error": "Bad request: invalid data provided."
}
Response examples (404)
{
"error": "Bad request: invalid data provided."
}
Response examples (405)
{
"error": "Bad request: invalid data provided."
}