---
title: "Cancel a payout"
method: POST
path: "/declineThirdParty"
tags: ["Reviewing"]
---

# Cancel a payout

`POST /declineThirdParty`

> This endpoint is **deprecated** and no longer supports new integrations. Do one of the following:
>- If you are building a new integration, use the [Transfers API](https://docs.adyen.com/api-explorer/transfers/latest/overview) instead.
> - If you are already using the Payout API, reach out to your Adyen contact to learn how to migrate to the Transfers API.
>
> With the Transfers API, you can:
> - Handle multiple payout use cases with a single API.
> - Use new payout functionalities, such as instant payouts to bank accounts.
> - Receive webhooks with more details and defined transfer states.
>
> For more information about the payout features of the Transfers API, see our [Payouts](https://docs.adyen.com/payouts/payout-service) documentation.


Cancels a previously submitted payout.

To confirm and send a payout, use the `/confirmThirdParty` endpoint.

## Request body

- ModifyRequest
  - `additionalData` object — This field contains additional data, which may be required for a particular payout request.
  - `merchantAccount` string, required — The merchant account identifier, with which you want to process the transaction.
  - `originalReference` string, required — The PSP reference received in the `/submitThirdParty` response.

## Response `200`

OK - the request has succeeded.

- ModifyResponse
  - `additionalData` object — This field contains additional data, which may be returned in a particular response.
  - `pspReference` string, required — Adyen's 16-character string reference associated with the transaction. This value is globally unique; quote it when communicating with us about this response.
  - `response` string, required — The response: * In case of success, it is either `payout-confirm-received` or `payout-decline-received`. * In case of an error, an informational message is returned.

## Other responses

- `400` — Bad Request - a problem reading or understanding the request.
- `401` — Unauthorized - authentication required.
- `403` — Forbidden - insufficient permissions to process the request.
- `422` — Unprocessable Entity - a request validation error.
- `500` — Internal Server Error - the server could not process the request.

---

[API](https://skmtc.net/adyen/apis/payoutservice.md) · [All operations](https://skmtc.net/adyen/apis/payoutservice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/adyen/payoutservice/versions/a2c38f8801fa/schema)
