Corgi BankDocumentation
OpenAPI

Decide a loan in review

POST/loans/{id}/decide

Decide a loan in review: an independent credit officer approves or declines it. decision is approve or decline; the actor is the verified credit officer, and the decision records them as decided_by. reasons are the principal reasons that officer states. A decline is an adverse action, which Reg B (12 CFR 1002.9(b)(2)) requires to state its principal specific reasons, so a decline carrying none is refused 400 validation_failed on reasons; at most 10 reasons, each at most 300 characters, and blank ones are dropped. The automated triggers that sent the file to review stay apart as review_reasons.

Path parameters

idstringRequired

Headers

Idempotency-KeystringOptional

Send on every write that creates or changes money or state; a replay with the same key returns the original result with 200.

Body parameters

actorstringOptional
decisionstringRequired
reasonsarray of stringsOptional

The principal reasons; a decline needs at least one

Returns

200 OK

The Loan object.

Errors

Every error is a problem document with a stable code. See Errors.

400401403404409412413422424429500503

to move to open esc to close