bunq API update: TransferWise payments, new sandbox endpoints, new SDK version

bunq
bunq Developers’ Corner
2 min readMar 25, 2020

You asked, we heard: Inspired by your ideas from our API channel on Together, we spent this February and March working on improvements around our API so you could integrate faster, streamline cross-border payments, and never worry about the upcoming major bunq API updates.

Curious to see what’s new? Let’s take a closer look at how you can…

🌍⚡Automate worldwide payments

We have made it a reality: You can send worldwide transfers in 39 currencies with bunq programmatically! ✨From now on, 10 new endpoints that let you make TransferWise payments from your bunq account to recipients in 60 countries are available in our API.

To save you time on automating international payments, we mapped out the flow you need to go through to send your first transfer. You only need to base your flow on the bunq API. Just follow the steps we laid out for you.

🤓 Save time with smarter sandbox user creation

You can now choose the subscription of the sandbox user you want to create to test your integration:

  • use POST /sandbox-user-company to generate a user with a Business subscription;
  • call POST /sandbox-user-person to create a Premium user.

The response body contains the API key of the newly created test user. Use it to create an API context and then read the user info via GET /user. You can login into the sandbox app using either the phone number or the email address you’ll find returned to the request. Use 000000 as the login code.

✅ Catch up with simplified signing in a minute

Ever since bunq Update 13, you only need to sign the request body, and only when it is mandatory. As announced in Changelog and via our API newsletter, we, on our side, are also switching to the new signing mechanism on April 28, 2020.

With the latest SDK version, you can get ready for the changes in a few minutes! Just change the version in your dependency manager, and your application will automagically start signing the body of requests and will verify bunq response signatures, even on April 29, 2020. 😉

Jump to the latest release in one click:

Looking for an easy way to start with the bunq API? Use our Postman collection! These instructions will help you get going.

Prefer working in the terminal? 💻 Start by just running a single command!

Choose your language:

  • PHP: $ bash <(curl -s https://tinker.bunq.com/php/setup.sh)
  • Python: $ bash <(curl -s https://tinker.bunq.com/python/setup.sh)
  • Java: $ bash <(curl -s https://tinker.bunq.com/java/setup.sh)
  • CSharp: $ bash <(curl -s https://tinker.bunq.com/csharp/setup.sh)

--

--