cURL
curl --request POST \ --url https://demoapi.saasphereltd.com/api/v1/loans/liquidate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "loan_id": 123 }'
{ "status": "00", "message": "Loan liquidated successfully.", "data": {} }
Paste only the token (no "Bearer " prefix).
The loan ID to liquidate.
123
"00"
"Loan liquidated successfully."