POST
/
api
/
v1
/
loans
/
settle
Settle a loan repayment.
curl --request POST \
  --url https://demoapi.saasphereltd.com/api/v1/loans/settle \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repayment_id": 456
}
'
{
  "status": "00",
  "message": "Loan settled successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Paste only the token (no "Bearer " prefix).

Body

application/json
repayment_id
integer
required

The repayment schedule ID to settle.

Example:

456

Response

200 - application/json
status
string
Example:

"00"

message
string
Example:

"Loan settled successfully"

data
object