Discounts
If enabled in you Facility, you can request discounts for the Installments through the API using this endpoint:
POST /installments/{uuid}/discounts
{
"amount": 75.0,
"applied_date": "2025-08-11T16:35:00Z", // ISO Format
"reason": "Discouting the late penalty fees" // Specific reason for this discount
}
Rules:
- The amount being discounted cannot be less than the "principal" amount of the installment
- If the Loan's outstanding amount - the discounts sum cannot be less than the Loans's outstanding principal.
If you request don't pass in any rule, you'll receive and HTTP Response 400 - Bad Request with the reason.
Otherwise, the discount will be created and a HTTP Response 201 - Created will be returned.
Updated 23 days ago