Update Invoice Payment

PUT/api/invoice-payments/{id}

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
id Number Payment unique ID
amount number optional Optional Amount to update
payment_date string optional Optional Payment date to update
note string optional Optional Note to update
curl -X PUT "https://yoursite.com/api/invoice-payments/123" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "field": "value" }'

Success-Response:

HTTP/1.1 200 OK
{
  "status": 200,
  "messages": {"success": "Payment update success"}
}
MethodPUT
Path/api/invoice-payments/{id}
GroupInvoice Payments
Sincev1.0.0
Defined inRestApi/Controllers/InvoicePaymentsController.php