Sandbox (PSD2 APIs)

This section provides useful information about the use of PSD2 APIs within the context of the Sandbox environment.

The main objective of the Sandbox Environment is to expose the bank’s APIs without offering access to sensitive data. It basically provides a simulation of the functionality of the bank’s actual backend systems, using a dummy set of data for testing purposes.


 

Sandbox Database Assumptions

The Sandbox Database was designed to address the particular needs and meet the purposes of this Environment. To this end, the database implementation was based on a few assumptions:

  1. For greater flexibility and independence among various third-party developers and their applications, each client application with a specific clientId will have access to a different subset of data. To achieve this, a template of basic data has been set, which is replicated each time an application with a new clientId attempts to connect to the database. The purpose of this replication is to provide each client application that connects to the Sandbox environment with the same initial set of dummy data.
  2. The template dataset consists of 3 users (UserA, UserB, UserC), with each one holding a specific number of accounts and/or cards-accounts.
  3. Since the database contains only the particular dummy data, in order to get a valid response from several of the APIs, certain predefined values must be used, otherwise exceptions are thrown. These values are presented in detail in the following sections.
  4. Each login session with a generated oAuth token will expire after 60 minutes. After this timeframe, the client application will need to login again, unless it makes use of a refresh token. For more information, please refer to the respective section on Authorization (OAuth2).

 

Sandbox PSD2 v3.1 API Endpoints

Base Path https://api.rapidlink.piraeusbank.gr/piraeusbank/production
PSD2 AIS v3.1 URI Paths see product specification here
PSD2 PIS v3.1 URI Paths see product specification here
OAuth2 (for PSD2 v3.1 APIs) /v3.1/oauth/oauth2/authorize
/v3.1/oauth/oauth2/token

 

 

 

 

 


Sandbox Users & Data

User Login Information

User Username Password
UserA usera 123
UserB userb 123
UserC userc 123

 

 

 

 

 

User Accounts & Cards

User Accounts Credit Cards
UserA

GR2801718220007022123123123

GR9001718220007025111222333

-
UserB

GR0101718220007027000224226
GR0101718220007052999999000

430589******6006
UserC

GR0101718220007027000112113
GR1801718220007022123456789

-
[accounts from other banks] 

GR9202600260000000000299650

CY22002001550000000000084100

 

 

 

 

 

 

 

 

 

User Account & Card Transactions (for PSD2 AIS calls)

User Account / Card Valid Transaction Dates
UserA

GR2801718220007022123123123

01/12/2017 - 31/12/2017

GR9001718220007025111222333

01/01/2018 - 31/01/2018
UserB

GR0101718220007027000224226

01/01/2018 - 31/01/2018

GR0101718220007052999999000

-

430589******6006

01/10/2017 - 31/12/2017
UserC

GR0101718220007027000112113

-

GR1801718220007022123456789

01/01/2018 - 31/01/2018