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

# Cancel Schedule

> Cancel a schedule

## Path Parameters

**id** `integer` *required*

The ID of the schedule to cancel.

## Response

**id** `integer`

Schedule ID

**merchant\_id** `integer`

Merchant ID

**authorization** `object`

Authorization

**authorization properties**

**id** `integer`

Authorization ID

**name** `string`

Authorization Name

**amount** `number`

Amount

**due\_date** `string`

Due Date

**settlement\_date** `string or null`

Settlement Date

**status** `object`

Status

**status properties**

**id** `integer`

Status ID

**name** `string`

Status Name

**history** `array or null`

History

**history items**

**id** `integer`

History ID

**schedule\_id** `integer`

Schedule ID

**status\_id** `integer`

Status ID

**status\_name** `string`

Status Name

**created\_at** `string`

Date

**tx\_id** `string or null`

Transaction ID

**attempts** `array`

Attempts

**attempt items**

**id** `integer`

Attempt ID

**status** `string`

Status

**end\_to\_end\_id** `string`

End To End ID

**attempt\_date** `string`

Date

**created\_at** `string`

Creation Date

**buyer** `object`

Buyer

**buyer properties**

**id** `integer`

Buyer ID

**name** `string`

Buyer Name

**document** `string`

Buyer Document

```json 200 theme={null}
{
  "id": 1,
  "merchant_id": 1,
  "authorization": {
    "id": 1,
    "name": "Authorization Name"
  },
  "amount": 100.00,
  "due_date": "2023-01-01",
  "settlement_date": null,
  "status": {
    "id": 2,
    "name": "CANCELED"
  },
  "history": [
    {
      "id": 1,
      "schedule_id": 1,
      "status_id": 1,
      "status_name": "PENDING",
      "created_at": "2023-01-01T00:00:00Z"
    },
    {
      "id": 2,
      "schedule_id": 1,
      "status_id": 2,
      "status_name": "CANCELED",
      "created_at": "2023-01-02T00:00:00Z"
    }
  ],
  "tx_id": null,
  "attempts": [],
  "created_at": "2023-01-01T00:00:00Z",
  "buyer": {
    "id": 1,
    "name": "Buyer Name",
    "document": "12345678900"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.