Environments
VaultsPay provides two fully-isolated environments so you can develop and test safely before going live.
Sandbox
Use the sandbox for development, automated tests, and QA. It does not move real money — all transactions, transfers, and KYC flows are simulated.
| Property | Value |
|---|---|
| Base URL | https://api.vaultspay.dev |
| Dashboard | https://client.vaultspay.dev |
Production
The production environment processes real money. Access is granted once you’ve completed onboarding and your compliance review.
| Property | Value |
|---|---|
| Base URL | https://rest.vaultspay.com |
| Dashboard | https://dashboard.vaultspay.com |
Switching environments
Switching environments is as simple as swapping the base URL. Everything else — endpoints, parameters, response shapes — is identical.
config.js
const config = {
sandbox: {
baseUrl: 'https://api.vaultspay.dev',
},
production: {
baseUrl: 'https://rest.vaultspay.com',
}
}
export default config[process.env.NODE_ENV === 'production' ? 'production' : 'sandbox']