Skip to main content
POST
/
v1
/
loans
/
{loan_id}
/
undo-approval
Undo approval
curl --request POST \
  --url https://api-dev.bsa.ai/v1/loans/{loan_id}/undo-approval \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "note": "<string>"
}
'

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.

Reverses a prior approval. The loan returns to submitted and pending approval so it can be modified and re-approved. Cannot be used after disbursement — use Undo disbursal first.

Path parameters

loan_id
string
required

Request body

note
string
Optional free-text note explaining the reversal.
The body is optional — POST with no body is valid.

Example

curl -sf -X POST "$BASE/v1/loans/501/undo-approval" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"note": "Compliance review pending"}'

Response

200 OK returns the loan object with status reset to submitted.

Errors

CodeWhen
not_foundNo loan with that ID
abortedLoan was never approved, or has already been disbursed