Skip to main content
POST
Create a reimbursement

Authorizations

Authorization
string
header
required

Your secret API key, sent as Authorization: Bearer hmk_test_....

Headers

Hammock-Version
string

The API version to use for this request. Defaults to the version pinned to your API key.

Body

application/json
employee
string
required
benefit
string
required

A benefit that pays reimbursements through payroll.

amount
integer
required

Amount in cents.

Example:

12500

Response

The pending reimbursement.

id
string
required
Example:

"reimb_8Wq3Zr6tHy1D"

object
string
required
Allowed value: "reimbursement"
employer
string
required
Example:

"empr_1Qx8Zt2eZvKYlo2C"

employee
string
required
Example:

"emp_5Tg7Rw2nBx8P"

benefit
string
required
Example:

"ben_1Zx5Cv9bNm3Q"

benefit_type
enum<string>
required
Available options:
hsa,
health_fsa,
limited_purpose_fsa,
dependent_care_fsa,
ichra,
lsa,
hra,
cobra,
wellness
amount
integer
required

Cents to pay the employee. Pay it in full or not at all.

Example:

12500

currency
string
required
Allowed value: "usd"
tax_treatment
enum<string>
required

non_taxable reimbursements are paid as a non-taxable earning. taxable ones are supplemental wages, with no gross-up.

Available options:
taxable,
non_taxable
status
enum<string>
required
Available options:
pending,
paid,
canceled
livemode
boolean
required
created
string<date-time>
required
payroll
string | null

The payroll that paid it.

Example:

"pay_6Mn2Bv8cXz4L"

paid_at
string<date-time> | null