Skip to main content

Card status

The enum CardStatus defines the potential states a card can be in. The state of a given card can be retrieved using getCardStatus.

StateDescription
unavailableThe wallet is not available (e.g. Google Pay/Apple Pay disabled or unsupported).
alreadyAddedThe card is already added to the wallet. You should hide the Add to Wallet button since the card has already been added.
notAddedThe card is not added to the wallet.
requiresActivationThe card requires activation. Relaunch the provisioning flow to activate.
activatingThe card is in the process of being activated. Inform user and retry later.
suspendedThe card is suspended in the wallet by the issuer. Direct user to issuer support.
deactivatedThe card is deactivated in the wallet. Inform user; card cannot be used.
unknownUnknown status. Log and show fallback message.
googlePayErrorA Google Pay-specific error occurred. Validate card data and retry.