Grant or correct the credit of a family
POST/api/admin/families/:id/credits
Body: {amount (signed, non-zero, max 2 decimals), description (mandatory, Italian free text shown to the recipient in their credit history)}. A negative amount that would bring the balance below zero is refused with 400.
Request
Responses
- 200
- 400
- 404
{status: ok, transaction: CreditTransaction, balance: number}
Validation error, or the correction exceeds the balance
Family not found