Setting up the Oauth Client

For this tutorial we want to read the transactions on behalf of a end user. Te first thing we need to do is register a oauth client. There are 2 ways to do this and we'll dive into both of them. In this chapter we try to register the client and retrieve the client ID and Client Secret that belong to your oauth client.

1. Register oauth client as a bunq user

If you have access to a bunq account then it's fairly straight forward to set up an oauth client.

You can simply retrieve your oauth client ID and Secret from the bunq app. This is also the easiest way to set up a redirect URL (More on this later).

Screen in bunq app where you can set up your oauth client

Another way is to register the client on the Developers Portal.

circle-info

End users will see your (business) name when they grant access to their bank account . That looks like this:

2. Register as a PSD2 user

In some cases you may not be a bunq user yourself but still want access to bunq user data. For instance when you're a PSD2-certified third-party provider (TPP), you can integrate directly with the bunq Public API using your eIDAS certificate.

This guide walks you through the step-by-step process to register and authenticate with the bunq environment.

This method to register a oauth client may not be applicable to you, if you're unsure refer to PSD2. and Are you a Third Party Provider (TPP)? Start here!

Last updated

Was this helpful?