How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OnPay Company API

The Company API from OnPay — 17 operation(s) for company.

OnPay Company API is one of 6 APIs that OnPay publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Company. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 30 operations across 17 paths, and defines 19 schemas. It is described by OpenAPI 3.2.0, at version 2.0.0.

Requests are made against a single base URL, https://onpaydev.com/v2.

30 operations 17 paths 19 schemas 1 DELETE15 GET7 PATCH6 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0.0
Base URL
https://api.onpay.com/v2
Authentication
OAuth 2.0, API Key
Resource Areas
1

Authentication & Security 2

OnPay Company API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 6 scopes. An API key is passed in the header as Authorization (Bearer).

Paths & Operations 30

Across 17 paths, the API surfaces 30 operations — 1 DELETE, 15 GET, 7 PATCH, 6 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Company 30
GET
/company
Get company
getCompany → 200default
GET
/company/pay-schedules
Get company pay schedules
getCompanyPaySchedules → 200default
GET
/company/deductions
Get company deductions
getCompanyDeductions → 200default
POST
/company/deductions
Create company deductions
postCompanyDeductions body → 200default
PATCH
/company/deductions/{deduction_id}
Update company deductions by deduction id
patchCompanyDeductionsByDeductionId 1 param body → 200default
DELETE
/company/deductions/{deduction_id}
Delete company deductions by deduction id
deleteCompanyDeductionsByDeductionId 1 param → 200default
GET
/company/deduction-groupings
Get company deduction groupings
getCompanyDeductionGroupings → 200default
POST
/company/deduction-groupings
Create company deduction groupings
postCompanyDeductionGroupings body → 200default
PATCH
/company/deduction-groupings/{id}
Update company deduction groupings by id
patchCompanyDeductionGroupingsById 1 param body → 200default
GET
/company/worksites
Get company worksites
getCompanyWorksites → 200
POST
/company/worksites
Create company worksites
postCompanyWorksites body → 200
GET
/company/worksites/{id}
Get company worksites by id
getCompanyWorksitesById 1 param → 200
PATCH
/company/worksites/{id}
Update company worksites by id
patchCompanyWorksitesById 1 param body → 200
GET
/company/locations
Get company locations
getCompanyLocations → 200default
POST
/company/locations
Create company locations
postCompanyLocations body → 200
GET
/company/locations/{id}
Get company locations by id
getCompanyLocationsById 1 param → 200
PATCH
/company/locations/{id}
Update company locations by id
patchCompanyLocationsById 1 param body → 200
GET
/company/departments
Get company departments
getCompanyDepartments → 200
POST
/company/departments
Create company departments
postCompanyDepartments body → 200
GET
/company/departments/{id}
Get company departments by id
getCompanyDepartmentsById 1 param → 200
PATCH
/company/departments/{id}
Update company departments by id
patchCompanyDepartmentsById 1 param body → 200
GET
/company/positions
Get company positions
getCompanyPositions → 200
POST
/company/positions
Create company positions
postCompanyPositions body → 200
GET
/company/positions/{id}
Get company positions by id
getCompanyPositionsById 1 param → 200
PATCH
/company/positions/{id}
Update company positions by id
patchCompanyPositionsById 1 param body → 200
GET
/company/state-tax-fields/{fips}
Get company state tax fields by fips
getCompanyStateTaxFieldsByFips 1 param → 200
PATCH
/company/state-tax-fields/{fips}
Update company state tax fields by fips
patchCompanyStateTaxFieldsByFips 1 param body → 200
GET
/company/unprocessed-hours
Get company unprocessed hours
getCompanyUnprocessedHours → 200
PUT
/company/unprocessed-hours
Replace company unprocessed hours
putCompanyUnprocessedHours body → 200
GET
/company/pay-schedule-dates
Get company pay schedule dates
getCompanyPayScheduleDates 3 params → 200

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are EmployeeDeductionItemBatch (19 properties), Company (16 properties), EmployeeDeductionItem (14 properties), TaxFields (14 properties). Each schema is shown below with its type and property counts.

StateDisplayFieldsObject
object
2 properties
DeductionIncludedIn401kReports
string
L For Standard Deductions: include as loan in 401k reports S report as safe harbor Y include in deferral amounts N exclude
PatchSuccessful
object
1 property
DeductionGroupingItem
object
7 properties
EmployeeDeductionItem
object
14 properties
TaxFields
object
14 properties
EmployeeDeductionItemBatch
object
19 properties
DeductionType
integer
1 Section 125 2 401K 3 403B 4 457 6 Roth 401K 7 Roth 403B 8 FSA 9 HSA 10 Simple IRA 21 Post-tax 22 Cash tips imputed 23 Union dues 24 Imputed 25 Union dues bas…
PaySchedule
object
8 properties
InsertSuccessful
object
2 properties
DisplayFieldsObject
object
5 properties
Company
object
16 properties
LocationItem
object
3 properties
StateInformationObject
object
1 property
ErrorBadRequest
object
2 properties
PositionItem
object
3 properties
DeleteSuccessful
object
1 property
WorksiteItem
object
7 properties
DepartmentItem
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onpay-company-api-openapi.yml Raw ↑

Other APIs OnPay publishes across the network.

OnPay Deductions API
OnPay Employees API
OnPay Pay Runs API
OnPay Reports API
OnPay User API
Where this information came from

This is an independent, third-party profile of OnPay Company API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.