Skip to main content

Linking a Business

Use the following steps to establish the connection between a Layer business and a Check company.
1

Call the Layer Endpoint

This step establishes the mapping between a Layer business and a Check company.Endpoint: PUT /v1/businesses/{businessId}/payroll/check/configsSee the Layer documentation for full details on this endpoint.
{
  "check_company_id": "<CHECK_COMPANY_ID>"
}
Once the mapping is established, the Layer system knows to anticipate an OAuth flow.
2

Call the Check Endpoint

Proceed to authorize the integration with Check Payroll.Endpoint: PUT /integrations/partners/{integrationPartnerId}/authorizeSee the Check documentation for full details on this endpoint.
{
  "company": "<CHECK_COMPANY_ID>",
  "integration_permission": "<INTEGRATION_PERMISSION_ID>",
  "tos_timestamp": "<ISO_DATE>",
  "product_purchase_timestamp": "<ISO_DATE>"
}

Check IDs

The integrationPartnerId and integrationPermissionId values used in Step 2 differ between sandbox and production.
Use these fixed values for sandbox testing:
ParameterValue
Integration Partner IDint_Ccn63OpX6zKfIvssRdyB
Integration Permission IDipe_S2LMi4ckzax5YdN8BokZ