API Explorer

Berlin Group v1.3 (4 APIs)

Bank

Accounts

Views

Counterparties

Transactions

Create consent

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.

Side Effects
When this Consent Request is a request where the "recurringIndicator" equals "true",
and if it exists already a former consent for recurring access on account information
for the addressed PSU, then the former consent automatically expires as soon as the new
consent request is authorised by the PSU.

Optional Extension:
As an option, an ASPSP might optionally accept a specific access right on the access on all psd2 related services for all available accounts.

As another option an ASPSP might optionally also accept a command, where only access rights are inserted without mentioning the addressed account.
The relation to accounts is then handled afterwards between PSU and ASPSP.
This option is not supported for the Embedded SCA Approach.
As a last option, an ASPSP might in addition accept a command with access rights
* to see the list of available payment accounts or
* to see the list of available payment accounts with balances.

Typical Successful Response:

								
									
{ "consentStatus":"received", "consentId":"1234-wertiq-983", "_links":{ "startAuthorisation":{ "href":"/v1.3/consents/1234-wertiq-983/authorisations" } } }
Headers:

								
									
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-50000: Unknown Error.
Implemented in BGv1.3 by createConsent

Read Account List

Read the identifiers of the available payment account together with
booking balance information, depending on the consent granted.

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 accounts depends then on the PSU ID and the stored consent addressed by consentId,
respectively the OAuth2 access token.

Returns all identifiers of the accounts, to which an account access has been granted to through
the /consents endpoint by the PSU.
In addition, relevant information about the accounts and hyperlinks to corresponding account
information resources are provided if a related consent has been already granted.

Remark: Note that the /consents endpoint optionally offers to grant an access on all available
payment accounts of a PSU.
In this case, this endpoint will deliver the information about all available payment accounts
of the PSU at this ASPSP.

Typical Successful Response:

								
									
{ "accounts":[{ "cashAccountType":{ }, "product":"product", "resourceId":"resourceId", "bban":"BARC12345612345678", "_links":{ "balances":"/v1.3/payments/sepa-credit-transfers/1234-wertiq-983", "transactions":"/v1.3/payments/sepa-credit-transfers/1234-wertiq-983" }, "usage":"PRIV", "balances":"", "iban":"FR7612345987650123456789014", "linkedAccounts":"linkedAccounts", "name":"name", "currency":"EUR", "details":"details", "msisdn":"+49 170 1234567", "bic":"AAAADEBBXXX", "status":{ } },{ "cashAccountType":{ }, "product":"product", "resourceId":"resourceId", "bban":"BARC12345612345678", "_links":{ "balances":"/v1.3/payments/sepa-credit-transfers/1234-wertiq-983", "transactions":"/v1.3/payments/sepa-credit-transfers/1234-wertiq-983" }, "usage":"PRIV", "balances":"", "iban":"FR7612345987650123456789014", "linkedAccounts":"linkedAccounts", "name":"name", "currency":"EUR", "details":"details", "msisdn":"+49 170 1234567", "bic":"AAAADEBBXXX", "status":{ } }] }
Headers:

								
									
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-50000: Unknown Error.
Implemented in BGv1.3 by getAccountList

Read Balance

Reads account data from a given account addressed by "account-id".

Remark: This account-id can be a tokenised identification due to data protection reason since the path
information might be logged on intermediary servers within the ASPSP sphere.
This account-id then can be retrieved by the "GET Account List" call.

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

Typical Successful Response:

								
									
{ "balances":"", "account":{ "bban":"BARC12345612345678", "maskedPan":"123456xxxxxx1234", "iban":"FR7612345987650123456789014", "currency":"EUR", "msisdn":"+49 170 1234567", "pan":"5409050000000000" } }
Headers:

								
									
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-50000: Unknown Error.
Implemented in BGv1.3 by getBalances

Read transaction list of an account

Read transaction reports or transaction lists of a given account ddressed by "account-id", depending on the steering parameter "bookingStatus" together with balances.

For a given account, additional parameters are e.g. the attributes "dateFrom" and "dateTo".
The ASPSP might add balance information, if transaction lists without balances are not supported.

Typical Successful Response:

								
									
{ "account":{ "iban":"DE2310010010123456788" }, "transactions":{ "booked":[{ "transactionId":"1234567", "creditorName":"John Miles", "creditorAccount":{ "iban":"DE67100100101306118605" }, "transactionAmount":{ "currency":"EUR", "amount":"256.67" }, "bookingDate":"2017-10-25", "valueDate":"2017-10-26", "remittanceInformationUnstructured":"Example 1" },{ "transactionId":"1234568", "debtorName":"Paul Simpson", "debtorAccount":{ "iban":"NL76RABO0359400371" }, "transactionAmount":{ "currency":"EUR", "amount":"343.01" }, "bookingDate":"2017-10-25", "valueDate":"2017-10-26", "remittanceInformationUnstructured":"Example 2" }], "pending":[{ "transactionId":"1234569", "creditorName":"Claude Renault", "creditorAccount":{ "iban":"FR7612345987650123456789014" }, "transactionAmount":{ "currency":"EUR", "amount":"-100.03" }, "valueDate":"2017-10-26", "remittanceInformationUnstructured":"Example 3" }], "_links":{ "account":{ "href":"/v1.3/accounts/3dc3d5b3-7023-4848-9853- f5400a64e80f" } } } }
Headers:

								
									
Possible Errors:
  • OBP-20001: User not logged in. Authentication is required!
  • OBP-50000: Unknown Error.
Implemented in BGv1.3 by getTransactionList