# Use Case 10.1 Revoke the wallet using the revocation code
## Overview
| Aspect | Description |
| ---------------------------- |--------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Summary** | The user visits the revocation portal and enters its revocation code. When submitted the backend revokes the wallet so that it cannot be used anymore. |
| **Goal** | Rmotely delete the NL Wallet and all data by entering the 18-digit revocation code, so that no one else can access or use the wallet. |
| **Preconditions** | **None** |
| **Postconditions** |
- Wallet is permanently deleted
- All cards and data are removed
- App will show “Your NL Wallet is deleted” when opened
|
| **Triggered by** | - User navigates to the revocation portal
|
| **Additional Documentation** | **None** |
| **Possible errors** | |
| **Logical test cases** | - [LTC74 Revoke wallet with revocation code](../logical-test-cases.md#ltc74)
|
---
## Flow
| # | Description | Next |
|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|
| **1.1** | **System displays page 'Revocation portal'**- Message: Do you want to revoke your wallet?
- Input: textfield for revocation code
- Actions: Delete wallet, Cancel, Need help?
| |
| 1.1a | User submits valid revocation code | 1.2 |
| 1.1b | User selects Cancel | |
| 1.1c | User submits invalid revocation code | 2 |
| 1.1d | User selects Need help? | Show placeholder 'under construction' |
| **1.2** | **System displays page 'Your wallet is revoked'**- Message: You used you revocation code to delete your wallet on [Timestamp].
- Actions: Back to support, Give feedback or download app in App/Play store, Need help?
| |
| 1.2a | User selects Back to support | 1.1 |
| 1.2b | User selects Give feedback or download app in app/play store
→ System opens play/app store and suspends browser | |
| 1.2c | User selects Need help? | Show placeholder 'under construction' |
| **2** | **WHEN REVOCATION CODE IS INVALID** | |
| **2.1** | **System displays screen 'Generic error'**- Message: Something went wrong, this can have several causes.
- Actions: Try again, Need help?
| |
| 2.1a | User selects Try again | 1.1 |
| 2.1b | User selects Need help? | Show placeholder 'under construction' |