API reference v1
Health Savings Accountgated
I.R.C. § 223; a § 4975 prohibited transaction disqualifies the entire account, § 223(e)(2)
| Slug | health-savings-account |
|---|---|
| Nature | CustodialHolding — Beneficial owner holds title; the institution holds possession. Off balance sheet. |
| Contributions | Deductible |
| Earnings | TaxFreeIfQualified |
| Contribution year | PriorYearElectionAllowed |
| Status | gated |
| Legacy code | HSA — ISCP import and statement templates only. Not identity, and not accepted by the API. |
Create Account parameters
POSThttps://api.a8core.io/v1/accountsoperation: CreateAccount
| Name | Type | Description | |
|---|---|---|---|
| ProviderReferenceId | string | optional | Your internal reference. Used as the idempotency key. |
| ClientId | Guid | required | The A8 Core™ Client ID that owns the account. |
| AccountTypeCode | string | required | Must be health-savings-account. |
| InstitutionId | Guid | required | The institution holding the assets. It must hold every authority this type requires. |
| InvestmentId | long | optional | Links the account to a sponsor investment. |
Example
POST https://api.a8core.io/v1/accounts
"ProviderReferenceId": "acct-10293", "ClientId": "8fa2c1e4-5b6d-4f3a-9c2e-7d1a2b3c4d5e", "AccountTypeCode": "health-savings-account", "InstitutionId": "b4c1e770-9d33-4a02-91ef-2c6a8b5d0f14"
200 OK
"RequestId": 1736472901835, "Status": 1, "AccountId": "3c7b1f90-2a44-4e21-8d6c-9b0e5a1f7c22"
Errors
| ErrorCode | Meaning | |
|---|---|---|
| InstitutionNotAuthorizedForAccountType | The institution does not hold every authority this type requires. | |
| ClientNotFound | No client matches the supplied ClientId. | |
Eligible assets
The row below is the account-type dimension only. What this account may actually hold is the intersection of the account-type rule, the asset-class rule, any instrument predicates, and the institution’s authority asset scope.
●Permitted◐Conditional○Not permitted
| Account family | Stocks & ETFs | Mutual funds | Bonds & fixed income | Cash & money market | Real estate | Private equity & venture | Private credit & notes | Precious metals | Digital assets | Stablecoins |
|---|---|---|---|---|---|---|---|---|---|---|
| Health Savings Account | Permitted | Permitted | Permitted | Permitted | Not permitted | Not permitted | Not permitted | Not permitted | Not permitted | Not permitted |
No life insurance § 223(d)(1)(D)(i); no commingling (ii). Alternatives = product policy, not statute.
Rules that govern this type
- A prohibited transaction under § 4975 disqualifies the entire account as of January 1 of that year (§ 223(e)(2)). There is no partial disqualification and no correction mechanism comparable to an IRA’s.
- No life insurance (§ 223(d)(1)(D)(i)); no commingling except in a common trust or common investment fund (ii).
- The collectibles bar of § 408(m) is not incorporated into § 223 by its terms. Where alternatives are unavailable here, that is product policy and institutional authority scope, not a statutory prohibition.