---
title: "Fetch customer transactions"
method: GET
path: "/transactions"
---

# Fetch customer transactions

`GET /transactions`

## Request

- Base URL: `https://api.sandbox.cleeng.com/3.1`
- URL: `https://api.sandbox.cleeng.com/3.1/transactions`
- Auth: API key in header `X-Publisher-Token`

Use this endpoint to fetch the customer's transactions. Transactions are related to details about successfully executed payments. 

It returns details like transaction date, price breakpoints, payment method.

Use `transactionId` if you want to obtain a specific transaction.

## Query parameters

- `customerId` integer, required
- `limit` integer
- `offset` integer
- `transactionId` string

## Headers

- `X-Publisher-Token` string
- `Content-Type` string

## Response `200`

200

- object
  - `responseData` object
    - `items` object[]
      - `applicableTax` string
      - `appliedExchangeRateCustomer` string
      - `campaignId` string
      - `campaignName` string
      - `contentExternalId` string
      - `contentType` string
      - `couponCode` unknown
      - `customerCountry` string
      - `customerCurrency` string
      - `customerEmail` string
      - `customerId` string
      - `customerIpCountry` string
      - `customerLocale` string
      - `discountRate` string
      - `discountType` string
      - `discountValue` string
      - `discountedOfferPrice` string
      - `offerCurrency` string
      - `offerId` string
      - `offerPeriod` string
      - `offerPriceExclTax` string
      - `offerTitle` string
      - `offerType` string
      - `paymentMethod` string
      - `publisherId` string
      - `publisherSiteName` string
      - `referalUrl` string
      - `shortUrl` string
      - `taxRate` string
      - `transactionCurrency` string
      - `transactionDate` integer
      - `transactionExternalData` string
      - `transactionId` string
      - `transactionPriceExclTax` string
      - `transactionPriceInclTax` string
      - `targetType` string
      - `targetId` string
  - `errors` unknown[]
    - unknown

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/cleeng/apis/api-31.md) - [All operations](https://skmtc.dev/cleeng/apis/api-31/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/api-31/revisions/df55396cda4f?raw)
