---
title: "Exchange:Info"
method: GET
path: "/exchanges/info/{code}"
tags: ["Exchanges"]
---

# Exchange:Info

`GET /exchanges/info/{code}`

Get detailed information regarding a specific exchange call, including the request and response body

## Path parameters

- `code` string, required

## Response `200`

Payment state log details retrieved successfully

- object
  - `code` string, required — Unique identifier for this payment state log entry
  - `transactionCode` string, nullable — The associated transaction code (if available)
  - `orderId` string, nullable — The merchant's order identifier
  - `status` 'OK' | 'NOK', required — Whether the webhook call was successful (OK) or failed (NOK)
  - `action` string, required — The type of notification/action that triggered this webhook call
  - `url` string, required — The merchant's webhook URL that was called
  - `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', required — The HTTP method used for the webhook call
  - `exchangeMethod` 'TXT-GET' | 'TXT-POST' | 'XML-POST' | 'JSON-POST' | 'SIGNED-JSON' | 'ENCRYPTED', required — The data format/encoding method used for the exchange
  - `responseCode` integer, required — HTTP response status code returned by the merchant's endpoint
  - `paymentMethod` object, nullable — Payment method details (if available)
    - `id` integer — Payment method identifier
    - `name` string — Payment method name
  - `amount` integer, nullable — Transaction amount in cents
  - `requestBody` union, required — The request body that was sent to the merchant's endpoint. When possible this is returned unserialized; otherwise the raw string is returned.
    - object
    - string
  - `responseBody` string, required — The raw response body received from the merchant's endpoint
  - `service` object, nullable — The service (sales location) associated with this log entry
    - `code` string — Service identifier
    - `name` string — Service name

## Other responses

- `401` — Unauthorized. Supplied credentials are invalid
- `403` — Forbidden. Supplied credentials have no rights
- `404` — Resource not found
- `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)
