Migration Overview
The Request Network SDK has been deprecated in favor of the more robust and feature-rich Request Network API. This guide provides a straightforward migration path for the few existing SDK users.SDK Deprecation NoticeThe Request Network SDK had near-zero adoption and is no longer maintained. All new development should use the Request Network API.
Quick Migration Summary
From SDK to API:- Replace direct blockchain interactions with API calls
- Simplified authentication using API keys
- Enhanced features including webhooks and advanced payment types
- Better error handling and rate limiting
- Comprehensive documentation and support
Migration Steps
1
Get API Keys
Sign up for Request Network API access at portal.request.network
2
Replace SDK Calls
Convert SDK function calls to equivalent API endpoints
3
Update Error Handling
Implement proper API error handling and retry logic
4
Add Webhooks
Set up webhooks for real-time payment notifications
Code Comparison
Request Creation
Payment Processing
Benefits of API Migration
🚀 Simplified Integration
Easier Development:
- No blockchain wallet management required
- Standard REST API calls
- Comprehensive error responses
- Built-in rate limiting and retry logic
🔔 Real-time Updates
Enhanced Monitoring:
- Webhook notifications for all events
- Real-time payment confirmations
- Automatic retry for failed webhooks
- Comprehensive event logging
⚙️ Advanced Features
New Capabilities:
- Cross-chain payments
- Batch processing
- Recurring payments
- Platform fee collection
- Multi-currency support
🛡️ Enterprise Ready
Production Features:
- High availability and uptime
- Scalable infrastructure
- Professional support
- Security audits and compliance
Common Migration Patterns
Replace SDK Initialization
Replace Event Listening
Migration Checklist
✅ Pre-Migration Preparation
✅ Pre-Migration Preparation
Before You Start:
- Review current SDK usage in your application
- Identify all SDK function calls and event listeners
- Sign up for Request Network API access
- Generate API keys for development and production
- Review API documentation for equivalent endpoints
✅ Code Migration
✅ Code Migration
Update Your Code:
- Replace SDK initialization with API configuration
- Convert request creation to API calls
- Replace payment processing with API endpoints
- Set up webhook endpoints for event handling
- Update error handling for API responses
- Test all functionality with API integration
✅ Testing & Deployment
✅ Testing & Deployment
Verify Migration:
- Test request creation and payment flows
- Verify webhook event handling
- Test error scenarios and edge cases
- Performance test with expected load
- Deploy to staging environment
- Run end-to-end tests
- Deploy to production with monitoring
Need Help?
Limited SDK SupportSince the SDK had minimal adoption, migration support is available on a case-by-case basis. Most users will find the API migration straightforward and beneficial.