Skip to main content

Delete payment


Delete a payment record from an invoice.

Endpoint

PropertyValue
URLDELETE /invoice/payment/delete-payment/{{invoiceId}}?paymentId={{paymentId}}
MethodDELETE
AuthR-Auth: <company-jwt>

Example Request

curl --location '{{baseUrl}}/invoice/payment/delete-payment/{{invoiceId}}?paymentId={{paymentId}}' \
--header 'R-Auth: {{companyJwt}}' \
--request DELETE

Path parameters

ParameterTypeRequiredDescription
invoiceIdUUIDYesInvoice ID from Search documents

Query parameters

ParameterTypeRequiredDescription
paymentIdUUIDYesPayment ID from List payments

Response

Returns the updated payment summary after deletion — same shape as Get payment details.