Open Banking Sandbox icon

Open Banking Sandbox

(0 reviews)

home

NextGenPSD2 XS2A Framework

Summary

The NextGenPSD2 Framework Version 1.3.11 offers a modern, open, harmonized and interoperable set of

Application Programming Interfaces (APIs) as the safest and most efficient way to provide data securely.

The NextGenPSD2 Framework reduces XS2A complexity and costs, addresses the problem of multiple competing standards

in Europe and, aligned with the goals of the Euro Retail Payments Board,

enables European banking customers to benefit from innovative products and services ('Banking as a Service')

by granting TPPs safe and secure (authenticated and authorized) access to their bank accounts and financial data.

The possible Approaches are:

* OAuth SCA Approach

To use the Sandbox APIs, headers useCaseGroupId and useCaseId must be added to all requests.

For successful responses, refer to the table below. In the case of errors, follow the instructions provided for each specific API.

useCaseGroupIdAPIuseCaseId
1POST /consents1200-1
2DELETE /consents/{Consent-ID}1200-1
3GET /consents/{Consent-ID}1200-1
4GET /consents/{Consent-ID}/status1200-1
5GET /loans1200-1
6GET /loans/{loan-account-id}1200-1
7GET /loans/{loan-account-id}/balances1200-1
/v1/consents:
POST:
  summary: Create consent
  description: |
    This method create a consent resource, defining access rights to dedicated accounts of
    a given PSU-ID. These accounts are addressed explicitly in the method as
    parameters as a core function.

To use the Sandbox APIs, headers useCaseGroupId and useCaseId must be added to all requests.

http codehttp DescriptioncodeuseCaseGroupIduseCaseIdChange required for sandbox
400Bad RequestRESOURCE_UNKNOWN11400-4Change iban number to 87654321
400Bad RequestRESOURCE_UNKNOWN11400-3Change PSI-ID to 211111112
400Bad RequestRESOURCE_EXPIRED11400-2Change iban number to 999999999
400Bad RequestTIMESTAMP_INVALID11400-5Change validUntil to "2028-12-31"
400Bad RequestPERIOD_INVALID11400-1Change validUntil to "2020-12-31"
401UnauthorizedPSU_CREDENTIALS_INVALID16401-1Change PSI-ID to 111111112
/v1/consents/{consentId}:

GET:
  summary: Get consent request
  description: |
    Returns the content of an account information consent object.
    This is returning the data for the TPP especially in cases,
    where the consent was directly managed between ASPSP and PSU e.g. in a redirect SCA Approach.
  operationId: getConsentInformation
  tags:
    - Account Information Service (AIS)


DELETE:
  summary: Delete consent
  description: The TPP can delete an account information consent object if needed.
  operationId: deleteConsent
  tags:
    - Account Information Service (AIS)
/v1/consents/{consentId}/status:

GET:
  summary: Consent status request
  description: Read the status of an account information consent resource.
  operationId: getConsentStatus
  tags:
    - Account Information Service (AIS)
/v1/loans:

get:
  summary: Read list of loans accounts
  description: |
    Reads a list of loan accounts potentially with additional information, e.g. balance information.
    It is assumed that a consent of the PSU to this access is already given and stored on the ASPSP system.
    The addressed list of savings accounts depends then on the stored consent addressed by consentId,
    respectively the OAuth2 accesstoken.

To use the Sandbox APIs, headers useCaseGroupId and useCaseId must be added to all requests.

http codehttp DescriptioncodeuseCaseGroupIduseCaseIdChange required for sandbox
401UnauthorizedCONSENT_EXPIRED55401-1Consent-ID to A769C13F-F050-4E00-B27F-4B0EA80C3E93
400ConflictCONFLICT51409-1Consent-ID to B769B13E-X050-6E00-B28F-4B0EA80C3E11
/v1/loans/{loan-account-id}:

get:
  summary: Read loan account details
  description: |
    Reads details about a loan account.
    It is assumed that a consent of the PSU to
    this access is already given and stored on the ASPSP system.
    The addressed details of this account depend then on the stored consent addressed by consentId,
    respectively the OAuth2 access token.

To use the Sandbox APIs, headers useCaseGroupId and useCaseId must be added to all requests.

http codehttp DescriptioncodeuseCaseGroupIduseCaseIdChange required for sandbox
401UnauthorizedCONSENT_EXPIRED55401-1Consent-ID to A769C13F-F050-4E00-B27F-4B0EA80C3E93
400ConflictCONFLICT51409-1Consent-ID to B769B13E-X050-6E00-B28F-4B0EA80C3E11
403ForbiddenRESOURCE_UNKNOWN61403-2Change{loan-account-id} to12121212
403ForbiddenRESOURCE_EXPIRED61403-1Change{loan-account-id} to 22222222
404Not foundRESOURCE_UNKNOWN61404-1Change{loan-account-id} to 191919191
/v1/loans/{loan-account-id}/balances:
get:
  summary: Read Loan Account Balances
  description: |
    Reads balance data from a given loan account addressed by "loan-account-id".

    The loan-account-id is constant at least throughout the lifecycle of a given consent.

To use the Sandbox APIs, headers useCaseGroupId and useCaseId must be added to all requests.

http codehttp DescriptioncodeuseCaseGroupIduseCaseIdChange required for sandbox
401UnauthorizedCONSENT_INVALID75401-2Consent-ID to B769B13E-V8555-6W30-2545-4B0EA80C3E11
401UnauthorizedCONSENT_EXPIRED55401-1Consent-ID to A769C13F-F050-4E00-B27F-4B0EA80C3E93
400ConflictCONFLICT51409-1Consent-ID to B769B13E-X050-6E00-B28F-4B0EA80C3E11
403ForbiddenRESOURCE_UNKNOWN61403-2Change{loan-account-id} to12121212
403ForbiddenRESOURCE_EXPIRED61403-1Change{loan-account-id} to 22222222
404Not foundRESOURCE_UNKNOWN61404-1Change{loan-account-id} to 191919191
OAUTH2 Errors:

To use the Sandbox APIs, headers useCaseGroupId and useCaseId must be added to all requests.

http codehttp DescriptioncodeuseCaseGroupIduseCaseId
401UnauthorizedTOKEN_UNKNOWN104401-3
401UnauthorizedTOKEN_INVALID104401-2
401UnauthorizedTOKEN_EXPIRED104401-1
Certificate Errors:

To use the Sandbox APIs, headers useCaseGroupId and useCaseId must be added to all requests.

http codehttp DescriptioncodeuseCaseGroupIduseCaseId
401UnauthorizedCERTIFICATE_EXPIRED101401-2
401UnauthorizedCERTIFICATE_BLOCKED101401-1
401UnauthorizedCERTIFICATE_REVOKE101401-5
401UnauthorizedCERTIFICATE_MISSING101401-4
401UnauthorizedCERTIFICATE_INVALID101401-3
Signature Errors:

To use the Sandbox APIs, headers useCaseGroupId and useCaseId must be added to all requests.

http codehttp DescriptioncodeuseCaseGroupIduseCaseId
401UnauthorizedSIGNATURE_INVALID102401-1
401UnauthorizedSIGNATURE_MISSING102401-2

Reviews