Skip to main content
POST
/
v1
/
loans
/
{loan_id}
/
repayments
/
charge-off
Charge off
curl --request POST \
  --url https://api-dev.bsa.ai/v1/loans/{loan_id}/repayments/charge-off \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://docs.api.bsa.ai/llms.txt

Use this file to discover all available pages before exploring further.

Records a charge-off transaction. Charge-off is an accounting event that recognizes a non-performing loan as a loss while keeping the collection process alive — distinct from a full write-off, which closes the loan.

Path parameters

loan_id
string
required

Request body

See the common repayment body.

Example

curl -sf -X POST "$BASE/v1/loans/501/repayments/charge-off" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "transactionDate": "2027-01-01",
    "transactionAmount": 3500,
    "note": "180 days past due"
  }'

Response

200 OK returns the repayment object with type="Charge-off".

Errors

CodeWhen
not_foundNo loan with that ID
abortedLoan is not in a chargeable state