> ## Documentation Index
> Fetch the complete documentation index at: https://developer.kiotapay.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel Single Allocation Api

> Cancels a single Allocation done. It checks if there exist enough funds for this action

## Endpoint

GET /api/sandbox/v1/allocations/single/cancel

### Base URL

`https://api.kiotapay.co`

## Query Parameters

| Parameter      | Type     | Description                                           | Required |
| :------------- | :------- | :---------------------------------------------------- | :------- |
| `allocationId` | `string` | The ID of the allocation that needs to be cancelled . | ✅        |

## **Request Headers**

| Key             | Value                 | Required | Description                                                        |
| :-------------- | :-------------------- | :------- | :----------------------------------------------------------------- |
| `Content-Type`  | `application/json`    | ✅        | Specifies that the request body is in JSON format.                 |
| `Authorization` | `Bearer <your-token>` | ✅        | API authentication token. Replace `<your-token>` with a valid JWT. |

##

**Sample Response Body**

```json theme={null}
{
    "status": 200,
    "message": "SUCCESS",
    "data": "Allocation cancelled successfully"
}
```
