Public Tools
Calculate a security-deposit restitution
Computes the legal deposit cap, restitution deadline, allowed retentions and any late penalty (Art. 22 Loi 89-462). Returns JSON.
Public, unauthenticated tool.
Example
curl -X POST https://api.faireplace.com/api/public/tools/depot-garantie/calculate \
-H "Content-Type: application/json" \
-d '{
"lease_type": "vide",
"monthly_rent_hc": 750.00,
"deposit_amount": 750.00,
"lease_end_date": "2026-03-31",
"exit_inspection_conformity": true
}'
post/public/tools/depot-garantie/calculate
Request
- Base URL: https://api.faireplace.com/api
- URL: https://api.faireplace.com/api/public/tools/depot-garantie/calculate
- Auth: none required
Request body
Example request
{
"lease_type": "vide",
"monthly_rent_hc": 750,
"deposit_amount": 750,
"lease_end_date": "2026-03-31",
"exit_inspection_conformity": true
}Response
Restitution computed.
Example response
{
"lease_type": "vide",
"monthly_rent_hc": 750,
"deposit_amount": 750,
"legal_deposit_cap": 750,
"exit_inspection_conformity": true,
"restitution_deadline_months": 1,
"restitution_due_date": "2026-04-30",
"max_charge_retention": 150,
"amount_before_penalty": 750,
"net_to_return_to_tenant": 750,
"legal_basis": "Art. 22 Loi n° 89-462 du 6 juillet 1989",
"warnings": []
}Changes
No recorded changes to this operation across all 1 revision of this API.