Sandbox Setup
Setting up and using the FinHub sandbox environment
Sandbox Environment Setup
This guide explains how to set up and use the FinHub sandbox environment for testing your integration before moving to production.
Sandbox Overview
The sandbox environment is a fully functional replica of our production environment, allowing you to test all API endpoints and workflows without affecting real data or transactions. All operations in the sandbox use simulated data and test accounts.
Accessing Your Sandbox
After completing the tenant onboarding process, you’ll receive:
- API Key & Secret: Credentials for authenticating with the sandbox API
- Tenant Dashboard Access: Login details for your sandbox tenant dashboard
- Test Account Credentials: Pre-configured test accounts for different user roles
Sandbox Base URLs
Use the following base URLs for all API calls in the sandbox environment:
Setting Up Your Development Environment
1. Store API Credentials Securely
Store your API credentials in environment variables or a secure configuration system, never in your source code:
2. Configure API Client
Set up your API client to use the sandbox base URL and authentication:
3. Configure Webhook Endpoints
If your application uses webhooks, set up endpoints to receive sandbox webhook events:
- Create webhook receiver endpoints in your application
- Register these endpoints in your sandbox tenant dashboard
- Implement webhook signature verification for security
Testing in Sandbox
Test Accounts
Your sandbox environment comes with pre-configured test accounts:
Account Type | Description | Login |
---|---|---|
Admin | Tenant administrator account | admin@yourtenant.sandbox |
B2C Customer | Individual customer account | customer@test.sandbox |
B2B Customer | Business customer account | business@test.sandbox |
Test Cards
For testing payment flows, use these test card numbers:
Card Type | Number | Expiry | CVV |
---|---|---|---|
Visa (Success) | 4111 1111 1111 1111 | 12/25 | 123 |
Mastercard (Success) | 5555 5555 5555 4444 | 12/25 | 123 |
Visa (Decline) | 4000 0000 0000 0002 | 12/25 | 123 |
Test Bank Accounts
For testing bank transfers:
Account Name | IBAN | BIC |
---|---|---|
Test Account | GB29NWBK60161331926819 | NWBKGB2L |
Test Account (Fail) | GB29NWBK60161331926820 | NWBKGB2L |
Sandbox Limitations
Be aware of these sandbox limitations:
- Transaction processing is simulated and may complete instantly
- Some compliance checks are simplified for testing purposes
- External payment networks are simulated, not real connections
- Daily processing limits are higher than production
Next Steps
After successfully testing your integration in the sandbox environment, proceed to the Production Setup guide to prepare for your production deployment.