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

# DeletePaymentCommandRequestInput

> Deletes a payment. The payment status of the document it counted for can change; deleting a payout can make the document fully paid and start its workflows. A payment created from or matched with a payment transaction is no longer assigned to it, and the fees of that transaction on the sales order are removed with it. A voucher redemption is cancelled through the vouchers, a payout of a refund by deleting the refund. Errors: PAYMENT_NOT_FOUND (the payment was not found); PAYMENT_CANNOT_BE_DELETED (the payment cannot be deleted. The error lists the blocker codes: PAYMENT_IS_VOUCHER_REDEMPTION, PAYMENT_BOOKED_BY_REFUND). - Request



**Kind**: `input`

## Fields

**`paymentId`**: `ID!` (required)

The ID of the payment.

---

**`disableAutomaticWorkflows`**: `Boolean`

Whether to suppress the workflows this call would start because a sales order or a sales invoice becomes fully paid. Defaults to false when omitted.

