Skip to main content
Version: 1.0.0

Delete payment


Delete a payment record from an invoice.

Endpoint​

PropertyValue
URLDELETE /invoice/payment/delete-payment/{{invoiceId}}?paymentId={{paymentId}}
MethodDELETE
AuthR-Auth: <company-jwt>
Base URLStage Environment https://api-fr-stage.docnova.ai/
Production Environment https://api-fr.docnova.ai/

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.