Retrieve Bank Transactions

GET {{base_url}}/banking/v2/transactions

All bank transactions are returned across all connected user accounts. If dates are specified, then only transactions for specific dates are returned.

Bank transactions can be queried by bankId and accountId.

Query Parameters

FieldTypeDescription
bankIdintegerUnique identifier for the bank
accountIdstringUnique identifier for the bank account
pageIdstringPage offset of results
fromdateTimeReturns transactions posted on or after from date
todateTimeReturns transactions posted on or before to date
statusstringStatus of the transaction { PENDING, CLOSINGBOOKED }

Attributes

FieldTypeDescription
idstringUnique identifier for the transaction
accountIdstringUnique identifier for the account
bankIdintegerUnique identifier for the bank
bookingDatedatetimeBooking date for the transaction
valueDatedatetimeValue date for the transaction
transactionCodestringSpecifies the transaction family within a domain
transactionSubCodestringSub code of the transaction
proprietaryCodestringProprietary bank transaction code to identify the underlying transaction
proprietarySubCodestringProprietary sub code of the transaction
referencestringTransaction reference
descriptionstringDescription provided in the transaction
currencystringTransaction currency
amountintegerTransaction amount
typestringTransaction type {DEBIT,CREDIT}
statusstringTransaction status {BOOKED,PENDING}
merchantJSON ObjectDetails of the merchant
merchant->idstringUnique identifier for the merchant
merchant->namestringName of the merchant
merchant->categorystringBusiness category that the merchant belongs to
merchant->categoryCodeintegerCategory Code
merchant->addressLinestringAddress of the merchant (if available)
merchant->sourcestringSource for how the merchant was identified {MODEL, USER, PROVIDER}
categoryJSON ObjectDetails of the transaction category
category->idintegerUnique identifier for the category
category->namestringName of the category
category->sourcestringSource for how the category was identified {MERCHANT, MODEL, USER, PROVIDER}
externalIdstringAn Id linked to an external source
sourcestringSource of data import {MANUALIMPORT, OPENBANKING}

Error Messages

ConditionResponse StatusResponse Body
Invalid accountId404 Not Found
Invalid partnerId403 Forbidden
Invalid companyId403 Forbidden
Invalid pageId400 Bad Request{ Message: "Missing/Invalid pageId” }

Request Params

KeyDatatypeRequiredDescription
pageIdnullPage offset of results
fromnullReturns transactions posted on or after "from" date
tonullReturns transactions posted on or before "to" date
bankIdnullUnique identifier for the bank
accountIdnullUnique identifier for the bank account
statusnullStatus of the transaction (PENDING, CLOSINGBOOKED)

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring
X-Api-Keystring
X-Partner-Idstring
X-Company-Idstring

RESPONSES

status: OK

{"results":[{"id":"transactionId1357","bankId":6,"accountId":"accountId5555","bookingDate":"2020-10-16T00:00Z","valueDate":"2020-10-16T00:00Z","reference":"","transactionCode":"","transactionSubCode":"","proprietaryCode":"","proprietarySubCode":"","description":"Dividends October","amount":"2000.00","currency":"GBP","type":"CREDIT","status":"BOOKED","merchant":{"id":"merchantId579","name":"Dividends","categoryCode":"","addressLine":"","source":"BANK"},"category":{"id":"categoryID9876","name":"Dividends","source":"USER"},"externalId":"","source":"MANUALIMPORT"},{"id":"transactionId1357","bankId":7,"accountId":"accountId1234","bookingDate":"2020-10-16T00:00Z","valueDate":"2020-10-16T00:00Z","reference":"","transactionCode":"","transactionSubCode":"","proprietaryCode":"","proprietarySubCode":"","description":"HMRC","amount":"6200.00","currency":"GBP","type":"CREDIT","status":"BOOKED","merchant":{"id":"merchantId579","name":"HMRC","categoryCode":"","addressLine":"","source":"MODEL"},"category":{"id":"categoryID9876","name":"Tax","source":"MODEL"},"externalId":"","source":"OPENBANKING"}],"links":{}}