Skip to main content
The Partner API lets a payroll platform offer Hammock’s benefits to its customers: health savings accounts, flexible spending accounts, ICHRA, lifestyle spending accounts and more. You keep the employer relationship and the payroll. Hammock opens and administers the accounts, runs enrollment, reviews claims and moves the money.

How the pieces fit

What each benefit puts on a paycheck

Benefits that put nothing on a paycheck still appear as benefits and elections, so you can show employees what they have.

Design principles

The API follows conventions you may know from Stripe:
  • Predictable objects. Every object has an id with a type prefix, an object field and a livemode flag. Amounts are integer cents.
  • Structured errors. Every error has a type, a stable code and the param at fault. See errors.
  • Safe retries. Send an Idempotency-Key with any POST. See idempotency.
  • Thin events. Webhooks tell you what changed and you fetch the current object. See events and webhooks.
  • Dated versions. The API is versioned by date with a Hammock-Version header, not a path prefix. See versioning.

Next steps

Quickstart

Run one employee through enrollment and a payroll in the sandbox.

Report a payroll

The core loop: deductions out, actuals in.