---
api: 'Open Banking API'
---

# Delete a draft payment

Delete a specific draft payment with the given draft payment ID.
A draft payment can be deleted only if the user hasn't taken any action upon it, for example, approved or executed the draft payment.

See also [Tutorials: Work with draft payments](/docs/guides/build-banking-apps/tutorials/work-with-draft-payments) and [Tutorials: Create your first draft payment](/docs/guides/build-banking-apps/tutorials/create-your-first-draft-payment).

## Endpoint

DELETE `/draft-payments/{DraftPaymentId}`

## Parameters

### path parameters

- `DraftPaymentId` (string, required)
  The ID of the draft payment.

## Returns

### 204

No content

## Error responses

| HTTP status code | Description |
| --- | --- |
| 400 | Bad Request |
| 403 | Forbidden |
| 404 | Not Found |
| 422 | Unprocessable Entity |
