SDK & Integration Tools
Official .NET SDK and standalone DTOs for seamless 7G API integration.
🚀 SDK In Development
Our official .NET SDK is currently in active development and testing. Preview what's coming below, or download our standalone DTOs to start integrating today with your preferred HTTP client.
Integration Options
Choose your integration path based on your project requirements and timeline:
Official .NET SDK
Comprehensive client library with full automation (In Development)
- Automated JWT token refresh & lifecycle management
- Strongly-typed resource clients for all endpoints
- Fluent filtering API with 11 query operators
- Pre-configured environment support
- Built-in error handling & retry logic
Standalone DTOs
Type-safe models for custom implementations (Available Now)
- Type-safe request/response classes
- All API data structures & filters
- Compatible with any HTTP client
- Lightweight single .cs file (~787 lines)
- Zero external dependencies
Download Standalone DTOs
Get started immediately with our standalone DTOs file. This single C# file contains all request/response models and can be used with any HTTP client (HttpClient, RestSharp, etc.).
SevenG.API.SDK.DTOs.cs
~50 classes including BizEntityDTO
, InvestmentDTO
, APIResponse
, TokenResponse
, FilterField<T>
💡 Using the DTOs
The DTOs file contains only type definitions. You'll implement your own HTTP client, token management, and query string building. For complete API specifications and endpoint details, see our API Reference.
Planned SDK Capabilities
The official SDK will provide comprehensive workflow support across all 7G API resources. Here's a preview of the key capabilities being developed:
📝 Transaction Processing
In Development
Complete workflows for deposits, allotments, redemptions, conversions, and transfers. Includes validation, settlement polling, and account balance verification.
📊 Distribution Lifecycle
In Development
4-step distribution workflow (Declare → Distribute → Allotment → Complete). Account selection strategies, DRP handling, and tax component configuration.
📈 Async Report Generation
In Development
3-stage async workflow (Create → Poll Status → Get Result). Report parameter configuration, status monitoring, and stream handling.
📁 File Operations
In Development
Document upload/download patterns, statement generation, and stream disposal. Handling IFormFile, Stream, and large file processing.
🛡️ Error Handling & Resilience
In Development
Retry patterns, exponential backoff, circuit breakers, and logging strategies. Handling 401 refresh failures, 400 validation errors, and 500 server errors.
⚡ Best Practices
In Development
Performance optimization, batching strategies, caching patterns, and security considerations. HttpClient lifecycle management and production deployment guidelines.
Key Features
The SDK is being built with enterprise-grade features and developer experience in mind:
🎯 Resource Clients
- 14 Pre-built Clients: BizEntity, Investment, Distribution, BizTransaction, BizEvent, Document, Report, and more
- Strongly-Typed: Full IntelliSense support with compile-time safety
- Consistent API: Uniform patterns across all resource operations
🔍 Filtering & Querying
- 11 Filter Operators: Equal, NotEqual, In, NotIn, GreaterThan, LessThan, Contains, StartsWith, EndsWith, and more
- Fluent API: Clean, readable query construction with
FilterField<T>
- Implicit Conversion: Simplified syntax for common filtering scenarios
🔐 Authentication
- Automatic Token Refresh: JWT lifecycle managed transparently with 30-second buffer
- Session Persistence: Save and restore tokens across application restarts
- Multi-Environment: 7 pre-configured environments (Production, Development, Test, Lab, Preview, Demo, Localhost)
⚙️ Developer Experience
- Defensive Parsing: Null-safe response handling with detailed error messages
- Dependency Injection: First-class support for ASP.NET Core DI containers
- Async/Await: Modern asynchronous patterns throughout
Getting Started Now
While the SDK is in development, explore our comprehensive API documentation to understand the platform architecture and endpoints:
API Reference
Complete endpoint documentation with parameters, responses, and business rules
Authentication Guide
Deep dive into JWT authentication, token refresh, and security best practices
Query & Filtering
Master filtering patterns and query optimization techniques
BizEntity Architecture
Understand the BizEntity-centric design philosophy