Environments
We provide a sandbox environment for testing in a safe environment and a production environment.
The sandbox environment is for building and testing integrations. It is the same as production with some limitations (not a full list):
- No actual payments or transactions are made.
- It is only possible to sign in with MitID test users.
- Email is only sent to whitelisted emails.
- SMS is only sent to whitelisted phone numbers.
Sandbox environment
You will find our sandbox environment at:
- Sandbox Portal: https://sandbox-portal.safepaynordic.dk
- Sandbox API: https://sandbox-api.safepaynordic.dk
- Sandbox web app (for connect, payment and bank account URLs): https://sandbox.mitsafepay.dk
The examples in this documentation use the sandbox API.
MitID Test users
The sandbox uses the MitID test environment, so MitID test users also work in our sandbox. Create test users with the MitID test tool.
Vipps test payments
To complete a Vipps payment in the sandbox, you need the test version of the Vipps MobilePay app for iOS or Android. See how to install the Vipps MobilePay test app.
Once the app is installed, you can use the following test user to complete a payment:
- Phone number: +45 45894021
- CPR number: 110921-5841
- Verification code: 1236
Production environment
When your integration works in sandbox and you have production access, use our production environment:
- Production Portal: https://portal.safepaynordic.dk
- Production API: https://api.safepaynordic.dk
- Production web app (for connect, payment and bank account URLs): https://mitsafepay.dk