Get Started
Environments
Learn about Grid’s production and sandbox environments and how to use them
Grid provides two environments for your integration:
- Production: For live transactions and real customer data
- Sandbox: For testing and development
Base URLs
Use these base URLs to access the Grid API:
Environment Selection
All API requests require the x-grid-environment
header to specify which environment you’re using. For detailed information about authentication headers, see the Authentication guide.
Specifies which environment to use for the operation. Must be either ‘production’ or ‘sandbox’.
Testing
The sandbox environment is perfect for testing your integration. It provides the same functionality as production but with test data. Use it to:
- Test your authentication flow
- Test payment flows
- Validate KYC processes
Best Practices
- Always start development in the sandbox environment
- Use different API keys for production and sandbox
- Test thoroughly in sandbox before moving to production
- Monitor your API usage in both environments