Service Charges
POST
Create Service Charge
Create a new service charge.
Required Permission:
Create Service Charge
POST
/service-charges
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, unique, max:255 | Service charge name |
| type | Integer | Required | integer, in: 1,2,3 | Service charge type |
| position | Integer | Optional | nullable, integer, min:0 | Service charge position |
| amount | Decimal | Optional | numeric, min:0 | Service charge amount |
| is_default | Integer | Optional | in:0,1 | Is default (default: 0) |
Response
200 OKStatus Code
HTTP status code (200)
Message
Service charge successfully created
Data
Created service charge details