curl --request DELETE \
--url https://api.getenso.ai/invoices/{id}/payments/{paymentId}/files/{fileId} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "Success",
"data": {}
}Remove a file attachment from a payment record.
curl --request DELETE \
--url https://api.getenso.ai/invoices/{id}/payments/{paymentId}/files/{fileId} \
--header 'Authorization: Bearer <token>'{
"status": "success",
"message": "Success",
"data": {}
}JWT bearer token obtained from POST /auth/system-login using your client credentials.
Invoice ID
Payment ID
File ID