List Spending Accounts
Header Parameters
Authorizationstring
Query Parameters
consumer_idstring
Filter by consumer ID (Required if plan_id is not provided)
plan_idstring
Filter by plan ID (Required if consumer_id is not provided)
plan_year_idstring
Filter by plan year ID
account_typearray
Filter by spending account type
Max items
2
page_sizeinteger
Maximum number of items to return (default 20, max 100)
Minimum
1
Maximum
100
Default value
20
pageinteger
Page number starting with 0
Default value
0
Response
200
Object
Spending accounts retrieved successfully
Response Attributes
itemsarray Required
Max items
100
Show child attributes
paginationobject Required
Show child attributes
400
Object
Bad request - validation error or required parameters missing (e.g., missing both `consumer_id` and `plan_id`)
Response Attributes
typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
errorobject
Show child attributes
401
Object
Unauthorized
Response Attributes
typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
500
Object
Internal Server Error
Response Attributes
typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
default
Object
Unexpected error
Response Attributes
typestring
Nullable:
True
titlestring
Nullable:
True
statusinteger
Nullable:
True
detailstring
Nullable:
True
instancestring
Nullable:
True
Was this section helpful?
Response
Was this section helpful?