Embed payroll UI and APIs into your product in minutes.
Mint a scoped tenant token, mount one of 33 web components, and call the same governed payroll API behind calculations, pay runs, filings, evidence, webhooks, and MCP tools.
Bearer-only auth · no cookies · every write lands in the evidence chain
Partner keys stay on your servers. The browser gets a receipt-sized token.
Every credential is scoped to exactly what the page renders — tenant, component allowlist, optionally one employee, optionally one origin — and dies in fifteen minutes.
│ lp_live_* partner key (never leaves your servers)
▼
ledra pay api — mints the scoped token
│ embed token (15-min JWT, tenant-pinned)
▼
your browser app — components hold it in memory
│ component reads + allowlisted writes
▼
evidence chain — every write receipted with the token's jti
POST /v1/tenants/ten_8fk2/embed/token { "components": ["payslip-viewer", "leave-request"], "employee_id": "emp_721", "origin": "https://app.yourdomain.com" } → 201 { "token": "…", "expires_in": 900 }
:employeeId routes 404, tenant-level writes are denied.Six ways in. One governed core underneath.
Payroll lifecycle API
Regulation packs, employees, pay runs, shadow runs, payslips, statutory lodgement, evidence, webhooks — stable objects across every country.
/docs/api/ → UIWeb components
Drop-in payroll UI for payslips, pay-run dashboards, onboarding, leave and governance. Shadow-DOM isolated, themeable, framework-agnostic.
/sdk/ → AuthEmbedding model
Tenant-scoped tokens, component allowlists, employee pinning, origin binding — browser-safe auth with both integration topologies.
/sdk/embedding/ → TryPlayground
Every component with sample data, attribute specs, events and theming — before you hold any credentials.
playground.ledrapay.com → AppPayroll console
The full app template running live against the sandbox — auto-connects to demo data, or bring your own sandbox key.
payroll.ledrapay.com → AgentsMCP tools
Risk-tiered payroll actions for AI agents: mandatory governance reasons, approval gates on anything irreversible.
/docs/api/#mcp →33 components across the payroll lifecycle.
Onboarding & peoplehire, declare, pay details
Payrollthe run lifecycle, end to end
Leaverequest, approve, manage
Organisationsetup, structure, awards
Governance & reportingprove it, file it, watch it
Dashboards & insightstiles and charts you compose
The dashboard and reports components now render charts; ledrapay-chart (bar · histogram · line · donut) and ledrapay-kpi-tile are standalone primitives you compose from your own data. Every component renders sample data with zero credentials and goes live with an embed token. Attributes, events and theming variables for each: the playground. The payslip in the hero is one of them, running on this page right now.
The docs surface, grouped by job.
Core docs
API referenceevery endpoint, object and error Embedding guidetopologies, tokens, trust boundaries Webhooksevent streams for run lifecycles MCP toolsagent actions with approval gatesBuild UI
Component SDKdocs with live components Component catalogueall 33, grouped by lifecycle Payroll consolethe full app template, live Playgroundspecs, events, themingInstall
CDNimmutable versions, SRI, enterprise tier npm registry@ledrapay/components, token-requiredReady to go past sample data?
Sandbox keys come with real engine-computed tenants and integration support from the team that built the packs.