Environments

Learn about FinFusion's sandbox and production environments

Overview

FinFusion provides two environments to support your development workflow:

🧪 Sandbox

Test and develop your integration without processing real transactions.

🚀 Production

Process real transactions in your live application.

Sandbox Environment

Sandbox API Keys

Sandbox API keys start with 'sk_sandbox_'. Never use sandbox credentials in production!
sandbox-init.ts
// Initialize SDK with sandbox environment
const finfusion = new FinFusion({
  apiKey: 'sk_sandbox_...',
  environment: 'sandbox'
});

Sandbox Features

  • Test all API endpoints without real transactions
  • Simulate various response scenarios
  • Pre-configured test data available

Test Data

Test Cards

Card Number Brand Result
4242424242424242 Visa Success
4000000000000002 Visa Declined
4000000000000127 Visa Insufficient Funds

Test Accounts

Account ID Type Balance
test_acc_1 Checking $10000.00
test_acc_2 Savings $50000.00
test_acc_3 Investment $100000.00

Production Environment

Production API Keys

Production API keys start with 'sk_prod_'. Handle these with extreme care and never expose them.
production-init.ts
// Initialize SDK with production environment
const finfusion = new FinFusion({
  apiKey: 'sk_prod_...',
  environment: 'production'
});

Going Live Checklist

  • Complete integration testing in sandbox
  • Implement proper error handling
  • Set up monitoring and alerts
  • Review security best practices
  • Configure webhook endpoints

Environment URLs

Environment API Base URL Dashboard URL
Sandbox https://sandbox.api.finfusion.cloud https://sandbox.dashboard.finfusion.cloud
Production https://api.finfusion.cloud https://dashboard.finfusion.cloud