---
title: "Get Payment Operation Logs by Payment Operation ID"
method: GET
path: "/payment/payments/{paymentId}/operations/{paymentOperationId}/logs"
tags: ["Payments"]
---

# Get Payment Operation Logs by Payment Operation ID

`GET /payment/payments/{paymentId}/operations/{paymentOperationId}/logs`

Find payment operation logs from a given `operationID`.

## Path parameters

- `paymentId` string, uuid, required
- `paymentOperationId` string, uuid, required

## Response `200`

Success.

- object
  - `results` object[]
    - `id` string, uuid — Unique identifier of the Payment Operation Log in Payrails.
    - `createdAt` string, date-time — Exact date and time when the Payment Operation Log was created in Payrails. Possibly differs slightly from the date in the PSP.
    - `operationId` string, uuid — Unique identifier of the Payment Operation that this Log belongs to in Payrails.
    - `input` string — Original request object sent to the Provider.
    - `output` string — Original response object received from the Provider.
    - `workspaceId` string, uuid — Workspace ID that the workflow configuration belongs to.

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Insufficient Scope.
- `404` — Not Found.
- `429` — Too Many Requests.

---

[API](https://skmtc.net/payrails/apis/payrails-api-reference.md) · [All operations](https://skmtc.net/payrails/apis/payrails-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payrails/payrails-api-reference/versions/9dd2f0158582/schema)
