๐Providers & Configurations
Overview
Tier 1: Company Default Config
โ (can be overridden)
Tier 2: User Override Config
โ (can be overridden)
Tier 3: Explicit providerName in RequestHow Provider Resolution Works
Resolution Priority (Highest to Lowest)
Real-World Example
Scenario Setup
Resolution Examples
Example 1: No Explicit Provider (Uses Defaults)
Example 2: Explicit Provider (Overrides Everything)
Provider Configuration Structure
Configuration Storage
Common Configuration Fields
Field
Type
Description
Provider-Specific Config Examples
Invoicing: Qonto
eSign: Universign
SMS: Brevo
Postal: MySendingBox
Available Providers
Invoicing (4 providers)
eSign (3 providers)
Postal (1 provider)
SMS (4 providers)
Email (Built-in SMTP)
File & Upload
Setting Up Provider Configurations
Company-Level Setup (Admins Only)
User-Level Setup
Multi-Provider Scenarios
Scenario 1: Different Providers Per User
Scenario 2: Multiple Providers for Same Service
Scenario 3: Sandbox vs Production
Common Configuration Issues
Issue 1: "Provider not configured" (400)
Issue 2: "Invalid provider credentials" (502)
Issue 3: "Provider not supported for service" (400)
Best Practices
1. Use Company Defaults for Consistency
2. User Overrides for Special Cases
3. Explicit Providers for Edge Cases
4. Test with Validation Endpoint
5. Secure Credential Storage
6. Monitor Provider Usage
Code Examples
Example 1: Using Company Default
Example 2: Explicit Provider Override
Related Documentation
Summary
Last updated