Overview
Fraudiant provides three separate environments to help you organize API usage across different stages of development:Development
Local development and testing
Staging
Pre-production testing environment
Production
Live, customer-facing application
Environment-Specific Features
The following features are isolated per environment:Domain Blocklists
Custom blocklists are maintained separately for each environment. Domains blocked in production won’t affect your development or staging environments.Webhook Configurations
Configure different webhook endpoints for each environment. Point production webhooks to live systems while development webhooks target localhost or testing tools.Usage Analytics
View usage logs, analytics, and metrics separately for each environment to track consumption patterns.API Key Organization
Create and manage environment-specific API keys to keep your workflows organized and secure.Shared Across All Environments
This means:- Rate limits apply across all environments combined
- Billing quotas are shared (e.g., 10,000 requests/month applies to all environments)
- API responses use the same validation logic and data
- Performance is consistent across all environments
How to Use Environments
Creating Environment-Specific API Keys
1
Access API Keys
Navigate to the API Keys section in your dashboard.
2
Create New Key
Click Create New Key and provide a descriptive name (e.g., “Production API Key” or “Dev Environment”).
3
Select Environment
Choose the target environment: Development, Staging, or Production.
4
Save and Copy
Save the key and copy it to your application’s configuration.
The environment is determined automatically by which API key you use — no manual specification is needed in your requests.
Best Practices
Use separate keys for each environment
Use separate keys for each environment
Never use your production API key in development or staging. This prevents accidental modifications to production data and makes debugging easier.
Test blocklists in development first
Test blocklists in development first
Before adding domains to your production blocklist, test them in development or staging to ensure they don’t block legitimate users.
Configure environment-specific webhooks
Configure environment-specific webhooks
Use tools like ngrok or RequestBin for local webhook testing in development.
Monitor quota usage across environments
Monitor quota usage across environments
Remember that all environments share the same quota. Heavy testing in development can impact production availability.
Example Configuration
Here’s how you might organize API keys across environments:Store API keys as environment variables and never commit them to version control.