A versioned REST API, a fully-typed SDK and signed webhooks — provision a client org, run a payroll cycle and get a callback when it settles. Embed payroll in an afternoon.
Guides, quickstart and concepts — get from zero to your first payroll run.
Every one of 255 actions over one versioned /v1 endpoint, with auth, idempotency and errors.
A typed TypeScript client — every action autocompleted, per-action input and result.
HMAC-signed events with a verify helper and automatic retries with backoff.
A safe, isolated mode to build and test against before you touch real data.
Live platform status and uptime for the API and webhooks.
import { DecentroHR } from "@decentrohr/sdk"; const dhr = new DecentroHR({ baseUrl, token }); // create → calculate → approve → finalize const run = await dhr.payroll.createRun({ companyId, periodStart, periodEnd }); await dhr.payroll.calculate({ runId: run.id }); await dhr.payroll.finalize({ runId: run.id }, { idempotencyKey: `finalize:${run.id}` }); // ⤷ signed webhook — payroll.run.completed
Get a sandbox key, call the API, ship. The same contract the AI runs on.