General Information #
type here
This endpoint retrieves all booked transactions for a specified period, defined by the query parameters dateFrom
and dateTo
. The bookingStatus
parameter specifies the type of transactions to be returned – pending, booked, or all transactions.
End-point URL #
http://[host]:[port]/psd2/v1/accounts/[accountid]/transactions?dateFrom=[dateFrom]&dateTo=[dateTo]&bookingStatus=[bookingStatus]
Headers:
- X-Request-ID: [request-id] – Required: A unique request ID (GUID).
- Consent-ID: [consent-id] – Required: The ID of the consent.
- Content-Type: application/json – Required: Specifies the request format.
- PSU-ID: [user-id] – Optional: User identifier obtained upon login.
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
}
Remarks #
This response includes details of the transactions such as transaction ID, booking date, creditor and debtor names, and the transaction amount.
Snippet #