Multi Bank Support

This guide will explain how you can retrieve the end user's financial information from multiple banks.


Step 1: Get Access To First Bank

Get access to the first bank. You can follow the instructions in the Quickstart Guide. Consider redirecting the end user back to the bank selection UI in your solution; this would allow for a smoother user experience. Don't forget to think about a mechanism how the end user can skip adding the second bank.


Step 2: Handle Selection of Second Bank

When the end user successfully authorize access to their accounts within one ASPSP, you should present them with a mechanism to authorize access in another ASPSP, or complete this part of workflow.


Step 3: Add another Bank

If the end user chooses to add another bank, you can again follow the instructions in the Quickstart Guide - create a new EUA if you need to do so, create a new requisition, get the redirect link to start the authorization, etc. You will end up with several requisitions for the same end user, each for a particular ASPSP. You can then build an "aggregated" list of all accounts from all requisitions for the given end user and query them one by one.

When creating a new requisition, you should use the same end user ID and reference ID (so you can connect these two requisitions in your solution), but you'll need to replace the ASPSP ID and the EUA, if you created it, with ones matching the second bank for the end user. Assuming the id of the second requisition is 28d1ea3d-bf2b-466c-95ae-68d86e4b814d, the request will look like this:

curl -X POST "https://ob.nordigen.com/api/requisitions/28d1ea3d-bf2b-466c-95ae-68d86e4b814d/links/" 
-H  "accept: application/json" 
-H  "Content-Type: application/json" 
-H  "Authorization: Token YOUR_TOKEN" 
-d "{  \"aspsp_id\": \"ASPSP_ID_SECOND_BANK\"}"

Response:

{
  "initiate": "https://ob.nordigen.com/psd2/start/28d1ea3d-bf2b-466c-95ae-68d86e4b814d/ASPSP_ID_SECOND_BANK"
}