Customer Payments
PATCH
Update Customer Payment
Update an existing customer payment's information.
Required Permission:
Edit Customer Payment
PATCH
/customer-payments/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| customer_id | Integer | Required | integer, required, exists:customers,id | ID of the customer (must be active) |
| fund_id | Integer | Required | integer, required, exists:funds,id | ID of the fund (must be active) |
| amount | Numeric | Required | numeric, required, min:0.01 | Payment amount (minimum: 0.01) |
| payment_reference | String | Optional | string, nullable, max:255 | Payment reference number |
| note | String | Optional | string, nullable, max:255 | Additional notes |
| status | Boolean | Optional | boolean | Payment status (true/false) |
Response
200 OKStatus Code
HTTP status code (200)
Message
Customer payment updated successfully
Data
Updated customer payment object