Skip to main content
POST
/
v1
/
loans
/
{loan_id}
/
reject
Reject a loan
curl --request POST \
  --url https://api-dev.bsa.ai/v1/loans/{loan_id}/reject \
  --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.

Rejects a loan application. Use this when the underwriter declines the loan — distinct from Withdraw, which represents the applicant pulling their application. The rejection is terminal: a rejected loan cannot be revived.

Path parameters

loan_id
string
required

Request body

note
string
Optional rejection reason. Recorded on the loan.

Example

curl -sf -X POST "$BASE/v1/loans/501/reject" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"note": "Insufficient credit score"}'

Response

200 OK returns the loan object with status="Rejected".

Errors

CodeWhen
not_foundNo loan with that ID
abortedLoan is not in submitted state