# Get transaction details

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

## Security:

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

## Path parameters:

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

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

## Query parameters:

  - `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):

  - `transactionDetails` (object)
    A single transaction detail

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

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

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

  - `transactionDetails.references` (object)
    References to the transaction.

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

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

  - `transactionDetails.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

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

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

  - `transactionDetails.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

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

  - `transactionDetails.transactionAmount` (object)
    Amount with currency

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

  - `transactionDetails.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

  - `transactionDetails.amountDetails` (object)

  - `transactionDetails.amountDetails.instructedAmount` (object)

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

  - `transactionDetails.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

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

  - `transactionDetails.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

  - `transactionDetails.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

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

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

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

  - `transactionDetails.currencyExchange` (array)
    Currency exchange information.

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

  - `transactionDetails.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

  - `transactionDetails.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

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

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

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

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

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

  - `transactionDetails.creditor` (object)

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

  - `transactionDetails.creditor.postalAddress` (object)

  - `transactionDetails.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.

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

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

  - `transactionDetails.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

  - `transactionDetails.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

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

  - `transactionDetails.creditorAccount` (object)
    Account reference

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

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

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

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

  - `transactionDetails.creditorAccount.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

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

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

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

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

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

  - `transactionDetails.remittanceInformationStructured` (array)
    Structured Remittance information

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

  - `transactionDetails.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"

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

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

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

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

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

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

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

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

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

  - `transactionDetails.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

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

  - `transactionDetails.purposeProprietary` (null | string)
    Proprietary purpose

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

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

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

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

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

  - `transactionDetails.entryDetails` (array)
    Details about transactions within a batch.

  - `transactionDetails.entryDetails.creditorId` (null | string)
    Identification of Creditors, e.g. a SEPA Creditor ID. example: Creditor Id 5678

  - `transactionDetails.entryDetails.charges` (array)
    Provides information on the charges.

  - `transactionDetails.entryDetails.currencyExchange` (array)
    Currency exchange information.

  - `transactionDetails.entryDetails.additionalTransactionInformation` (null | string)

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

  - `transactionDetails.entryDetails.remittanceInformationStructured` (array)
    Structured Remittance information

  - `transactionDetails.entryDetails._links` (object)
    Links to the original payment references for the entry.

  - `transactionDetails.entryDetails._links.payments` (array)
    Links to the original payment references for the entry

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

  - `transactionDetails.entryDetails._links.payments.verb` (string)
    Enum: "get", "post", "put", "delete"

  - `transactionDetails.entryDetails._links.payments.endToEndId` (null | string)
    End to end identification of the original payment.

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

  - `transactionDetails._links.next` (object)

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

## 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)

