Get Contribution Summary
GET
/users/{user_id}/accounts/{account_id}/contributions/summaryYear-to-date contribution total, applicable IRS limit, and remaining headroom, the “help users max out their HSA” use case in one call. Requires the benefit_account scope and product.
Path Parameters
user_idstringrequired
The Sail user id.
account_idstringrequired
The Sail account id.
Query Parameters
tax_yearinteger
Defaults to the current tax year.
Response
Contribution summary.
account_idstring
The Sail account id.
tax_yearinteger
The tax year this summary covers.
ytd_totalnumber<float>
Total contributions made so far this tax year.
annual_limitnumber<float>
Applicable IRS limit for the account holder’s coverage tier.
remainingnumber<float>
Headroom remaining before the annual limit is reached.
coverage_tier"self_only" | "family" | "unknown"
The account holder’s HSA coverage tier, which determines the applicable IRS limit.
as_ofstring<date-time>
When this summary was computed.
Standard error envelope covering 400, 401, 403, 404, 429, and 500.
errorobject
The error detail.
API Reference › Endpoints › Accounts