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
DeletePaymentCommandRequestInputFields
The ID of the payment.
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.
Was this page helpful?