cURL
curl --request PUT \ --url https://lms.tausi.africa/v1/repayments/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "repayment_id": 123, "loan_id": 123, "amount": 123, "method": "<string>", "collection_date": "<string>", "collected_by": "<string>", "description": "<string>" } '
{ "item": { "repayment_id": 123, "loan_id": 123, "amount": 123, "collection_date": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "method": "<string>", "collected_by": "<string>", "description": "<string>" }, "success": true }
Updates an existing repayment’s details.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Repayment updated successfully.
Show child attributes
true