Skip to main content
An employer is a company you offer Hammock benefits to. You create it with the details you already hold, and Hammock’s hosted setup collects the rest: business verification, signed agreements, a bank account and the benefits the employer wants to offer.

Create the employer

Everything beyond name, external_id and primary_contact is optional and prefills hosted setup. external_id is your own company ID. It must be unique across your employers, and you can look an employer up by it with GET /employers?external_id=....

Send the admin to hosted setup

Create an employer link when the admin clicks through from your product, then redirect them to its url.
Links are single-use and expire a few minutes after creation. Don’t email them or store them.
  • return_url is where the admin lands when they finish or leave. Landing there doesn’t mean setup is complete, so check requirements before you show a success state.
  • refresh_url is where Hammock sends an admin whose link expired or was already used. Create a fresh link there and redirect again.
An admin can leave and come back. Create a new link each time and setup resumes where they stopped.

Statuses and requirements

Every employer is reviewed by Hammock before it goes live, and you get an employer.activated event when review finishes.
Requirements can come back after an employer is active, for example when a bank account is closed. Listen for employer.updated and send the admin a link of type update.

What you can do before an employer is active

You can create pay schedules and employees as soon as the employer exists, so the roster is ready when review finishes. Enrollment links and payroll reports need an active employer and return an employer_not_active error until then.

Billing

Hosted setup doesn’t ask the employer for a payment method. Hammock invoices you for the employers you bring, and you bill them as part of your own pricing.
Connecting an employer that already uses Hammock directly isn’t part of this preview. Tell us if you have customers in that position.