There are two available Ansa API environments.
- Live environment — Go live with your integration. Your production application will target this environment.
- Sandbox environment — Test you API integration using a sandbox environments from payment service processors.
This table provides a quick comparison of environments.
| Function | Sandbox | Live |
|---|---|---|
| Test environment, no movement of real funds. | ✅ | |
| Use of test payment tokens and credit cards. | ✅ | |
| Live product, transactions move real funds. | ✅ | |
| Use of real payment tokens and credit cards. | ✅ | |
| Real fund payouts and settlements. | ✅ |
Live environment
The base URL for the live API is https://api.getansa.com.
The live environment connects to external financial systems. Integrations connected to the live environment will move real funds.
Sandbox environment
The base URL for the sandbox API is https://api-sandbox.getansa.com.
The sandbox environment gives you access to all of Ansa APIs, but without connection to external financial systems. This environment is intended to help you build and validate your Ansa integration before launching and transacting with real funds.
Sandbox environment test cards
Ansa supports various test payment cards provided by the configured Payment Service Provider’s sandbox environment. These cards will allow you to simulate payment flows within the sandbox environment.
Please note: the sandbox environment does not support real card details—they will be rejected and no actual transactions will be processed.