---
title: "Cancel pay run"
method: POST
path: "/organisations/{organisationId}/pay-runs/{payRunId}/cancel"
tags: ["Organisations", "Pay Runs"]
---

# Cancel pay run

`POST /organisations/{organisationId}/pay-runs/{payRunId}/cancel`

Cancels a pay run which has not yet been started. A pay run may only be cancelled if the following conditions are met:

*   The pay run exists within the system
*   The pay run is in a state that is valid for cancellation

We are unable to cancel pay runs which have been processed or are in progress. See the [Statuses documentation](https://crezco.readme.io/reference/statuses) for details on which statuses are valid for cancellation.

## Path parameters

- `organisationId` string, uuid, required
- `payRunId` string, uuid, required

## Headers

- `Crezco-Version` string

## Response `200`

OK

- CancelPayRunResourceRepresentationVersion3 — Response returned by the Cancel Pay Run endpoint on success
  - `status` string, required — <p> Current status of this pay run. See the <a href="https://crezco.readme.io/reference/statuses">Statuses reference</a> in our documentation for a full description of all possible statuses. </p>

## Other responses

- `401` — You do not have access. Check your API key is correct.
- `403` — You do not have access to this organisation.
- `404` — Not Found
- `406` — The version of the API that you requested is not available. Check your Crezco-Version header. If you omit this header you will use the latest version of the API.
- `409` — Conflict
- `429` — You have made too many requests to the API in too short a period. Wait a while and try again.

---

[API](https://skmtc.net/crezco/apis/payables-api.md) · [All operations](https://skmtc.net/crezco/apis/payables-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crezco/payables-api/revisions/4427e79fba09/schema)
