HSA-Aware Wallet Use Cases
Use Enable HSA-Aware Wallet for the supported presentation and card-add flow. The balance is informational and separate from the customer-designated card.
Business rules
Review HSA-Aware Wallet Capabilities for the product rules that apply to these use cases.
Positive casesβ
| Case | Expected outcome |
|---|---|
| Eligible session receives a valid balance | Show the informational banner under the configured conditions. |
| Eligible banner appears and no card is designated | Offer Add HSA Card; after a successful save, update wallet presentation. |
| Customer replaces an existing designation | Confirm the replacement and move designation only after a successful save. |
| Supported payment uses a designated stored card | Process normal card payment behavior and retain the designation context for supported reporting. |
Negative casesβ
| Case | Expected outcome |
|---|---|
| Balance retrieval fails | Hide the banner and leave available payment methods usable. |
| Merchant API attempts an unsupported designation change | Apply supported updates without changing the HSA designation. |
Edge casesβ
| Case | Expected outcome |
|---|---|
| Two widgets were opened before a designation changed | Each session retains its loaded state; a new session retrieves current state. |
| Pay and Save matches an existing saved card | Use duplicate-method handling and preserve applicable saved flags; see duplicate processing. |
| More than one vendor HSA account is present | Use the balance selection rule in the HSA-aware wallet capability; do not aggregate balances. |