e2e

Retrieve account information

Learn how to enable a customer to retrieve account information.

1

GetAccountAccessConsentsConsentId

Gets the consentId related to the consent that has previously been provided by the customer. All following endpoints can be called in any order to retrieve account information.

get
/account-access-consents/{consentId}
See API reference
2

GetAccountsAccountId

Gets the accountId of the account.

3

GetBalances

Gets the balance of the account

4

GetStatements

Gets all available statements related to the account.

5

GetAccountsAccountIdStatementsStatementIdFile

Retrieves a specific statement as PDF file by providing the AccountId and StatementId.

6

GetOffers

Gets all offers available to the account.

7

GetParty

Retrieves a list of all authorized parties that the user has granted access to.

8

GetProducts

Retrieves a list of all authorized products that the user has granted access to.

9

GetTransactions

Gets all transactions related to the account.

Request Example

Request

1curl --request GET \
2  --url https://api.newdaycards.com/open-banking/v3.1/aisp/account-access-consents/%7BconsentId%7D \
3  --header 'Authorization: SOME_STRING_VALUE' \
4  --header 'x-customer-user-agent: SOME_STRING_VALUE' \
5  --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
6  --header 'x-fapi-customer-last-logged-time: SOME_STRING_VALUE' \
7  --header 'x-fapi-financial-id: SOME_STRING_VALUE' \
8  --header 'x-fapi-interaction-id: SOME_STRING_VALUE'

Response Example

Response

JSON

1{
2  "Data": {
3    "ConsentId": "urn-alphabank-intent-88379",
4    "CreationDateTime": "2017-05-02T00:00:00.0000000+00:00",
5    "Status": "AwaitingAuthorisation",
6    "StatusUpdateDateTime": "2017-05-02T00:00:00.0000000+00:00",
7    "Permissions": [
8      "ReadAccountsDetail",
9      "ReadStatementsDetail",
10      "ReadPartyPSU",
11      "ReadParty",
12      "ReadOffers",
13      "ReadTransactionsDebits",
14      "ReadProducts",
15      "ReadBalances",
16      "ReadTransactionsDetail"
17    ],
18    "ExpirationDateTime": "2019-08-02T00:00:00.0000000+00:00",
19    "TransactionFromDateTime": "2017-05-03T00:00:00.0000000+00:00",
20    "TransactionToDateTime": "2017-12-03T00:00:00.0000000+00:00"
21  }
22}