payout / developers
Guide

Banklink API

On this page

The Banklink API gives access to users' bank accounts through one unified API. It is based on PSD2 and follows it closely, but it is limited by the different standards and implementations of the banks.

You call it with an access token from PayoutID, on behalf of a user (authorization code grant) or as your own application (client credentials grant). These scopes are available:

Scope Allows
BLAISP Reading the user's bank accounts: account list, details, balances and transactions
BLIBAN Verifying that the user has access to a bank account
BLPISP Creating payments on behalf of the user

Each endpoint in the Banklink API reference lists the scope it requires. How the user authorizes your application is described in Banklink authorization.

The diagram below shows a request for account details; the other calls work the same way. The OAuth2 authorization code flow is left out, see PayoutID OAuth2. The only exception is List accounts: it returns the accounts stored in Banklink without contacting the bank, so there is no strong customer authentication (SCA) between the user and the bank.

Retrieve account details using Banklink API

The Banklink API also offers IBAN ownership verification.

Choosing accounts

Your application can connect a bank and let the user choose, in your own interface, which of the authorized accounts to use:

  1. Start the consent Call Connect a bank and redirect the user to redirect_url. The user authorizes access at the bank and returns to your redirect_uri.
  2. Show the accounts Call List accounts by consent with the consent_id. Accounts come back with connected: false, except those the user already connected through another consent at the same bank, which keep connected: true.
  3. Save the choice Send the IBANs the user picked to Choose accounts. Banklink then synchronizes their transactions in the background.
  4. Read the stored data List stored accounts and Search stored transactions answer from Banklink's records without calling the bank.

Only connected accounts are synchronized, and the endpoints that call the bank answer 404 for an account that is not connected. The choice applies to the user's accounts in Banklink as a whole, not only to your application: an account disconnected here is also unavailable to the user's other applications and in Banklink web, while List accounts still returns it. An account the bank adds to the consent later is stored unconnected too; call Choose accounts again to connect it. Before the authorization expires, send the user through Renew a consent; the consent keeps its accounts and the user's choice.

Was this page helpful?