If you do not own an Android device to run our Sandbox app on, you can do it using an emulator.
Open Android Studio.
Find and select Tools → Android → AVD Manager on the top menu.
Start the wizard by clicking + Create Virtual Device.
Select a device (we recommend Pixel 5.0 or Nexus 6) and press Next.
Select an x86 system image (we recommend Nougat, API Level 25, Android 7.1.1 with Google APIs) and press Next. The image needs to have Google Play Services 10.0.1 or higher.
In the bottom left corner, select Show Advanced Settings.
Scroll to Memory and Storage.
Change Internal Storage to 2048 MB.
Change SD card to 200 MB.
On the right side under Actions, select the green Play button.
Wait for the device to boot, this may take a few minutes.
Open the command line.
Navigate to your Android SDK platform tools directory (e.g.
cd ~/Library/Android/sdk/platform-tools on macOS).
Make sure that the virtual device is started and has fully booted.
./adb install ~/Downloads/bunq-android-sandboxEmulator-public-api.apk. and wait for the success message.
Create a sandbox account in the developer portal.
Log in to the sandbox app using the sandbox user credentials.
If you couldn't generate a sandbox account in the developer portal, use Tinker:
tinker/user-overview to create a sandbox account. The output of the command will include the login credentials for the sandbox account.
You can create additional sandbox API keys for the sandbox app. Go Profile → Security & Settings → Developers → API keys → Add API key.
The API key is valid and can be assigned to an IP within 4 hours after its creation. Otherwise, it becomes invalid. API keys that are created via the sandbox app are wiped from the sandbox base with each sandbox reset.