Overview
Card lifecycle management gives users control over their card’s operational state. The primary operations are freezing (temporarily disabling) and unfreezing (reactivating) cards for security purposes.Freezing a card is a temporary, reversible action. Users can freeze and unfreeze their cards as many times as needed.
Card States
Understanding card states is essential for proper lifecycle management:Active
Card is operational and can process transactions
Frozen
Card is temporarily disabled by user
Blocked
Card is permanently disabled by system
State Transitions
State Details
Active
Active
Description: Normal operational state. Card can be used for all transactions.Allowed Operations:
- Make purchases (online, in-store)
- View card details
- View/set PIN
- Check transaction history
- Freeze card
- ✅ Use card for purchases
- ✅ Freeze card if needed
- ✅ View card details and PIN
- ✅ Change PIN
Frozen
Frozen
Description: Temporarily disabled by user for security. Reversible.Allowed Operations:
- View card details (read-only)
- Check transaction history
- Unfreeze card
- ❌ Make purchases (all declined)
- ❌ Change PIN
- ❌ ATM withdrawals
- Lost wallet (not sure if card is missing)
- Traveling and not using card
- Suspicious activity detected
- Temporary security measure
- ✅ Unfreeze when ready to use again
- ❌ Cannot make purchases while frozen
Blocked
Blocked
Description: Permanently disabled by system. Not reversible.Allowed Operations:
- View transaction history
- Request replacement card
- ❌ Make purchases
- ❌ Unfreeze card
- ❌ Change PIN
- ❌ All card operations
- Fraud detection triggered
- Multiple failed PIN attempts
- Compliance/KYC issues
- Card reported as lost/stolen (permanent)
- Regulatory requirement
- Contact support to understand reason
- Resolve underlying issue (if applicable)
- Request replacement card
Freezing a Card
Temporarily disable a card to prevent unauthorized transactions.When to Freeze
Wallet misplaced (not confirmed lost)
Suspicious transaction notification
Traveling and not using card
Taking a break from spending
Device with saved card details lost
API Request
Response
- Success (200)
- Error (400)
- Error (404)
Implementation Example
Unfreezing a Card
Reactivate a frozen card to resume normal operations.When to Unfreeze
Wallet found
Suspicious activity resolved
Ready to use card again
Returned from travel
API Request
Response
- Success (200)
- Error (400)
- Error (404)
Implementation Example
Complete Card Control Component
Here’s a comprehensive component that handles all card states:Security Best Practices
Confirmation Dialogs
Always confirm destructive or significant actions:Audit Trail
Log all state changes for security and support:Notification
Notify users of all card state changes:Freeze vs Block: When to Use Each
- Freeze (User Controlled)
- Block (System Controlled)
User initiates freeze when:
- Wallet temporarily misplaced
- Suspicious activity noticed
- Traveling without plans to use card
- Taking break from spending
- Device with saved card lost
- ✅ Reversible by user anytime
- ✅ No support contact needed
- ✅ Instant activation/deactivation
- ✅ Can freeze/unfreeze repeatedly
User Experience Guidelines
Status Visibility
Always display current card status prominently:Action Feedback
Provide immediate visual feedback:- Freeze: Show snowflake icon, blue color, disable purchase buttons
- Unfreeze: Show checkmark, green color, enable purchase buttons
- Blocked: Show stop icon, red color, display support contact
State Persistence
Remember user’s last action to prevent confusion:Troubleshooting
Cannot unfreeze card (400 error)
Cannot unfreeze card (400 error)
Cause: Card may be blocked instead of frozenSolution:
User accidentally freezes card
User accidentally freezes card
Cause: No confirmation dialog implementedSolution: Always show confirmation before state changes
Frozen card still shows as active in UI
Frozen card still shows as active in UI
Cause: UI not updated after freezeSolution: Refresh card status after state change
Rate Limiting
Handle rate limiting gracefully:Next Steps
PIN Management
Implement secure PIN viewing and setting
Transaction History
View and manage card transactions
Card Details
Securely display full card information
API Reference
Complete API documentation