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
.
State | Description |
---|---|
Unavailable | The wallet is not available. |
Provisioned | The card is provisioned in the wallet. You should hide the Add to Wallet button since the card has already been added. |
NotProvisioned | The card is not provisioned in the wallet. |
Pending | The card is provisioned in the wallet but pending activation. The card is going to shortly become Provisioned , and should be treated as such. |
Suspended | The card is suspended in the wallet by the issuer. |
NeedsIdentityVerification | The user added the card manually to the digital wallet, but they did not complete the multi-factor verification flow. Attempting to provision the card resumes the process initiated by the user. |
Deactivated | The card is deactivated in the wallet. |
Unknown | Unknown status. Should not occur. |