List Accounts (Admin)
Authorizations
JWT bearer token. App-user tokens are issued by POST /auth/token (the partner backend calls it as its platform service account); admin and dashboard tokens are issued via OIDC login.
Query Parameters
Discriminator for [Holder] variants. Used at the wire boundary for
split-field admin query params (?holder_kind=user&holder_id=...).
Not stored as a DB column — the DB has only the URN-encoded holder
column.
user, sponsor, platform Account lifecycle status.
ACTIVE, INACTIVE, PENDING Type of financial or health account.
SAVINGS, HSA, EDUCATION, SPONSOR Sort specification for list endpoints. Read the field names as
"sort on <column> by <direction>".
A half-open time range, with a mandatory start and an optional end.
Designed to be embedded in list/filter query params via #[serde(flatten)].
Deserialize runs [TimeRange::validate] as part of deserialization, so
callers never receive a [TimeRange] that violates start_time <= end_time.