# Get transactions

Endpoint: GET /accounts/{id}/transactions
Version: 1.0.0
Security: Api access

## Security:

  - `Api access` (unknown)
    oauth2 scopes: services.banking, api

## Path parameters:

  - `id` (string, required)
    The id of the account.

## Query parameters:

  - `dateFrom` (string, required)
    Starting date (inclusive) of the transactions.

  - `dateTo` (string)
    End date (inclusive) of the transaction list, default is "now" if not given.

  - `bookingStatus` (string, required)
    The booking status to include.

  - `transactionType` (string)
    The kind of transaction.

  - `transactionSource` (string)
    The source of the transaction.

  - `cursor` (string)
    A reference to a specific page.

## Header parameters:

  - `PSU-IP-Address` (string)
    IP Address of the PSU, it should only be set if this request was actively initiated by the PSU.
Most operations have request limits that apply when a user is not present.

  - `Consent-ID` (string)
    The consent id. Should be set unless a specific Subscription-Id is used.

  - `Channel-Type` (string)
    The banking channel.

  - `Subscription-Id` (string)
    Id of the subscription to use. Only supported for Channel-Type `openBanking`.

  - `Resource-Group-Name` (string)
    Name of the resource group to use in the specified subscription. Only supported for Channel-Type `openBanking`

  - `Scopes` (array)
    Resource scopes to use, mutually exclusive with `subscriptionId`.
- `/`
: Use all resources available.
- `/subscriptions/7fdf00601dfb`
: Use all resources in subscription 7fdf00601dfb.
- `/subscriptions/7fdf00601dfb/resource-groups/my-company`
: Use all resources within subscription 7fdf00601dfb and resource-group my-company.

  - `api-version` (string)

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `account` (object)
    Account reference

  - `account.iban` (null | string)
    IBAN of the account
    Example: FR7612345987650123456789014

  - `account.bban` (null | string)
    BBAN of the account - ISO 20022
    Example: BARC12345612345678

  - `account.other` (object)
    Generic account reference.

  - `account.other.identification` (string, required)
    Account identification.
    Example: 123-1234

  - `account.other.schemeName` (string, required)
    Name of the identification scheme.
**Example:**
* `BBAN`
: Basic Bank Account Number.
* `BGNR`
: Bankgirot number.
* `PGNR`
: PlusGirot number.
* `giro`
: Giro Denmark.
    Example: BGNR

  - `account.currency` (null | string)
    Currency code - ISO 4217
    Example: EUR

  - `account.pan` (null | string)
    Primary Account Number - ISO/IEC 7812
    Example: 5409050000000000

  - `account.maskedPan` (null | string)
    Masked Primary Account Number - ISO/IEC 7812
    Example: 123456xxxxxx1234

  - `account.msisdn` (null | string)
    Mobile phone number
    Example: +491701234567

  - `transactions` (object)

  - `transactions.booked` (array)
    Booked transactions

  - `transactions.booked.transactionId` (string)
    Id of the transaction
    Example: DEAF96E4-5063-46D9-89D4-E32A8E51994C

  - `transactions.booked.accountId` (string)
    Account id used to retrieve the transaction
    Example: 1234

  - `transactions.booked.entryReference` (null | string)
    Entry reference of the transaction
    Example: 123456789

  - `transactions.booked.references` (object)
    References to the transaction.

  - `transactions.booked.references.endToEndIds` (array)
    End-to-end IDs associated with the transaction.

  - `transactions.booked.references.instructionId` (null | string)
    Instruction Identification from pain.001 in outgoing payments
    Example: 123456789

  - `transactions.booked.references.accountServicerReference` (null | string)
    Unique reference, as assigned by the account servicing institution, to unambiguously identify the instruction.
Also known as "Archive Reference".
    Example: 123456789

  - `transactions.booked.references.mandateId` (null | string)
    Direct debit related mandate.
    Example: 123456789

  - `transactions.booked.references.checkNumber` (null | string)
    Unique and unambiguous identifier for a cheque as assigned by the agent.
    Example: 123456789

  - `transactions.booked.valueDate` (null | string)
    Date at which the assets become available or cease to be available,
could be an expected date if state is `pending`.
    Example: 2025-10-25T22:20:31.8361914+00:00

  - `transactions.booked.bookingDate` (null | string)
    Booking date of the transaction
    Example: 2025-10-26T07:20:31.8361914+00:00

  - `transactions.booked.transactionAmount` (object)
    Amount with currency

  - `transactions.booked.transactionAmount.currency` (null | string)
    The three-letter currency code of the amount - ISO 4217
    Example: NOK

  - `transactions.booked.transactionAmount.amount` (null | string)
    The amount value. Negative amounts are signed by minus. The decimal separator is a dot.
**Example:**
* 0
* 154
* -1.75
* 349.7
* 3632.78
    Example: 3632.78

  - `transactions.booked.amountDetails` (object)

  - `transactions.booked.amountDetails.instructedAmount` (object)

  - `transactions.booked.amountDetails.instructedAmount.currency` (null | string)
    The three-letter currency code of the amount - ISO 4217
    Example: NOK

  - `transactions.booked.amountDetails.instructedAmount.amount` (null | string)
    The amount value. Negative amounts are signed by minus. The decimal separator is a dot.
**Example:**
* 0
* 154
* -1.75
* 349.7
* 3632.78
    Example: 3632.78

  - `transactions.booked.amountDetails.instructedAmount.sourceCurrency` (null | string)
    Currency from which an amount is to be converted in a currency conversion
    Example: EUR

  - `transactions.booked.amountDetails.instructedAmount.exchangeRate` (null | number)
    Factor used to convert an amount from one currency into another. This reflects the price at which one currency was bought with another currency

  - `transactions.booked.amountDetails.instructedAmount.unitCurrency` (null | string)
    Currency in which the rate of exchange is expressed in a currency exchange. In the example 1EUR = xxxCUR, the unit currency is EUR
    Example: EUR

  - `transactions.booked.amountDetails.instructedAmount.targetCurrency` (null | string)
    Currency into which an amount is to be converted in a currency conversion
    Example: EUR

  - `transactions.booked.amountDetails.instructedAmount.quotationDate` (null | string)
    Date at which an exchange rate is quoted

  - `transactions.booked.amountDetails.instructedAmount.contractId` (null | string)
    Unique identification to unambiguously identify the foreign exchange contract

  - `transactions.booked.currencyExchange` (array)
    Currency exchange information.

  - `transactions.booked.currencyExchange.sourceCurrency` (string, required)
    Currency from which an amount is to be converted in a currency conversion
    Example: EUR

  - `transactions.booked.currencyExchange.exchangeRate` (number, required)
    Factor used to convert an amount from one currency into another. This reflects the price at which one currency was bought with another currency

  - `transactions.booked.currencyExchange.unitCurrency` (null | string)
    Currency in which the rate of exchange is expressed in a currency exchange. In the example 1EUR = xxxCUR, the unit currency is EUR
    Example: EUR

  - `transactions.booked.currencyExchange.targetCurrency` (null | string)
    Currency into which an amount is to be converted in a currency conversion
    Example: EUR

  - `transactions.booked.currencyExchange.quotationDate` (null | string)
    Date at which an exchange rate is quoted

  - `transactions.booked.currencyExchange.contractId` (null | string)
    Unique identification to unambiguously identify the foreign exchange contract

  - `transactions.booked.charge` (object)
    Provides details of the individual charge record.

  - `transactions.booked.charge.chargeBearer` (string)
    Specifies which party/parties will bear the charges associated with the processing of the payment transaction.
    Enum: "debt", "cred", "shar", "slev"

  - `transactions.booked.creditor` (object)

  - `transactions.booked.creditor.name` (null | string)
    Name of the party.
    Example: Credit AS

  - `transactions.booked.creditor.postalAddress` (object)

  - `transactions.booked.creditor.postalAddress.addressLines` (array)
    At most seven entries are permitted. May only be used,
if none of the structured address elements "streetName", "buildingNumber", "postcode" or "townName" is used.

  - `transactions.booked.creditor.postalAddress.streetName` (null | string)
    Name of a street or thoroughfare.
    Example: River Street

  - `transactions.booked.creditor.postalAddress.buildingNumber` (null | string)
    Number that identifies the position of a building on a street.
    Example: 12

  - `transactions.booked.creditor.postalAddress.postCode` (null | string)
    Identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail.
    Example: 12345

  - `transactions.booked.creditor.postalAddress.townName` (null | string)
    Name of a built-up area, with defined boundaries, and a local government. Usage Rule: If address lines are not used, this attribute is mandatory.
    Example: Oslo

  - `transactions.booked.creditor.postalAddress.country` (null | string)
    Nation with its own government.Usage Rule: If address lines are not used, this attribute is mandatory.
    Example: NO

  - `transactions.booked.remittanceInformationUnstructured` (array)
    Array of unstructured remittance info, example: ["Ref Number Merchant", "Some Other Text"]

  - `transactions.booked.remittanceInformationStructured` (array)
    Structured Remittance information

  - `transactions.booked.remittanceInformationStructured.referredDocumentInformation` (array)
    Set of elements used to identify the documents referred to in the remittance information

  - `transactions.booked.remittanceInformationStructured.referredDocumentInformation.typeCode` (string)
    Specifies the type of referred document, provided as code
    Enum: "msin", "cnfa", "dnfa", "cinv", "cren", "debn", "hiri", "sbin", "cmcn", "soac", "disp", "bold", "vchr", "aroi", "tsut", "puor"

  - `transactions.booked.remittanceInformationStructured.referredDocumentInformation.typeProprietary` (null | string)
    Specifies the type of referred document, provided in proprietary encoding
    Example: Text, maximum of 35 characters.

  - `transactions.booked.remittanceInformationStructured.referredDocumentInformation.typeIssuer` (null | string)
    Issuer of the document type
    Example: Text, maximum of 35 characters.

  - `transactions.booked.remittanceInformationStructured.referredDocumentInformation.number` (null | string)
    Unique and unambiguous identification of the referred document
    Example: Text, maximum of 35 characters.

  - `transactions.booked.remittanceInformationStructured.referredDocumentInformation.relatedDate` (null | string)
    Date associated with the referred document
    Example: 2020-01-01T13:00:00.999+00:00

  - `transactions.booked.remittanceInformationStructured.creditorReferenceInformation` (object)
    Reference information provided by the creditor to allow the identification of the underlying documents

  - `transactions.booked.remittanceInformationStructured.creditorReferenceInformation.reference` (string, required)
    The actual reference
    Example: Text, maximum of 35 characters.

  - `transactions.booked.remittanceInformationStructured.creditorReferenceInformation.referenceTypeCode` (string)
    Type of the reference, provided as code
    Enum: "radm", "rpin", "fxdr", "disp", "puor", "scor"

  - `transactions.booked.remittanceInformationStructured.creditorReferenceInformation.referenceTypeProprietary` (null | string)
    Type of the reference, provided in proprietary encoding
    Example: Text, maximum of 35 characters.

  - `transactions.booked.remittanceInformationStructured.creditorReferenceInformation.referenceIssuer` (null | string)
    Issuer of the reference
    Example: Text, maximum of 35 characters.

  - `transactions.booked.remittanceInformationStructured.additionalRemittanceInformation` (array)
    Additional information to be displayed to the PSU e.g. within authorisation processes. This will not be used in related interbank payments

  - `transactions.booked.purposeCode` (null | string)
    External purpose code (ExternalPurpose1Code from ISO 20022)
    Example: SALA

  - `transactions.booked.purposeProprietary` (null | string)
    Proprietary purpose

  - `transactions.booked.bankTransactionCode` (null | string)
    Bank transaction code as used by the ASPSP (ISO 20022)

  - `transactions.booked.bankTransactionCodeProprietary` (null | string)
    Proprietary bank transaction code as used by the ASPSP

  - `transactions.booked.additionalInformation` (null | string)
    Additional transaction related information from the ASPSP to the PSU

  - `transactions.booked.entryDetailsCount` (null | integer)
    A count of how many entry details that exist.

  - `transactions.booked.createdAt` (null | string)
    When this transaction was created.

  - `transactions.pending` (array)
    Pending transactions
    Example: []

  - `transactions.information` (array)
    Standing orders
    Example: []

  - `transactions._links` (object)
    Pagination links for navigating between pages of results.

  - `transactions._links.next` (object)

  - `transactions._links.next.href` (string)
    Url to a resource
    Example: https://banking.aritma.io/api/resource?cursor=abc123

  - `transactions._links.next.verb` (string)
    Enum: "get", "post", "put", "delete"

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

