Skip to main content

HealthWalletFilterInput

Filter criteria used when querying for Health Wallet Accounts

input HealthWalletFilterInput {
platformId: ID
productCodes: [String!]
statuses: [AccountEnrollmentStatus!]
}

Fields​

HealthWalletFilterInput.platformId ● ID scalar​

The external platform whose product codes productCodes are matched against, as an id returned by linkedExternalPlatforms. Rejected without productCodes, and rejected when the value is not one of your linked platform IDs, in both cases as a GraphQL error with extension code BAD_USER_INPUT. May be omitted when exactly one platform is linked to your account.

HealthWalletFilterInput.productCodes ● [String!] list scalar​

If specified, returns only accounts whose Benefit carries one of these product codes on the external platform named by platformId (see Benefit.productCode). Values are matched exactly. An explicitly empty list matches no accounts. Composes with statuses.

Without platformId, the codes are matched on your only linked external platform. If your account is linked to no platform or to more than one, platformId is required and its omission is rejected as a GraphQL error with extension code BAD_USER_INPUT.

HealthWalletFilterInput.statuses ● [AccountEnrollmentStatus!] list enum​

If specified, returns a filtered list of accounts based on the specified statuses If not specified or array is empty, returns full lost of accounts