Add Invoice Payment

POST/api/invoice-payments

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
invoice_id number Mandatory Invoice ID
amount number Mandatory Payment amount
payment_date string Mandatory Payment date (Y-m-d)
payment_method_id number optional Optional Payment method ID
note string optional Optional Payment note
created_by number optional Optional RISE user ID. Default: 1. Use for proper attribution.
curl -X POST "https://yoursite.com/api/invoice-payments" \
  -H "authtoken: YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "invoice_id": "...", "amount": "...", "payment_date": "..." }'

Success-Response:

HTTP/1.1 201 Created
{
  "status": 200,
  "messages": {"success": "Payment add success"},
  "id": 1
}
MethodPOST
Path/api/invoice-payments
GroupInvoice Payments
Sincev1.0.0
Defined inRestApi/Controllers/InvoicePaymentsController.php