What is a Device ID?
Device Identification
A Device ID is a unique identifier that links a customer’s device (phone, tablet, computer) to their Peere Network identity, enabling merchants to find and bill customers without requiring manual input.
How Device IDs Work
Device ID Generation
Client-Side Implementation
- JavaScript/Web
- React Native/Mobile
- Flutter/Dart
Bank Device Linking
Banks must link customer devices to their phrases to enable merchant discovery:Linking Process
Device Management
- List Devices
- Unlink Device
Merchant Device Lookup
Merchants can find customers using device IDs:Customer Discovery Flow
Implementation Example
Device ID Best Practices
Security Considerations
Privacy Protection
- Don’t store personally identifiable information with device IDs - Use hashed or encrypted device identifiers when possible - Comply with privacy regulations (GDPR, CCPA)
Data Retention
- Set appropriate retention periods for device data - Allow users to request device unlinking - Clean up orphaned device records regularly
Performance Optimization
- Caching Strategy
- Batch Processing
Troubleshooting
Common Issues
Device ID Problems and Solutions
Device ID Problems and Solutions
Device Not Found
Device Not Found
Symptoms: API returns 404 or customer not found Causes: Device not linked by bank, incorrect device ID format Solutions: Verify device linking, check device ID generation logic
Multiple Device IDs
Multiple Device IDs
Symptoms: Same customer has multiple device IDs Causes: Device ID regeneration, multiple browsers/apps Solutions: Implement device ID persistence, allow multiple device linking
Lookup Performance Issues
Lookup Performance Issues
Symptoms: Slow device lookup responses Causes: No caching, too many API calls Solutions: Implement caching, batch requests, optimize API calls
Next Steps
Customer Discovery
Learn advanced customer discovery techniques
Billing Integration
Implement billing flows with discovered customers
Webhooks
Set up real-time notifications
API Reference
Explore device-related API endpoints