---
title: "Retrieve a transaction"
method: GET
path: "/v2.1/merchants/{merchant_code}/transactions"
tags: ["Transactions"]
---

# Retrieve a transaction

`GET /v2.1/merchants/{merchant_code}/transactions`

Retrieves the full details of an identified transaction. The transaction resource is identified by a query parameter and *one* of following parameters is required:

 *  `id`
 *  `internal_id`
 *  `transaction_code`
 *  `foreign_transaction_id`
 *  `client_transaction_id`

## Path parameters

- `merchant_code` string, required

## Query parameters

- `id` string
- `internal_id` string
- `transaction_code` string
- `foreign_transaction_id` string
- `client_transaction_id` string

## Response `200`

OK

- TransactionFull — Details of the transaction.
  - `id` string — Unique ID of the transaction.
  - `transaction_code` string — Transaction code returned by the acquirer/processing entity after processing the transaction.
  - `amount` number, float — Total amount of the transaction.
  - `currency` 'BGN' | 'BRL' | 'CHF' | 'CLP' | 'CZK' | 'DKK' | 'EUR' | 'GBP' | 'HRK' | 'HUF' | 'NOK' | 'PLN' | 'RON' | 'SEK' | 'USD' — Three-letter [ISO4217](https://en.wikipedia.org/wiki/ISO_4217) code of the currency for the amount. Currently supported currency values are enumerated above.
  - `timestamp` string, date-time — Date and time of the creation of the transaction. Response format expressed according to [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) code.
  - `status` 'SUCCESSFUL' | 'CANCELLED' | 'FAILED' | 'PENDING' — Current status of the transaction.
  - `payment_type` 'ECOM' | 'RECURRING' | 'BOLETO' — Payment type used for the transaction.
  - `installments_count` integer — Current number of the installment for deferred payments.
  - `merchant_code` string — Unique code of the registered merchant to whom the payment is made.
  - `vat_amount` number, float — Amount of the applicable VAT (out of the total transaction amount).
  - `tip_amount` number, float — Amount of the tip (out of the total transaction amount).
  - `entry_mode` 'CUSTOMER_ENTRY' | 'BOLETO' — Entry mode of the payment details.
  - `auth_code` string — Authorization code for the transaction sent by the payment card issuer or bank. Applicable only to card payments.
  - `internal_id` integer — Internal unique ID of the transaction on the SumUp platform.
  - `product_summary` string — Short description of the payment. The value is taken from the `description` property of the related checkout resource.
  - `payouts_total` integer — Total number of payouts to the registered user specified in the `user` property.
  - `payouts_received` integer — Number of payouts that are made to the registered user specified in the `user` property.
  - `payout_plan` 'SINGLE_PAYMENT' | 'TRUE_INSTALLMENT' | 'ACCELERATED_INSTALLMENT' — Payout plan of the registered user at the time when the transaction was made.
  - `username` string, email — Email address of the registered user (merchant) to whom the payment is made.
  - `lat` number, float — Latitude value from the coordinates of the payment location (as received from the payment terminal reader).
  - `lon` number, float — Longitude value from the coordinates of the payment location (as received from the payment terminal reader).
  - `horizontal_accuracy` number, float — Indication of the precision of the geographical position received from the payment terminal.
  - `simple_payment_type` 'MOTO' | 'CASH' | 'CC_SIGNATURE' | 'ELV' | 'CC_CUSTOMER_ENTERED' | 'MANUAL_ENTRY' | 'EMV' — Simple name of the payment type.
  - `verification_method` 'none' | 'signature' | 'offline pin' | 'online pin' | 'offline pin + signature' | 'confirmation code verified' — Verification method used for the transaction.
  - `card` CardResponse — Details of the payment card.
    - `last_4_digits` string — Last 4 digits of the payment card number.
    - `type` 'AMEX' | 'CUP' | 'DINERS' | 'DISCOVER' | 'ELO' | 'ELV' | 'HIPERCARD' | 'JCB' | 'MAESTRO' | 'MASTERCARD' | 'VISA' | 'VISA_ELECTRON' | 'VISA_VPAY' | 'UNKNOWN' — Issuing card network of the payment card.
  - `local_time` string, date-time — Local date and time of the creation of the transaction.
  - `payout_type` 'BANK_ACCOUNT' | 'BALANCE' | 'PREPAID_CARD' — Payout type for the transaction.
  - `products` Product[] — List of products from the merchant's catalogue for which the transaction serves as a payment.
    - `name` string — Name of the product from the merchant's catalog.
    - `price` number, float — Price of the product without VAT.
    - `vat_rate` number, float — VAT rate applicable to the product.
    - `single_vat_amount` number, float — Amount of the VAT for a single product item (calculated as the product of `price` and `vat_rate`, i.e. `single_vat_amount = price * vat_rate`).
    - `price_with_vat` number, float — Price of a single product item with VAT.
    - `vat_amount` number, float — Total VAT amount for the purchase (calculated as the product of `single_vat_amount` and `quantity`, i.e. `vat_amount = single_vat_amount * quantity`).
    - `quantity` number — Number of product items for the purchase.
    - `total_price` number, float — Total price of the product items without VAT (calculated as the product of `price` and `quantity`, i.e. `total_price = price * quantity`).
    - `total_with_vat` number, float — Total price of the product items including VAT (calculated as the product of `price_with_vat` and `quantity`, i.e. `total_with_vat = price_with_vat * quantity`).
  - `vat_rates` unknown[] — List of VAT rates applicable to the transaction.
    - unknown
  - `transaction_events` TransactionEvent[] — List of transaction events related to the transaction.
    - `id` integer — Unique ID of the transaction event.
    - `event_type` 'PAYOUT' | 'CHARGE_BACK' | 'REFUND' | 'PAYOUT_DEDUCTION' — Type of the transaction event.
    - `status` 'PENDING' | 'SCHEDULED' | 'FAILED' | 'REFUNDED' | 'SUCCESSFUL' | 'PAID_OUT' — Status of the transaction event.
    - `amount` number, float — Amount of the event.
    - `due_date` string, date — Date when the transaction event is due to occur.
    - `date` string, date — Date when the transaction event occurred.
    - `installment_number` integer — Consecutive number of the installment that is paid. Applicable only payout events, i.e. `event_type = PAYOUT`.
    - `timestamp` string, date-time — Date and time of the transaction event.
  - `simple_status` 'SUCCESSFUL' | 'PAID_OUT' | 'CANCEL_FAILED' | 'CANCELLED' | 'CHARGEBACK' | 'FAILED' | 'REFUND_FAILED' | 'REFUNDED' | 'NON_COLLECTION' — Status generated from the processing status and the latest transaction state.
  - `links` union[] — List of hyperlinks for accessing related resources.
    - union
      - Link — Details of a link to a related resource.
        - `rel` string — Specifies the relation to the current resource.
        - `href` string, uri — URL for accessing the related resource.
        - `type` string — Specifies the media type of the related resource.
      - LinkRefund — Details of a link to a related resource.
        - `rel` string — Specifies the relation to the current resource.
        - `href` string, uri — URL for accessing the related resource.
        - `type` string — Specifies the media type of the related resource.
        - `min_amount` number, float — Minimum allowed amount for the refund.
        - `max_amount` number, float — Maximum allowed amount for the refund.
  - `events` Event[] — List of events related to the transaction.
    - `id` integer — Unique ID of the transaction event.
    - `transaction_id` string — Unique ID of the transaction.
    - `type` 'PAYOUT' | 'CHARGE_BACK' | 'REFUND' | 'PAYOUT_DEDUCTION' — Type of the transaction event.
    - `status` 'PENDING' | 'SCHEDULED' | 'FAILED' | 'REFUNDED' | 'SUCCESSFUL' | 'PAID_OUT' — Status of the transaction event.
    - `amount` number, float — Amount of the event.
    - `timestamp` string, date-time — Date and time of the transaction event.
    - `fee_amount` number, float — Amount of the fee related to the event.
    - `installment_number` integer — Consecutive number of the installment.
    - `deducted_amount` number, float — Amount deducted for the event.
    - `deducted_fee_amount` number, float — Amount of the fee deducted for the event.
  - `location` object — Details of the payment location as received from the payment terminal.
    - `lat` number, float — Latitude value from the coordinates of the payment location (as received from the payment terminal reader).
    - `lon` number, float — Longitude value from the coordinates of the payment location (as received from the payment terminal reader).
    - `horizontal_accuracy` number, float — Indication of the precision of the geographical position received from the payment terminal.
  - `tax_enabled` boolean — Indicates whether tax deduction is enabled for the transaction.

## Other responses

- `401` — Unauthorized
- `404` — Not Found

## Changes

- **2025-07-14** `a16feb855ba1` — 2 info
  - added the new optional `query` request parameter `client_transaction_id`
  - added the new optional `query` request parameter `foreign_transaction_id`
- **2025-02-25** `cdadac3315a1` — 2 info
  - the endpoint scheme security `apiKey` was added to the API
  - the endpoint scheme security `oauth2` was added to the API
- **2024-12-20** `9d3d2c99f041` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sumup/apis/sumup-rest-api/changes/v2.1/merchants/:merchant_code/transactions/get.md)

---

[API](https://skmtc.dev/sumup/apis/sumup-rest-api.md) · [All operations](https://skmtc.dev/sumup/apis/sumup-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sumup/sumup-rest-api/revisions/d32eef8a3bd2/schema)
