Table of Contents

Enum CardStatus

Namespace
SEBT.Portal.Core.Models.Household
Assembly
SEBT.Portal.Core.dll

Represents the status of a benefit card. Mirrors the Interface enum member-for-member; parity is enforced by EnumParityTests. Serialized as the member name (e.g., "Active", "Lost") over the API per JsonStringEnumConverter, so member identifiers are the wire contract.

[JsonConverter(typeof(JsonStringEnumConverter))]
public enum CardStatus

Fields

Active = 0

Card is active and can be used for purchases.

Damaged = 1

Card was reported physically damaged. Eligible for replacement.

DeactivatedByState = 2

Card was deactivated by the state agency (not by user action).

Frozen = 3

Card has been temporarily frozen (e.g., suspected fraud).

Lost = 4

Card was reported lost by the cardholder. Eligible for replacement.

NotActivated = 5

Card has been issued but not yet activated by the cardholder.

Processed = 6

Card has been processed and issued. Used as DC's primary "card is on its way" state, displayed to the user as "Processed on [date]".

Stolen = 7

Card was reported stolen. Eligible for replacement.

Undeliverable = 8

Card was returned as undeliverable by the postal service.

Unknown = 9

Card status is unknown. Used as the fallback for backend values that haven't been mapped to one of the named states; the connector should log an error so the unmapped value can be added to the mapping table.