List of transactions per account

Returns all posted transactions for a given period specified via query params dateFrom and dateTo. The bookingStatus parameter indicates what type of transactions to return – pending/posted/all transactions.
GET:http://[host]:[port]/psd2/v1/accounts/[accountid]/transactions?dateFrom=[dateFrom]&dateTo=[dateTo]&bookingStatus=[bookingStatus]
HEADERS:
X-Request-ID = [request-id] – required
Consent-ID: [consent-id] – mandatory – carries the ID of the consent
Content-Type: application/json – required
PSU-ID: [user-id] – optional

Response:

{
  "account": {
    "iban": {
      "iban": "BG58SOMB91301000000637"
    },
    "currency": "BGN"
  },
  "transactions": {
    "booked": [
      {
        "transactionId": "231DCCC181590002",
        "mandateId": null,
        "bookingDate": "01-01-2020",
        "creditorName": "Ivan Ivanov",
        "creditorAccount": "BG1203030",
        "debtorName": "Petar Petrov",
        "debtorAccount": "BG58SOMB91301000000637",
        "transactionAmount": {
          "currency": "BGN",
          "content": 5000
        }
      },
      {
        "transactionId": "231DCCD181590001",
        "mandateId": null,
        "bookingDate": "08-10-2020",
        "creditorName": "Gergana Petrova",
        "creditorAccount": "BG222222",
        "debtorName": "Petar Petrov",
        "debtorAccount": "BG58SOMB91301000000637",
        "transactionAmount": {
          "currency": "BGN",
          "content": 100
        }
      }
    ],
    "pending": null
  },
  "_links": null
}

Powered by BetterDocs