HSA Designation Response Fields
Use hsaTagged to read a customer's HSA designation where it is included in CCG responses. The designation is customer-applied through Widget v3; it does not verify that a card is HSA-eligible or change its payment-method type. See Enable HSA-Aware Wallet for the integration steps.
Response locationsβ
hsaTagged appears in existing paymentMethodDetails structures without a new request contract:
| Area | Operations | Response field |
|---|---|---|
| Customer and payment-method responses | PATCH/GET /payment-methods/{id}, POST /payment-methods/search, GET/POST /customers/{customerId}/payment-method(s)[/search] | paymentMethodDetails.hsaTagged (and card.hsaTagged where the legacy card object exists) |
| V1 payment | POST/GET /payments, GET /payments/{paymentId}, PATCH .../capture|cancel | data.paymentMethod.paymentMethodDetails.hsaTagged |
| V2 payment | POST/GET /v2/payments, GET /v2/payments/{paymentId}, PATCH .../capture|cancel|allocations/{id}/confirm | data.paymentAllocations[].paymentMethod.paymentMethodDetails.hsaTagged |
| V2 refund | POST /v2/refunds, GET /v2/refunds/{refundId} | data.refundAllocations[].paymentAllocation.paymentMethod.paymentMethodDetails.hsaTagged |
The field is not added to V1 POST/GET /refunds, /customers/{customerId}/setup-payment-methods endpoints, or any payment or refund request payload. Merchant API requests cannot change the HSA designation; a submitted tag change is ignored without an HSA-specific error.
V1 refund responses do not include hsaTagged because paymentMethodDetails is absent; no new response object is introduced for this capability.
Payment and refund responses describe the designation captured for that transaction. To determine the wallet's current designation, use the current payment-method data or payment-method webhooks.
Related documentationβ
- Enable HSA-Aware Wallet β setup and supported modes
- HSA designation webhooks β event groups and state semantics
- Merchant Payout report β
ccg_hsaTaggedin reporting