---
title: "Search & list actions"
method: GET
path: "/merchant/actions"
tags: ["Actions"]
---

# Search & list actions

`GET /merchant/actions`

Fetch a list of merchant workflows actions for the given query parameters.

## Query parameters

- `filter[workflowExecutionId]` string
- `filter[workflowCode]` string
- `filter[workspaceId]` string
- `filter[type]` 'authorize' | 'capture' | 'cancel' | 'confirm' | 'crateInstrument' | 'fraudScore' | 'fraudUpdate' | 'lookup' | 'payout' | 'refund' | 'startPaymentSession' — Value of Action Types enumeration.
- `filter[status]` 'created' | 'failed' | 'success' — Value of Action Status enumeration.
- `filter[errorCode]` string
- `page[after]` string — Cursor for paging results.
- `page[before]` string — Cursor for paging results.
- `page[size]` integer

## Response `200`

Success.

- object
  - `links` object, required
    - `self` string, required
    - `prev` string
    - `next` string
    - `first` string
    - `last` string
  - `results` object[], required
    - `id` string, uuid — Unique identifier of the Action.
    - `workflowExecutionId` string, required — Unique identifier of the Workflow Execution that this action belongs to.
    - `workflowCode` string, required — Workflow code.
    - `workspaceId` string, uuid, required — Unique identifier of the Workspace that this action belongs to.
    - `type` 'authorize' | 'capture' | 'cancel' | 'confirm' | 'crateInstrument' | 'fraudScore' | 'fraudUpdate' | 'lookup' | 'payout' | 'refund' | 'startPaymentSession', required — Value of Action Types enumeration.
    - `status` 'created' | 'failed' | 'success', required — Value of Action Status enumeration.
    - `createdAt` string, date-time — Date of creation of the Action.
    - `updatedAt` string, date-time — Last update of the Action.
    - `errorCode` string — Error code of last failed execution event.

## 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/revisions/9dd2f0158582/schema)
