Bank Account

Search bank account transactions

Search transactions on a single bank account for the PSU. Read more about bank accounts and transactions in the Glossary.

If you want to filter transactions by amount, use the amountFrom and amountTo query parameters. Note that these can be combined to yield a range of amounts, e.g. ?amountFrom=10.00&amountTo=15.00 yields all transactions with amounts between 10.00 and 15.00. Since these ranges are inclusive, you can also filter by an exact amount by setting them to the same amount, e.g. ?amountFrom=10.00&amounTo=10.00.

get/psu/{psuId}/bank-account/{bankAccountId}/transaction/search

Request

  • Base URL: https://bankapidemo.svea.com
  • URL: https://bankapidemo.svea.com/psu/{psuId}/bank-account/{bankAccountId}/transaction/search
  • Auth: Bearer (a scheme the document does not define)

Path parameters

bankAccountIdstring uuid required
Example:ccf7c77a-8e32-4d9b-8f40-ea446f37d492
psuIdstring uuid required
Example:febbe8f2-bd6b-4e53-89c6-e89ca92ff5ee

Query parameters

fromstring
Example:2018-01-01

Filter out transactions before given date. Inclusive.

tostring
Example:2020-12-31

Filter out transactions after given date. Inclusive.

pageSizeinteger
Example:100

Set the number of transactions to return per page, will default to 100 if not set. Min 1, Max 100

pageinteger
Example:1

Set which page to return (1 indexed), will default to 1 if not set. Min 1

amountFromstring
Example:123.50

Return only transactions greater than or equal to the given amount. Supports positive and negative amounts.

amountTostring
Example:123.50

Return only transactions lesser than or equal to the given amount. Supports positive and negative amounts.

descriptionstring
Example:BM 0007

Return only transactions with a description containing the given string.

Headers

Accept'application/json' | 'text/csv' nullable

Determines the format of the result

Example:application/json
Accept-Languagestring

Determines delimiter and decimal symbols.

Example:sv-SE
Authorizationstring required
Example:Bearer {BearerToken}
X-Svea-ClientAppstring required

Tenant client app name, version, and optional comment <client-app-name>/<version>(/<comment>)

Example:TENANT-IOS/0.99.0
X-Svea-CorrelationIdstring uuid

The correlationId is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. Used to follow transaction information, especially for logging purposes.

Example:21436a05-d62d-4f29-a253-31b3815d148b
X-Svea-SessionIdstring uuid

The sessionId is a unique identifier value for a users session. This identifier should be the same for the entire duration of that users session. Mainly used for logging and troubleshooting purposes.

Example:afe56332-dee2-48b4-ae0b-d694a6174a7e

Response

OK

amountstring required
currencystring required
processingDateTimestring required
referencestring required
transactionIdstring uuid required
transactionType'apiPayment' | 'bankGiroCreditTransaction' | 'cardTransaction' | 'swishDebitTransaction' | 'swishCreditTransaction' | 'swishReturnDebitTransaction' | 'swishReturnCreditTransaction' | 'swishCommerceDebitTransaction' | 'swishCommerceRefundCreditTransaction' | 'swedishBankAccountTransaction' | 'bankGiroTransaction' | 'plusGiroTransaction' | 'swedishBankAccountCreditTransaction' | 'bankGiroAliasCreditTransaction' nullable required

null means calls to the details endpoint will not give additional data.

apiPayment means a payment initiated through the api, but further details cannot be given until the details endpoint is called.

The others are the same as contextType in transaction details.

Note! New values might be added at any time and unknown values should be handled as the value null.

valueDatestring required
vatstring required

Example response

[
  {
    "amount": "123.00",
    "currency": "SEK",
    "processingDateTime": "2018-05-14T16:19:38Z",
    "reference": "Uttag",
    "transactionId": "2ac0c2e0-5b20-4906-ab33-fbca39607531",
    "transactionType": "apiPayment",
    "valueDate": "2018-05-14",
    "vat": "0.00"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.