Postman collection and environments
It’s a project that allows you to access bunq’s public API using Postman.
Import
button in top left and drag all the files from the project thereCreate a sandbox user
request. It will automatically save your API key to theapi_key
to your APICreate an installation
, Add the device
, Add a session
in that order. They will create everything needed forGET - List monetary accounts
to check that everything is working properly. If it does, you can modify that request toPostman has two javascript features: “Pre-request Script” and “Tests” that can get and set environment variables. Every
pre-request script includes a minimized RSA javascript library (jsrsasign) and
some code to make signing work. Also, “Tests” save all the interesting values from responses such as tokens so that they
can be used in subsequent requests. Voila!