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

JSON

    

Request Parameters

Parameter Type Required Validation Description
customer_idIntegerRequiredinteger, required, exists:customers,idID of the customer (must be active)
fund_idIntegerRequiredinteger, required, exists:funds,idID of the fund (must be active)
amountNumericRequirednumeric, required, min:0.01Payment amount (minimum: 0.01)
payment_referenceStringOptionalstring, nullable, max:255Payment reference number
noteStringOptionalstring, nullable, max:255Additional notes

Response

200 OK
Status Code
HTTP status code (200)
Message
Customer payment created successfully
Data
Created customer payment object