Customer Payments
POST
Create Customer Payment
Create a new customer payment with the provided information.
Required Permission:
Create Customer Payment
POST
/customer-payments
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 |
Response
200 OKStatus Code
HTTP status code (200)
Message
Customer payment created successfully
Data
Created customer payment object