Skip to main content

Session management

Maxime avatar
Written by Maxime
Updated over 4 months ago

Session status information

A new way of reporting session status has been introduced. Session status is now provided based on two attributes:

  • Stage:

    • Authentication (receiving access token) - SCA phase

    • Accounts - retrieving a list of consented PSU accounts from ASPSP

    • AccountBalances - retrieving balances for PSU accounts from ASPSP

    • Transactions - retrieving a list of transactions for consented PSU accounts from ASPSP

  • Status:

    • Initiated - event send to queue

    • InProgress - the event has been consumed by dedicated of connector

    • Finished - connector provided a response after successful execution of API call(s)

    • Failed- connector provided a response after unsuccessful execution of API call(s) (one or more tasks has been executed with errors)

    • AuthorizationFailed - access token has been rejected when accessing API (obsolete, used with previous framework release 94 and previous)

In addition, for stages Accounts and Transactions a number of accounts and transactions is provided: e.g. 2/3 ( 2 of 3 accounts were aggregated)

Following endpoints are available

  • /api/session/status-> current stage and its status

  • /api/session/{stage}/status -> status of given stage

  • /api/session/status/details -> session details

Based on the session origin the full relation of the Status and Stage is represented in two diagrams;

Session source: Authentication:

Session source: Refresh active account:

Status AuthenticationRequired is obsolete, used with previous framework (release 94 and previous)

Did this answer your question?