---
title: "List transactions"
method: GET
path: "/shopwired-payments/transactions"
---

# List transactions

`GET /shopwired-payments/transactions`

## Request

- Base URL: `https://api.ecommerceapi.uk/v1`
- URL: `https://api.ecommerceapi.uk/v1/shopwired-payments/transactions`
- Auth: HTTP basic

Retrieves a list of successful transactions with pagination.

## Query parameters

- `count` integer
- `offset` integer
- `sort` 'created' | 'created_asc' | 'created_desc'
- `fields` string

## Response `200`

A list of transactions.

- Transaction[]
  - `id` string: Unique identifier for the transaction.
  - `createdAt` string, date-time: Timestamp when the transaction was created.
  - `amount` integer: Transaction amount in minor currency units (e.g. pence).
  - `currency` string: Three-letter ISO currency code.
  - `orderId` string, nullable: Associated order ID, if available.

## Other responses

- `400`: Invalid request parameters.
- `401`: Unauthorized. Invalid or missing API key.
- `500`: Server error.

---

[API](https://skmtc.dev/ecommerceapi/apis/shopwired-payments-transactions.md) - [All operations](https://skmtc.dev/ecommerceapi/apis/shopwired-payments-transactions/llms.txt) - [OpenAPI document](https://skmtc.dev/ecommerceapi/apis/shopwired-payments-transactions/revisions/875ca2a950b6?raw)
