---
title: "Get a transaction by ID"
method: GET
path: "/v1/transaction/{id}"
tags: ["Transaction"]
---

# Get a transaction by ID

`GET /v1/transaction/{id}`

## Request

- Base URL: `https://api.finalpos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.finalpos.com/v1/transaction/{id}`
- Auth: API key in header `x-api-key`

Retrieves a single transaction by its unique identifier.

## Path parameters

- `id` string, required

## Response `200`

The transaction has been successfully retrieved.

- TransactionResponseDto
  - `id` string: Unique identifier for the Transaction.
  - `createdAt` string, date-time: Timestamp when the Transaction was created.
  - `updatedAt` string, date-time: Timestamp when the Transaction was last updated.
  - `companyId` string: Company ID associated with the Transaction.
  - `externalId` string: External ID of the transaction.
  - `paymentMethod` string: Payment method used for the transaction.
  - `amount` number: Amount of the transaction.
  - `currency` 'USD' | 'EUR' | 'GBP' | 'CAD' | 'AUD' | 'NZD' | 'CHF' | 'CNY' | 'INR' | 'MXN' | 'BRL' | 'ZAR' | 'SGD' | 'HKD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'THB' | 'MYR' | 'PHP' | 'IDR' | 'AED' | 'SAR' | 'ILS' | 'TRY' | 'RUB' | 'HTG' | 'BND' | 'CRC' | 'BDT' | 'UAH' | 'NGN' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BGN' | 'BMD' | 'BOB' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'COP' | 'CZK' | 'DOP' | 'DZD' | 'EGP' | 'ETB' | 'FJD' | 'GEL' | 'GHS' | 'GTQ' | 'GYD' | 'HNL' | 'IRR' | 'JMD' | 'KES' | 'KGS' | 'KHR' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'MAD' | 'MDL' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MUR' | 'MVR' | 'MZN' | 'NAD' | 'NIO' | 'NPR' | 'PAB' | 'PEN' | 'PGK' | 'PKR' | 'QAR' | 'RON' | 'RSD' | 'SBD' | 'SRD' | 'SYP' | 'TJS' | 'TMT' | 'TOP' | 'TTD' | 'TZS' | 'UYU' | 'UZS' | 'VES' | 'WST' | 'XCD' | 'YER' | 'ZMW' | 'CDF' | 'CUP' | 'ERN' | 'FKP' | 'GIP' | 'GMD' | 'KPW' | 'LRD' | 'LSL' | 'MGA' | 'MWK' | 'SCR' | 'SDG' | 'SHP' | 'SLE' | 'SOS' | 'SSP' | 'STN' | 'SZL' | 'VED' | 'XCG' | 'JPY' | 'KRW' | 'VND' | 'CLP' | 'ISK' | 'HUF' | 'TWD' | 'GNF' | 'BIF' | 'DJF' | 'KMF' | 'PYG' | 'RWF' | 'UGX' | 'VUV' | 'XAF' | 'XOF' | 'XPF' | 'KWD' | 'BHD' | 'OMR' | 'JOD' | 'TND' | 'LYD' | 'IQD': Currency of the Transaction. ISO 4217 currency code.
  - `type` string: Type of the transaction.
  - `notes` string: Notes for the transaction.
  - `employee` string: Employee ID who processed the transaction.
  - `balance` number: Balance after the transaction.
  - `sessionId` string: Session ID associated with the transaction. Absent when there is no till session to record against: an online-store order, or a sale on a virtual station, which has no session and no end-of-session reconciliation.
  - `stationId` string: Station ID where the transaction occurred.
  - `paymentData` TransactionPaymentDataDto
    - `processor` string: Payment processor name.
    - `processorTransactionId` string: Transaction ID from the processor.
    - `device` string: Device used for the transaction.
    - `processorData` string: Additional processor data.
    - `processorFee` number: Fee charged by the processor.
    - `paymentMethodType` string: Stripe payment_method.type. E.g. card_present (terminal), interac_present (Canada), card (MOTO). Used for refund routing.
    - `chargeId` string: Charge ID from the processor.
    - `provider` 'stripe' | 'adyen' | 'external': PSP that captured this payment (stripe | adyen). Absent on records written before multi-provider support — readers must treat absence as stripe. Orthogonal to `processor` (the FinalPay brand stamp, identical across PSPs). Refund routing keys on this field.
  - `orderId` string: Order ID associated with the transaction.
  - `refundId` string: Refund ID associated with the transaction.
  - `outletId` string: Outlet ID where the transaction occurred.
  - `receiptId` string: Receipt ID for the transaction.
  - `minorUnits` number: The Minor Units of the Transaction to convert the amount from minor units to major units.

## Other responses

- `400`: Bad request. Returns validation errors or other request-related errors.
- `404`: The transaction was not found. The resource was not found.

---

[API](https://skmtc.dev/finalpos/apis/final-pos-public-api.md) · [All operations](https://skmtc.dev/finalpos/apis/final-pos-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finalpos/apis/final-pos-public-api/revisions/6a6842dcb479?raw)
