DRP SDKs & Libraries
Official SDKs make it easy to integrate DRP into your application. All SDKs are open-source, actively maintained, and provide type-safe interfaces to the DRP API.Available SDKs
JavaScript/Node.js
For web applications, Node.js servers, and React Native apps
Python
For Django, Flask, FastAPI, and Python-based POS systems
Go
For high-performance backends and microservices
PHP
For WordPress, Laravel, and PHP-based e-commerce platforms
iOS (Swift)
Native SDK with Secure Enclave integration for banking appsSwift Package Manager, CocoaPods
Android (Kotlin)
Native SDK with KeyStore integration for banking appsGradle dependency
SDK Features
All official DRPs SDKs provide:Core Functionality
- [Yes] Receipt encryption/decryption - RSA-2048-OAEP with proper padding
- [Yes] Cryptographic signing - RSA-SHA256 signature generation and verification
- [Yes] Key management - Secure key storage and rotation
- [Yes] API client - Type-safe HTTP client for all DRP endpoints
- [Yes] Error handling - Structured exceptions with retry logic
- [Yes] Rate limiting - Built-in rate limit handling and backoff
Advanced Features
- Hardware security - HSM integration (server SDKs), Secure Enclave/KeyStore (mobile SDKs)
- JSON-LD support - Schema.org receipt format validation
- Automatic retries - Configurable exponential backoff
- Logging & metrics - Structured logging and telemetry
- Testing utilities - Mock clients and test helpers
- TypeScript/Type hints - Full type safety where applicable
Quick Start
Server-Side (Merchant Integration)
Client-Side (Banking App)
Installation Guides
Select your platform for detailed installation and setup instructions:JavaScript/Node.js
npm, yarn, or pnpm
Python
pip or poetry
Go
go get or go modules
PHP
Composer
iOS
SPM, CocoaPods, Carthage
Android
Gradle
SDK Comparison
| Feature | JavaScript | Python | Go | PHP | iOS | Android |
|---|---|---|---|---|---|---|
| Merchant API | [Yes] | [Yes] | [Yes] | [Yes] | [No] | [No] |
| User API | [Yes] | [Yes] | [Yes] | [Yes] | [Yes] | [Yes] |
| Receipt Encryption | [Yes] | [Yes] | [Yes] | [Yes] | [Yes] | [Yes] |
| Receipt Decryption | [Yes] | [Yes] | [Yes] | [Yes] | [Yes] | [Yes] |
| HSM Support | [Yes] | [Yes] | [Yes] | [Partial] | N/A | N/A |
| Secure Enclave | N/A | N/A | N/A | N/A | [Yes] | N/A |
| KeyStore | N/A | N/A | N/A | N/A | N/A | [Yes] |
| Type Safety | [Yes] (TS) | [Yes] | [Yes] | [No] | [Yes] | [Yes] |
| Async/Await | [Yes] | [Yes] | [Yes] | [Yes] | [Yes] | [Yes] |
| Webhook Helpers | [Yes] | [Yes] | [Yes] | [Yes] | N/A | N/A |
Community SDKs
Community-maintained SDKs for additional languages:Ruby
For Ruby on Rails and Sinatra
gem install drp-sdk.NET/C#
For ASP.NET and .NET applications
dotnet add package DRP.SDKRust
For high-performance Rust applications
cargo add drp-sdkJava
For Spring Boot and enterprise JavaMaven/Gradle dependency
Community SDKs are maintained by third-party contributors. While we encourage their use, official support is limited. Consider contributing if you’d like to help maintain these SDKs!
SDK Support
GitHub Issues
Report bugs and request features on the respective SDK repositories
Developer Support
Email our team for integration help
Community Forum
Ask questions and share knowledge
SDK Documentation
Detailed guides for each SDK
Contributing
All official SDKs are open-source under the MIT license. We welcome contributions!How to Contribute
- Fork the repository for your language
- Create a feature branch
- Add tests for new functionality
- Submit a pull request
Version Compatibility
| SDK Version | DRP API Version | Minimum Language Version |
|---|---|---|
| JavaScript 1.x | v1 | Node.js 16+ |
| Python 1.x | v1 | Python 3.8+ |
| Go 1.x | v1 | Go 1.19+ |
| PHP 1.x | v1 | PHP 8.0+ |
| iOS 1.x | v1 | iOS 13+, Swift 5.5+ |
| Android 1.x | v1 | Android 8+ (API 26+), Kotlin 1.7+ |
Next Steps
1
Choose Your SDK
Select the SDK for your platform/language
2
Install & Configure
Follow the installation guide for your chosen SDK
3
Review Examples
Check code examples and sample applications
4
Test Integration
Use sandbox environment to test your implementation
5
Go Live
Deploy to production with confidence