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

# Delete a Payment

Deleting a Payment means canceling it before any funds
have been moved.

> [!WARNING]
>
> A Payment can be deleted only if its status is `pending`.

## Path Parameters

## Returns

Returns the successfully deleted Payment with its
status set to `canceled`.

```bash cURL theme={null}
curl https://production.methodfi.com/payments/pmt_VeCfmkwGKb \
  -X DELETE \
  -H "Method-Version: 2026-03-30" \
  -H "Authorization: Bearer sk_WyZEWVfTcH7GqmPzUPk65Vjc"
```

```javascript Node.js theme={null}
const payment = await method.payments.delete('pmt_VeCfmkwGKb');
```

```python Python theme={null}
payment = method.payments.delete('pmt_VeCfmkwGKb')
```

```json theme={null}
{
  "id": "pmt_VeCfmkwGKb",
  "source": "acc_hmap9mbgfLcf9",
  "destination": "acc_YXDrjADGjC76U",
  "amount": 5000,
  "description": "Loan Pmt",
  "status": "canceled",
  "estimated_completion_date": "2024-03-21",
  "source_trace_id": null,
  "source_settlement_date": "2024-03-15",
  "source_status": "canceled",
  "destination_trace_id": null,
  "destination_settlement_date": "2024-03-21",
  "destination_posted_date": null,
  "destination_status": "canceled",
  "reversal_id": null,
  "reversal_account": "acc_hmap9mbgfLcf9",
  "payment_instrument": null,
  "fee": null,
  "type": "standard",
  "error": null,
  "metadata": null,
  "created_at": "2024-03-14T16:15:26.074Z",
  "updated_at": "2024-03-14T16:15:26.074Z"
}
```


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