List transactions

Retrieves a list of successful transactions with pagination.

get/shopwired-payments/transactions

Request

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

Query parameters

countinteger

Number of records to retrieve (default: 50, max: 100).

offsetinteger

Number of records to skip.

sort'created' | 'created_asc' | 'created_desc'
Example:created_desc

Sorting order for the results.

fieldsstring

Comma-separated list of fields to include in the response.

Response

A list of transactions.

idstring

Unique identifier for the transaction.

createdAtstring date-time

Timestamp when the transaction was created.

amountinteger

Transaction amount in minor currency units (e.g. pence).

currencystring

Three-letter ISO currency code.

orderIdstring nullable

Associated order ID, if available.

Example response

[
  {
    "currency": "GBP"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.