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 the method WPPComponents.getCardStatus.

State machine

The following diagram shows the typical transitions between card states. UNKNOWN isn't shown - it's a fallback the SDK returns when it can't determine the current state.

States

StatusMeaningRecommended action
UNAVAILABLEGoogle Pay turned off or unsupported on the user's devicePrompt the user to install or enable Google Pay.
NOT_PROVISIONEDCard eligible but not yet provisionedOffer "Add to Google Wallet".
PROVISIONEDCard activeOffer "Set default NFC payment" if desired.
PENDINGActivation in progressShow a pending state and poll getCardStatus for updates.
NEEDS_IDENTITY_VERIFICATIONKYCKYC Know Your Customer - the identity verification process for consumer identities. This process allows you to seamlessly and securely verify your user's identity. Weavr will ask users to submit the necessary information and documentation so that they can get approved by financial providers. incompleteRelaunch the provisioning flow to finish verification.
SUSPENDEDTemporarily blockedDirect the user to contact issuer support.
UNKNOWNUnrecognized stateLog the state and show a fallback message.