Redirect Url

Yapily's knowledge article about redirect Urls

What is a redirect url?

This redirectUrl tells the Institution where to redirect the user to once they have responded to the authorisation request and leave the Institution. To facilitate this, it is mandatory that at least one redirectUrl is configured in the software statement used to register with each Institution. One responsibility of the redirectUrl is to obtain the access token from the Institution provided that the user has successfully authenticated, otherwise, to respond with sufficient information to explain what went wrong. Your visibility and ability to configure the redirectUrl depends on whether you are a direct customer or a SafeConnect customer. See the next section to learn more.

Note: This redirectUrl should NOT be confused for the callbackUrl. See Callback Url for more information.

What should your redirect be?

SafeConnect Customers

As Yapily manages the registration to each Institution your redirecUrl will be configured by Yapily to In order to provide the best experience to your customers, you should use the callback option so that the user journey does not end at


Direct Customers

As you have your own AISP/PISP licenses, you will have full control over configuring the redirectUrl in your software statement and you should configure it to a domain you control i.e. your front-end application


Unlike SafeConnect customers, if you choose to use your own redirectUrl, Yapily's auth service will not be automatically exchanging the access token. As a result, you will need to make an additional call to (Forwarding) Send OAuth2 Code to obtain a consentToken to execute the next AIS/PIS call or to obtain the error response from the bank in the event of a failure. See this section to learn how to handle the response at redirectUrl.

Configuring the redirect url

Note: This section only applies if you have your own Open Banking AISP/PISP licenses and are using your own certificates to register with each Yapily Institution

  1. Go to the Open Banking Directory and select "Login"
  2. Login with your email and password
  3. Authenticate with PingId
  4. Select your entity from the dropdown
  5. Once redirected, Click on the "Directory" link
  6. Scroll to the bottom of the menu to view your software statements
  7. Select the software statement you plan to use with each Yapily Institution
  8. Add a new redirect url (Open Banking Directory does not allow you to edit/remove unused software statements): docs_redirect_sample_tpp_open_banking_directory
  9. Contact to ensure that your new redirect url is being used in your application

Handling the redirect url response

Note: This section only applies if you have your own Open Banking AISP/PISP licenses and are using your own certificates to register with each Yapily Institution

As mentioned above, as a direct customer, you will need to execute (Forwarding) Send OAuth2 Code before you can continue the Open Banking flow. This endpoint requires the authCode and authState as body paramaters. These values can be obtained as the fragments code and state at your redirectUrl after the user actions the authorisation request at the Institution e.g.

As a result, you will need a front end application which can consume the fragments and a server to issue the token exchange and any subsequent requests to the Yapily API.