---
title: "Cancel a cashout"
method: DELETE
path: "/cashout/cancel"
tags: ["Cashout"]
---

# Cancel a cashout

`DELETE /cashout/cancel`

This API allows you to cancel a cashout request. Only for cashouts in PENDING state.

## Headers

- `Content-Type` string, required
- `Payload-Signature` string, required

## Request body

- object
  - `login` string, required — Your D24 CASHOUTS API login key.
  - `pass` string, required — Your D24 CASHOUTS API pass key.
  - `cashout_id` integer, required — The ID of the cashout to cancel. It is the one generated by D24 when the cashout was created.
  - `external_id` string, required — The external ID of the cashout to cancel. It is the one you sent when generating the cashout.

## Response `200`

Cashout cancelled successfully

- object
  - `cashout_status` integer — New status code of the cashout.
  - `cashout_status_description` string — Description of the new status of the cashout.

## Other responses

- `412` — Error while cancelling the cashout. It can be cancelled only if its status is Pending. (Also used for "Cashout not found" or other "Invalid status transition" errors as per PDF examples)

---

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