Save or update a fee discount.
POST /fees/discount/save
discountData (object) - The main discount data.discount_type (string) - The type of discount (e.g., "percentage", "fixed").discount_value (decimal) - The value of the discount.reason (string, optional) - The reason for the discount.curl -X POST https://your-domain.com/fees/discount/save \
-H "Content-Type: application/json" \
-d '{
"discountData": {
"discount_type": "percentage",
"discount_value": 15.00,
"reason": "Early payment discount"
}
}'
Delete a fee discount by its ID.
POST /fees/discount/delete
discount_id (int) - The ID of the fee discount to delete.curl -X POST https://your-domain.com/fees/discount/delete \
-H "Content-Type: application/json" \
-d '{
"discount_id": 1
}'
Retrieve a paginated list of fee discounts.
POST /fees/discount/list
offset (int) - The number of records to skip. Default is 0.limit (int) - The number of records to return. Default is 10.curl -X POST https://your-domain.com/fees/discount/list \
-H "Content-Type: application/json" \
-d '{
"offset": 0,
"limit": 10
}'
Retrieve details of a specific fee discount by its ID.
POST /fees/discount/get
discount_id (int) - The ID of the fee discount to retrieve.curl -X POST https://your-domain.com/fees/discount/get \
-H "Content-Type: application/json" \
-d '{
"discount_id": 1
}'