---
title: "Exchanges:Browse"
method: GET
path: "/exchanges"
tags: ["Exchanges"]
---

# Exchanges:Browse

`GET /exchanges`

Get an overview of all your exchanges. If you do not supply a timerange you will receive the response -7 days until today.

## Query parameters

- `code` object
  - `eq` string — Equals
  - `neq` string — Not equals
- `orderId` object
  - `eq` string — Exact match
  - `neq` string — Not equals
  - `in` string[] — Match any of these order IDs
  - `nin` string[] — Exclude these order IDs
- `status` object
  - `eq` integer — Equals (1 = OK, 0 = NOK)
  - `neq` integer — Not equals (1 = OK, 0 = NOK)
- `action` object
  - `eq` string — Equals
  - `neq` string — Not equals
  - `like` string — Contains
  - `nlike` string — Does not contain
- `responseCode` object
  - `eq` integer — Equals
  - `neq` integer — Not equals
  - `in` string — In list (comma-separated)
  - `nin` string — Not in list (comma-separated)
- `url` object
  - `eq` string — Equals
  - `neq` string — Not equals
  - `in` string — In list (comma-separated)
  - `nin` string — Not in list (comma-separated)
- `dateStart` string, date
- `dateEnd` string, date

## Response `200`

Payment state logs retrieved successfully

- object
  - `total` integer — Total number of payment state log entries matching the filters
  - `count` integer — Number of entries in the current page
  - `pages` integer — Total number of pages
  - `exchanges` object[]
    - `code` string — Unique identifier for the payment state log entry
    - `transactionCode` string, nullable — The associated transaction code
    - `orderId` string, nullable — The merchant's order identifier
    - `status` 'OK' | 'NOK' — Whether the webhook call was successful
    - `action` string — The type of notification/action
    - `url` string — The merchant's webhook URL
    - `timeOfCall` string, date-time, nullable — Timestamp when the webhook call was made (ISO 8601 format)
    - `responseTime` integer, nullable — Total response time in milliseconds
    - `httpMethod` 'GET' | 'POST' — The HTTP method used
    - `exchangeMethod` 'TXT-GET' | 'TXT-POST' | 'XML-POST' | 'JSON-POST' | 'SIGNED-JSON' | 'ENCRYPTED' — The data format used
    - `responseCode` integer — HTTP response status code
    - `paymentMethod` object, nullable — Payment method details
      - `id` integer
      - `name` string
    - `amount` integer, nullable — Transaction amount in cents
    - `service` object, nullable — Service details
      - `code` string
      - `name` string

## Other responses

- `400` — Bad request, see response body for more information
- `401` — Unauthorized. Supplied credentials are invalid
- `403` — Forbidden. Supplied credentials have no rights
- `405` — Used HTTP method is not allowed
- `406` — Not acceptable. The supplied content type in the accept parameter in the header is not supported
- `429` — Rate limit reached.
- `500` — An internal error occurred

---

[API](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api.md) · [All operations](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pay/pay-transaction-gateway-unit-api/revisions/2bc260c7bdfc/schema)
