---
title: "Get transaction"
method: GET
path: "/payment/v1/merchants/{merchantId}/accounts/{accountId}/transactions/{transactionId}"
tags: ["Payment.Settlement Accounts"]
---

# Get transaction

`GET /payment/v1/merchants/{merchantId}/accounts/{accountId}/transactions/{transactionId}`

Retrieves a specific transaction for a specific settlement account and merchant.

## Path parameters

- `merchantId` string, required
- `accountId` string, required
- `transactionId` string, required

## Query parameters

- `appIdEq` string

## Response `200`

A successful response.

- V1SettlementAccountTransaction
  - `accountBalance` TypeCurrencyDenominatedAmount — The amount with regard to currency and its value should be accurately represent the monetary amount.
    - `currencyCode` string — The currency code which follows ISO-4217 standard.
    - `value` TypeExactNumber — ExactNumber to use representation, which is used in `BigDecimal`. A value of `12.13` with `unscaledValue = 1213` and `scale = 2`. We can later use `doubleValue = Math.pow(10, -scale) * unscaledValue` to get exact number.
      - `scale` string, int64 — The scale of the numeric value. `unscaledValue` is used with `scale` to accurately represent floating point values. The formula is `unscaledValue * (10^-scale)`. For example, if scale is 1 and unscaledValue is 1230, the end result would be 123.0.
      - `unscaledValue` string, int64 — The unscaled numeric value. `unscaledValue` is used with `scale` to accurately represent floating point values. The formula is `unscaledValue * (10^-scale)`. For example, if scale is 1 and unscaledValue is 1230, the end result would be 123.0.
  - `amount` TypeCurrencyDenominatedAmount — The amount with regard to currency and its value should be accurately represent the monetary amount.
    - `currencyCode` string — The currency code which follows ISO-4217 standard.
    - `value` TypeExactNumber — ExactNumber to use representation, which is used in `BigDecimal`. A value of `12.13` with `unscaledValue = 1213` and `scale = 2`. We can later use `doubleValue = Math.pow(10, -scale) * unscaledValue` to get exact number.
      - `scale` string, int64 — The scale of the numeric value. `unscaledValue` is used with `scale` to accurately represent floating point values. The formula is `unscaledValue * (10^-scale)`. For example, if scale is 1 and unscaledValue is 1230, the end result would be 123.0.
      - `unscaledValue` string, int64 — The unscaled numeric value. `unscaledValue` is used with `scale` to accurately represent floating point values. The formula is `unscaledValue * (10^-scale)`. For example, if scale is 1 and unscaledValue is 1230, the end result would be 123.0.
  - `id` string — The id of the transaction.
  - `merchantId` string — The id of the merchant.
  - `metadata` object — A key-value dictionary with custom metadata for the transaction.
  - `originalTransactionId` string — The id of the original transaction.
  - `payee` V1AccountDetails
    - `account` PaymentAccountIdentifier
      - `identifier` string — Full account identifier as string.
      - `type` 'ACCOUNT_IDENTIFIER_TYPE_UNSPECIFIED' | 'SE' | 'IBAN' | 'SORT_CODE' — - ACCOUNT_IDENTIFIER_TYPE_UNSPECIFIED: Default value. It should not occur. - SE: Account type used in SE. - IBAN: IBAN account type. - SORT_CODE: Sort code account type used in UK.
    - `beneficiaryId` string — Beneficiary information of the account holder.
    - `name` string — Name of the account holder.
  - `payer` V1AccountDetails
    - `account` PaymentAccountIdentifier
      - `identifier` string — Full account identifier as string.
      - `type` 'ACCOUNT_IDENTIFIER_TYPE_UNSPECIFIED' | 'SE' | 'IBAN' | 'SORT_CODE' — - ACCOUNT_IDENTIFIER_TYPE_UNSPECIFIED: Default value. It should not occur. - SE: Account type used in SE. - IBAN: IBAN account type. - SORT_CODE: Sort code account type used in UK.
    - `beneficiaryId` string — Beneficiary information of the account holder.
    - `name` string — Name of the account holder.
  - `paymentRequestId` string — The id of the payment request which is affiliated with this transaction.
  - `reference` string — The transaction reference.
  - `timestamp` string, date-time — The date and time the transaction was processed.
  - `type` 'TRANSACTION_TYPE_UNSPECIFIED' | 'SWEEP' | 'REFUND' | 'PAYIN' | 'REVERT' | 'WITHDRAWAL' | 'MERCHANT_PAYIN' | 'EXTERNAL_PAYIN' | 'TRANSFER' | 'PAYMENT_REVERSAL' — The type of the transaction. - TRANSACTION_TYPE_UNSPECIFIED: Default value for transaction type when none of the other types can be assigned. - SWEEP: A scheduled payout to Merchant corporate account. - REFUND: Partial or full refund to the original payer of previously received funds. - PAYIN: Received payment which increases settlement account balance. - REVERT: A corrective transaction which reverses transaction made in error. - WITHDRAWAL: Payout to an end-user's bank account. - MERCHANT_PAYIN: Received payment from the merchant's payout account. - EXTERNAL_PAYIN: Received direct bank payment (outside Tink PIS). - TRANSFER: A payout from the account. - PAYMENT_REVERSAL: The reversal of a payment from the account. Indicates that the payout has been reverted after being initially marked as succeeded.

## Other responses

- `400` — The request does not pass validation. Please check the error message for more information.
- `401` — The scopes associated with the access token is not allowed the resource.
- `403` — The resource does not belong to subject associated with the access token.
- `404` — The merchant, account or transaction specified could not be found.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/tink/apis/tink-api.md) · [All operations](https://skmtc.net/tink/apis/tink-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tink/tink-api/revisions/23d8982b533d/schema)
