Skip to main content
POST
Report a completed payroll's HSA withholding

Authorizations

Authorization
string
header
required

Partner API key. psk_test_<32 hex> for test mode, psk_live_<32 hex> for live mode. Store them in your secrets manager on issue. Live keys are shown once; the scoped partner portal can show an active sandbox key again.

Path Parameters

groupId
string
required

Body

application/json
eventId
string
required
version
integer
required
Required range: x >= 1
companyId
string
required

Your company ID (the group's externalId).

payrollRunId
string
required
contributionYear
integer
required
payday
string<date>
required
type
enum<string>
required

Check payroll.type. Amendments and balancing payrolls are corrections.

Available options:
regular,
off_cycle,
amendment,
balancing,
third_party_sick_pay
status
enum<string>
required

Check payroll.status. Draft, pending and processing are held.

Available options:
draft,
pending,
processing,
failed,
partially_paid,
paid
isVoid
boolean
required

Check payroll.is_void.

sourceReference
string
required
sourceTimestamp
string<date-time>
required
rosterComplete
boolean
required

Every employee with a Prescience HSA deduction on this payroll is listed, including zeros.

employees
object[]
required
Maximum array length: 10000

Response

Already received; the stored event.

id
string
eventId
string
version
integer
status
enum<string>
Available options:
received,
held,
processed,
partial,
failed
holdReason
string | null
employees
object[]
receivedAt
string<date-time>
processedAt
string<date-time> | null